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
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
93e74a45df
Anti-segments in drops model #142 ( #173 )
6 years ago
Alexandr Velikiy
142c6baa0a
common model to drop_model ( #166 )
6 years ago
Alexandr Velikiy
12c52f5ce9
Consider segment width in models #136 ( #141 )
...
* fit -> do_fit in all models && add self.segment_length
* Move converting indices to timestamps to Model class
* add flexible win size to all models
6 years ago
rozetko
d1ca327b0d
Improve all models
6 years ago
Alexandr Velikiy
65585939ae
minor drop and jump models improvements ( #131 )
6 years ago
rozetko
48999a934d
Fix timestamps return in all models (convert from ns to ms)
6 years ago
rozetko
9f1b2397d0
Convert timestamps from s to ms
6 years ago
rozetko
2cd685114e
Minor fixes
6 years ago
rozetko
8bd52b64f7
Check for segment length in all models ( #127 )
6 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
6 years ago
rozetko
9b3a68d4cd
Make drops work ( #121 )
6 years ago
Alexey Velikiy
955f2821e3
Analytic unit cache start #117 ( #120 )
6 years ago
Alexandr Velikiy
6f9f53cb1b
WIP: Jump and drop v1 ( #119 )
...
* new jump model with height
* antipeak
* universal n/w jumps
* jump and drop models
* rm unneeded lines and trailing spaces
6 years ago
rozetko
e884015587
Fix prediction ( #118 )
6 years ago
rozetko
6420f16c3d
Fix learning ( #116 )
6 years ago
Alexandr Velikiy
922f1f3d11
WIP: Jump model v8 ( #115 )
...
* new jump model with height
* antipeak
* universal n/w jumps
6 years ago
rozetko
f79a2d9ff1
Make models sync
6 years ago
rozetko
b86da0fcae
Split out models from detectors #98 ( #101 )
...
* Create abstract model class
* Move detectors/*_detector -> models/*_model
* Update Model class
* Change detectors to models and move fields to self.state
* Use models instead of detectors in PatternDetector
* Update inits in detectors/ and models/
* Add types to resolve_model_by_pattern
* Add types to abstract Model class
6 years ago
Alexey Velikiy
7527faf068
reafactor common functions from detectors to utils folder
6 years ago
Alexey Velikiy
821da82025
detectors cleanup & jump_detector integration
6 years ago
Alexey Velikiy
cccbf1193b
asyncio usage ( #88 )
...
* asyncio integration (buggy)
PEAKS_DETECTION doesnt works
6 years ago
Alexey Velikiy
862e1edb7c
good analytics type names
6 years ago
Alexey Velikiy
bb3a9b47f6
detectors to folder
6 years ago
Alexandr Velikiy
0b857996d8
change range +60 and lower limit ( #50 )
6 years ago
rozetko
a31aed695a
Improve drops algorithm
6 years ago
rozetko
f9867aec26
tmp drops fix
6 years ago
rozetko
a260f86cb8
drops hot fix
6 years ago
rozetko
5eef9011e5
177-improve-drops-model
6 years ago
rozetko
37d7516dc5
minor fixes
7 years ago
rozetko
0c14df576e
tmp step_size fix in step_detector
7 years ago
rozetko
a0942e46ab
Pattern type handler ( #6 )
7 years ago
Alexey Velikiy
32e28da35b
mv src foler to analytics
7 years ago
rozetko
af4ab07edb
Add src
7 years ago