Evgeny Smyshlyaev
c8f4340f7c
Error: skip detection: data length less than window_size ( #723 )
...
* fix
* fix
* fix
* Update server/src/controllers/analytics_controller.ts
* fix
* fix
* fix according review
* Update server/spec/analytic_controller.jest.ts
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
* fix
* Update analytics/analytics/detectors/pattern_detector.py
Co-Authored-By: Alexey Velikiy <av@corpglory.com>
6 years ago
Evgeny Smyshlyaev
0363558b91
fix ( #737 )
6 years ago
amper43
7a9a9f1a96
fix
6 years ago
rozetko
96db3bdef8
Error: too many values to unpack #721 ( #725 )
6 years ago
Evgeny Smyshlyaev
070f593b7c
Error: Can't find interval length of data #688 ( #689 )
6 years ago
Evgeny Smyshlyaev
801f5b1c57
Change mutable default values to none #638 ( #682 )
...
* add types, remove mutables from defaults
* fix debug logging
6 years ago
Evgeny Smyshlyaev
0fa4268d57
Anomaly detector webhooks fix ( #670 )
6 years ago
Alexandr Velikiy
6b398d6ee9
Segment class #636 ( #637 )
6 years ago
Evgeny Smyshlyaev
d1cb6f0406
Make class for detection result ( #634 )
6 years ago
Alexandr Velikiy
74d45bf4f4
Segment intersection in anomaly detector #615 ( #616 )
6 years ago
Alexey Velikiy
dee1edc966
Analytic types upgrade ( #600 )
...
* move DataBucket from __init__
* python3 fixes for DataBucket & rm class field
6 years ago
Alexandr Velikiy
20d1a974bb
Use ModelState classes in models #582 ( #586 )
6 years ago
Alexey Velikiy
194a8b9de6
Analytic types ( #573 )
6 years ago
Evgeny Smyshlyaev
fb2f350e95
Dataframe for detection less than two window size ( #532 )
...
2*WINDOW_SIZE checks
6 years ago
Evgeny Smyshlyaev
21f39f2a60
Send data to detection in chunks #489 ( #503 )
...
* Add `get_data_chunks` generator to `utils/dataframe.py`
* Add chunks generator usage to `analytic_worker.py`
* Add tests to `tests/test_detector_chunks.py`
* Minor fixes (constants, etc)
6 years ago
amper43
a1957005df
Revert "fix"
...
This reverts commit c0a0ee5f12
.
6 years ago
amper43
c0a0ee5f12
fix
6 years ago
Evgeny Smyshlyaev
d1f8b80c9e
Send data to detection in chunks #489 ( #496 )
6 years ago
Alexandr Velikiy
e0cc56d425
Not-ending learning #264 ( #484 )
...
- optimize general model
- add logs
6 years ago
Alexandr Velikiy
4c2efac97e
Keyerror pattern model #471 ( #476 )
6 years ago
Evgeny Smyshlyaev
86c4433b65
Analytic bucket size #446 ( #451 )
6 years ago
rozetko
aa943595fc
Wrong time in threshold segments #403 ( #405 )
...
* Add convert_pd_timestamp_to_ms function to utils
* Use datapoint time in segment if it is available
6 years ago
Evgeny Smyshlyaev
13937e537e
Fix wait for full bucket ( #402 )
...
Fix wait for full bucket for pattern detector (#402 )
6 years ago
Evgeny Smyshlyaev
7731007b69
Segments from data puller not in db #350 ( #351 )
...
* improve logging
* set constant window size
* fix
* improve logging, save detected segments from push\pull process
* fix
* fix
* fix according review
* save segemnts, improve bucket managing in analytics
6 years ago
Evgeny Smyshlyaev
6bf1114b7b
Detection return empty result #347 ( #348 )
...
* set constant window size
* improve logging, save detected segments from push\pull process
6 years ago
Coin de Gamma
d49e818796
ModelCache
6 years ago
Coin de Gamma
d0616844b9
Update pattern_detector.py
6 years ago
rozetko
8314555a50
Convert lastDetectionTime from ns to ms ( #305 )
6 years ago
rozetko
77fbde6fa3
Error: detect missing cache #299 ( #302 )
...
* Pass cache to detect
* rename AnalyticUnitCache to ModelCache
* Send .data from cache
* Drop nans from bucket && set window size from cache && check cache None
* Read proper payload on DETECT message
6 years ago
Evgeny Smyshlyaev
ec3a3a093a
Analytic unit worker bucket #273 ( #297 )
6 years ago
Evgeny Smyshlyaev
c02be4cbfc
Rename predict to detect #279 ( #284 )
...
* dummy rename
* fixes
* renaming in analytics
6 years ago
Alexey Velikiy
7ec2616cb4
Workers for analyticunits #203 ( #265 )
...
* rm async from analytic_unit_worker + some refactorings in maager
* AnalyticUnitManager
* workers for analytic units
6 years ago
Alexey Velikiy
005097dde0
Analytics project structure improvement #215 ( #228 )
...
* bin & analytics folders
* sys path & config relocation
* fix analytics path in node
7 years ago
rozetko
d0a0400fb6
Reverse peak -> trough
7 years ago
rozetko
942c4ca112
general predictor -> general model ( #130 )
7 years ago
rozetko
c2c3925979
Make all models work && add reverse peak model ( #124 )
...
- Subtract min value from dataset before passing to model
- Rename StepModel -> DropModel
- Use cache to save state in all models
- Return `Segment { 'from': <timestamp>, 'to': <timestamp>}` instead of `Segment { 'from': <index>, 'to': <index>}` in all models
- Integrate new peaks model (from https://github.com/hastic/hastic-server/pull/123 )
- Integrate new reverse-peaks model (from https://github.com/hastic/hastic-server/pull/123 )
- Refactor: make `predict` method in `Model` not abstract and remove it from all children
- Refactor: add abstract `do_predict` method to models
7 years ago
rozetko
592588e12b
Hotfix: return cache from pattern_detector.train
7 years ago
rozetko
9b3a68d4cd
Make drops work ( #121 )
7 years ago
Alexey Velikiy
955f2821e3
Analytic unit cache start #117 ( #120 )
7 years ago
rozetko
e884015587
Fix prediction ( #118 )
7 years ago
Coin de Gamma
f4376ccf29
analytics clearup
7 years ago
rozetko
6420f16c3d
Fix learning ( #116 )
7 years ago
Coin de Gamma
0902209234
One panel - one worker #62
7 years ago
Coin de Gamma
7c559046c1
grafana influx quering
7 years ago
rozetko
60f1306ed5
hotfix: make server.py run
7 years ago
Coin de Gamma
bd4f9e0172
remove all fs-releated and grafana logic. Use analytics_service / data_service instead
7 years ago
Alexey Velikiy
6aa8158711
rm ANALYTIC_UNITS_FOLDER usage ( #108 )
7 years ago
rozetko
f79a2d9ff1
Make models sync
7 years ago
Alexey Velikiy
1c473d129d
upperase literals + server start bugfix
7 years ago
rozetko
2fa7862f57
Add custom model
7 years ago