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
rozetko
879f4cdac0
Add git info to Docker #238 ( #257 )
6 years ago
Alexandr Velikiy
7ad0e5360f
Incorrect work of analytics with nan filled dataset #247 ( #248 )
6 years ago
rozetko
309704997b
IndexError: list index out of range in close_filtering #240 ( #243 )
6 years ago
Alexandr Velikiy
5d76c9efac
IndexError: list index out of range in get_av_model #239 ( #241 )
6 years ago
rozetko
9986642659
Fix #231 : .count(np.NaN) -> .isnull().sum()
6 years ago
Alexandr Velikiy
8614499c20
Proccesing for NaN values #231 ( #236 )
6 years ago
Evgeny Smyshlyaev
780aefa6fe
Tests for #231 ( #230 )
6 years ago
rozetko
79b302ab7e
Fix launch.json analytics path #215
6 years ago
Alexandr Velikiy
0d921aafb2
Incorrect work of models with single patterns #234 ( #235 )
...
add first value of patterns list = val[0] instead 0
6 years ago
Alexey Velikiy
005097dde0
Analytics project structure improvement #215 ( #228 )
...
* bin & analytics folders
* sys path & config relocation
* fix analytics path in node
6 years ago
amper43
9f96b99a37
fix conflict
6 years ago
Alexandr Velikiy
dd139e1feb
Models with filtering#186 ( #218 )
6 years ago
Evgeny Smyshlyaev
43b027e470
Unit testing for analytics project #216 ( #223 )
6 years ago
Alexandr Velikiy
2782955572
Analytics works with one labeled segment#191/212 ( #217 )
...
* Analytics works with one labeled segment
if/else instead of exception
6 years ago
Evgeny Smyshlyaev
c1ae1a9b19
Server logs improvements #48 ( #205 )
...
improve logs
6 years ago
Alexandr Velikiy
4912026113
Fix models for choosing the "wrong" patterns #195 ( #202 )
...
* jump and drop not crash
* fix logiс of try/except block in drops
left one block
* fix logic of try/except in jump
left one block
6 years ago
Alexandr Velikiy
b79abf5299
Anti-segments in general model #142 ( #185 )
6 years ago
Evgeny Smyshlyaev
de3b64ce95
Decouple processes to different docker containers#187(WIP) ( #188 )
...
analytics and server moved to separate containers, added docker-compose file
6 years ago
amper43
3e51fd027a
fix according review
6 years ago
amper43
8fa210d23f
remove debug logging
6 years ago
amper43
3042ddc81b
fix compose
6 years ago
amper43
f72cc35589
fix ZMQ connection string
6 years ago
amper43
94aa2349b8
add new dockerfiles
6 years ago
Alexandr Velikiy
ab099cfd63
Drop model minor fix
6 years ago
rozetko
d6d0b9f36a
Support datasource kit interface #176 ( #177 )
...
* Fix indentation in drop model
* Update datasource-kit version
* GrafanaMetric -> Metric
6 years ago
Alexandr Velikiy
d885b7ec22
Anti-segments in general model #142 ( #174 )
6 years ago
Alexandr Velikiy
93e74a45df
Anti-segments in drops model #142 ( #173 )
6 years ago
Alexandr Velikiy
4824b22df8
Anti-segments in peaks model #142 ( #170 )
6 years ago
Alexandr Velikiy
dc92d4e201
Anti-segments in troughs model #142 ( #171 )
6 years ago
Alexandr Velikiy
793c8186f1
Anti-segments in jumps model #142 ( #172 )
6 years ago
Alexandr Velikiy
142c6baa0a
common model to drop_model ( #166 )
6 years ago
Alexandr Velikiy
40fd1e296b
Common model in jumps ( #165 )
...
- add common model
- add convolve window
- add WINDOW_SIZE
6 years ago
Alexandr Velikiy
169c341189
add aggr model to peak models ( #162 )
...
* add aggr model to peak models
change convolve with first pattern.
now it is avarage model instead of only first pattern.
* common model for peaks with comments
6 years ago