Comments (2)
This is also the reason why the plot
function with anomaly_tag="span"
(the default value) produces AttributeError: 'Series' object has no attribute 'iteritems'
(because: anomaly=anomalies : pd.Series
).
For example, the plot
line here would now produce an error: https://adtk.readthedocs.io/en/stable/notebooks/demo.html#PersistAD
s = pd.read_csv('./data/price_short.csv', index_col="Time", parse_dates=True, squeeze=True)
s = validate_series(s)
from adtk.detector import PersistAD
persist_ad = PersistAD(c=3.0, side='positive')
anomalies = persist_ad.fit_detect(s)
plot(s, anomaly=anomalies, ts_linewidth=1, ts_markersize=3, anomaly_color='red');
from adtk.
This is also the reason why the
plot
function withanomaly_tag="span"
(the default value) producesAttributeError: 'Series' object has no attribute 'iteritems'
(because:
anomaly=anomalies : pd.Series
).For example, the
plot
line here would now produce an error: https://adtk.readthedocs.io/en/stable/notebooks/demo.html#PersistAD
How do I fix this issue, the error is indicating in _plot_anomaly function in _visualization.py
from adtk.
Related Issues (20)
- It looks like I found a bug in the `__doc__` of the class `DoubleRollingAggregate` in the module `Transformers`
- Where can I find information on how the detector algorithms are developed?
- [Question]:What is the output type of `anomalies` when I use Outlierdetector? HOT 2
- return anomaly scores
- Retrieve informations Pipeline [QUESTION]
- flowchart has problem HOT 1
- Identify no change in time series HOT 1
- Quantile AD and Threshold based AD criteria HOT 1
- How to plot more than one line with anomalies in one graph?
- PcaAD Returning Different Results for Same Inputs
- data stream
- ADKT FutureWarning HOT 1
- RuntimeError: Series does not follow any known frequency (e.g. second, minute, hour, day, week, month, year, etc. HOT 1
- dataframe can not plot HOT 3
- I encountered a strange error when using adtk's plot method: ValueError: Multi-dimensional indexing (e.g. obj[:, None]) is no longer supported. Convert to a numpy array before indexing instead HOT 1
- In the file of [https://github.com/arundo/adtk/blob/v0.6.2/tests/test_visualization.ipynb](https://github.com/arundo/adtk/blob/v0.6.2/tests/test_visualization.ipynb), The example does not use df, does it mean it does not support df?
- 'seaborn-whitegrid' is not a valid package style HOT 6
- Monthly Data (Freq = 720) = 30 days, but which month has 30 days.
- Is this project dead?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adtk.