Alexandr Velikiy
7ab0db6ba9
Update state during learning #406 ( #408 )
6 years ago
Alexandr Velikiy
6d5ec2b6fe
Webhooks don't find any patterns #401 ( #404 )
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
Coin de Gamma
8eb25f599f
fx indent in .vscode/launch.json
6 years ago
rozetko
d9b2e95d91
Can't see analytics' stderr in docker logs #399 ( #400 )
6 years ago
Alexandr Velikiy
775c663de5
KeyError 45058 #389 ( #397 )
...
* fix general
* test
* minor fix
* fix test
* minor fix
6 years ago
Alexandr Velikiy
7c52f4966d
Error: max() arg is an empty sequence #352 ( #394 )
...
fix Error: max() arg is an empty sequence #352
6 years ago
rozetko
390fa4c037
No data threshold #370 ( #396 )
...
"No data" threshold support
6 years ago
Evgeny Smyshlyaev
08513b8155
Missing segments in result #392 ( #393 )
6 years ago
Alexandr Velikiy
963eaa6276
Remove duplicate code from models #390 ( #391 )
...
just refactoring
6 years ago
Alexandr Velikiy
6e7073b212
Increase the number of parameters obtained during learning #364 ( #383 )
...
Increase the number of parameters obtained during learning #364
6 years ago
Evgeny Smyshlyaev
3c0d87e0cc
Nonetype object has no attribute update #375 ( #374 )
6 years ago
Evgeny Smyshlyaev
fc0935c0cb
Threshold value is not saving #368 ( #369 )
...
fix threshold model
6 years ago
Evgeny Smyshlyaev
d399d0b84a
Remove duplicates from models #357 ( #363 )
...
refactoring
6 years ago
rozetko
5ccb2c3fed
Analytics building script #229 ( #358 )
6 years ago
Alexandr Velikiy
99c9431f5d
IndexError: list index out of range if segment has NaN #242 ( #349 )
...
add threshold in model
6 years ago
rozetko
8d98007fec
Log all analytics errors #353 ( #356 )
...
* Return error when analytics is not ready
* Log handle_analytic_task exception
* Return error on detection failure
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
Evgeny Smyshlyaev
54137d5f14
improve logging ( #344 )
...
improve analytic's logging about incoming task, logging on server side about incoming detection results
6 years ago
rozetko
9b6f5482bc
Fix webhooks ( #341 )
6 years ago
Alexandr Velikiy
5ab3ff64dd
Move data cropping to the models #335 ( #336 )
6 years ago
Alexandr Velikiy
1e88ead80a
Convert None to NaN before sending data to model #333 ( #334 )
6 years ago
Alexandr Velikiy
b1428c735f
Error: '<' not supported between instances of 'NoneType' and 'NoneType' #323 ( #332 )
6 years ago
rozetko
d300362b49
Fix threshold detector ( #331 )
6 years ago
rozetko
68f47f78f7
Threshold detector #324 ( #330 )
6 years ago
Alexandr Velikiy
cbbc8c6cdd
Error: ValueError - dataset input should have multiple elements #325 ( #327 )
6 years ago
Alexandr Velikiy
5edc0b1977
Error name parse segment is not defined #315 ( #322 )
...
Fixed: Error name parse segment is not defined #315
6 years ago
Alexandr Velikiy
acc5ea1a80
Analytics testing #210 ( #319 )
...
fixes basic python tests
6 years ago
Alexandr Velikiy
0689fe6384
WIP:Clean up utils #282 ( #293 )
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
Alexandr Velikiy
6641a5e52c
The center of drop and jump patterns is shifted from real value #291 ( #292 )
...
* fix centers in jumps and drops
* coeff
* add simple docstring
* fix utils
* fix spaces
* fix names
6 years ago
Evgeny Smyshlyaev
d4f6783652
Pull / push data from Grafana to analytics #267 ( #290 )
...
* add data puller
* Do not send response on PUSH event
* Stub analytics PUSH message handling
6 years ago
Alexandr Velikiy
3cad93ca62
Add some sort of verification of incoming and outgoing data in analytics #227 ( #281 )
...
* fix find_confidence
* fix get_interval
* fix subtract_min_without_nan
* fix substract and get_convolve
6 years ago
Evgeny Smyshlyaev
c02be4cbfc
Rename predict to detect #279 ( #284 )
...
* dummy rename
* fixes
* renaming in analytics
6 years ago
Alexey Velikiy
4f4b25d9a3
Analytic unit predict event #277 ( #280 )
6 years ago
Alexandr Velikiy
bddfc1b783
Add unit tests for methods in utils #271 ( #274 )
6 years ago
Coin de Gamma
be85742dee
fx typo in detector.py
6 years ago
Coin de Gamma
b65f1a552c
trim trailing whitespaces
6 years ago
Coin de Gamma
20133afaf5
fx settings.json in analytics to see test/__init__
6 years ago
Alexey Velikiy
006bc24b47
python.unitTest to analytics/.vscode/settings.json ( #276 )
6 years ago
Alexandr Velikiy
d389cf3adb
Move repeating code from models to utils #270 ( #272 )
...
peak / trough / jump / drop / general common code to and utils refactoring
6 years ago
Alexey Velikiy
ce8523fafa
Cancel learning on analytic unit deletion #266 ( #269 )
...
* basic cancelation in analytics
* cancelation task on node
* basic cancelation 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
rozetko
e05c5ca29a
Fix analytics compilation docs
6 years ago