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
Alexey Velikiy
edcf487479
Update custom_model.py
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
126eec22a5
Add empty config field check
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
d0a0400fb6
Reverse peak -> trough
6 years ago
rozetko
942c4ca112
general predictor -> general model ( #130 )
6 years ago
rozetko
5f36e5fdf6
Convert cache fields in reverse peak model to float ( #128 )
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
592588e12b
Hotfix: return cache from pattern_detector.train
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
Coin de Gamma
f4376ccf29
analytics clearup
6 years ago
rozetko
6420f16c3d
Fix learning ( #116 )
6 years ago
Coin de Gamma
1aada3240e
analytics repair
6 years ago
Alexandr Velikiy
922f1f3d11
WIP: Jump model v8 ( #115 )
...
* new jump model with height
* antipeak
* universal n/w jumps
6 years ago
Coin de Gamma
0902209234
One panel - one worker #62
6 years ago
Coin de Gamma
7e5381f464
analytics: detector class + more types + remove Model.(save/load)
6 years ago
Coin de Gamma
018e97e132
fx data usage in general_detector
6 years ago
Coin de Gamma
7c559046c1
grafana influx quering
6 years ago
rozetko
60f1306ed5
hotfix: make server.py run
6 years ago
Coin de Gamma
bd4f9e0172
remove all fs-releated and grafana logic. Use analytics_service / data_service instead
6 years ago
rozetko
a8a8220cf7
WIP: Query grafana from node ( #109 )
...
* Fix: analytic_unit_worker get_model -> get_predictor
* Fix analyticUnit.fromObject arguments order
* Make Grafana querying work
6 years ago
Alexey Velikiy
6aa8158711
rm ANALYTIC_UNITS_FOLDER usage ( #108 )
6 years ago
Coin de Gamma
5c0ad89b61
py payload task into learn/predict + removing grafana_data_provider from py begin
6 years ago
Coin de Gamma
13df2b4349
taskresolver type + metric._id
6 years ago
Coin de Gamma
6395bcc26e
_taskId -> id and runTask++
6 years ago
rozetko
f79a2d9ff1
Make models sync
6 years ago
rozetko
892ba6db6f
Uppercase hotfix
6 years ago
Alexey Velikiy
1c473d129d
upperase literals + server start bugfix
6 years ago
Alexey Velikiy
753b7a0589
Zmq basic fs #97 ( #104 )
...
* async fs context manager
* ServerMessage class and using it
* handle resps
* requests to node & file saving ++
* fx FILE_GET -> FILE_LOAD
* ds usage
* basic files saving
6 years ago
rozetko
2fa7862f57
Add custom model
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
Alexandr Velikiy
5fcc7846d3
Jump detector v4
6 years ago
rozetko
ece1315a33
Fix typo in analytics utils
6 years ago
Alexey Velikiy
42356821ad
Missing communication between analytics and server in production #91 ( #95 )
...
* analytics ipc config via env vs dev mode
* binding to zmq before child python start
* better usage of ipc and handling server process stopping
* ipc via /tmp
* ZQM_DEV_PORT to config
6 years ago
Alexandr Velikiy
419ab2e36f
new init ( #92 )
6 years ago
Alexey Velikiy
e797e183a5
Jumpdetector -> JumpDetector & all_mins in JumpDetector.__predict
6 years ago
Alexey Velikiy
6f8ca9337a
move supervised_algorithm.py -> detectors/general_detector/ folder
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
abff43a5b3
exclude __pycache__ in vscode
6 years ago
Alexey Velikiy
a0f0c40b10
add @VargBurz's jump_detector from jump_detector_v3 branch
6 years ago
Alexey Velikiy
72e8c4520e
LF eol in all files & add doc about that & setting to settings.json
6 years ago