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
9b3a68d4cd
Make drops work ( #121 )
7 years ago
Alexey Velikiy
21ae735c54
Analytic unit cache v2 ( #122 )
7 years ago
Alexey Velikiy
955f2821e3
Analytic unit cache start #117 ( #120 )
7 years ago
rozetko
e884015587
Fix prediction ( #118 )
7 years ago
rozetko
6420f16c3d
Fix learning ( #116 )
7 years ago
Coin de Gamma
7c559046c1
grafana influx quering
7 years ago
Coin de Gamma
1698f4b640
improve error handling from grafana_service
7 years ago
rozetko
d50a9d901e
Fix node Error: TaskResut [id] has no resolver
7 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
7 years ago
Coin de Gamma
e249a8e6b2
grafana service continue
7 years ago
Coin de Gamma
bc9041daa5
pending status to controller & pretty code
7 years ago
Coin de Gamma
12fdb9d179
mv updateSegments to controller and pending status
7 years ago
Coin de Gamma
13df2b4349
taskresolver type + metric._id
7 years ago
Coin de Gamma
6395bcc26e
_taskId -> id and runTask++
7 years ago
Coin de Gamma
69c3de355b
learning++ and better models
7 years ago
Coin de Gamma
b2c48242c9
Task definition + some refactorings
7 years ago
Coin de Gamma
de68788c8d
task model + tsconfig checksfix + segments parse++
7 years ago
Coin de Gamma
590f3fdf76
strict any checks
7 years ago
Alexey Velikiy
1d35992384
models++
7 years ago
Alexey Velikiy
dc6c120261
serments / metrics models refactoring
7 years ago
Alexey Velikiy
8a49e2dba2
big models refactoring
7 years ago
Alexey Velikiy
0414ff4256
fix Server is stopping only after second Ctrl-C #96
7 years ago
Alexey Velikiy
1c473d129d
upperase literals + server start bugfix
7 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
7 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
7 years ago
Alexey Velikiy
95b5f69788
config paths fixs
7 years ago
Alexey Velikiy
081b9607cb
Use anomaly IDs #42
7 years ago
Alexey Velikiy
821ce12912
_taskId missed once
7 years ago
Alexey Velikiy
56969bdb9d
__task_id -> _taskId
7 years ago
Alexey Velikiy
811ffb7d5f
Return analytic status #71
7 years ago
Alexey Velikiy
e605d699ba
some renamings
7 years ago
Alexey Velikiy
1943785db9
more refactoring
7 years ago
Alexey Velikiy
1d7b0e1d8d
services vs controllers refactoring
7 years ago
Alexey Velikiy
9e11c9e34a
services->controllers
7 years ago
Alexey Velikiy
71db20f063
MORE RENAMING
7 years ago
Alexey Velikiy
e0458555c7
more renaming
7 years ago
Alexey Velikiy
326987c709
renaming++
7 years ago
Alexey Velikiy
4600a834bd
fetch analytics.ts
7 years ago
Alexey Velikiy
25145912d8
crazy renaming
7 years ago
rozetko
e85df8c2c1
Change anomaly id to predictor id everywhere ( #65 )
...
* Change anomaly id to predictor id everywhere
* some fiex
7 years ago
Alexey Velikiy
52b3a1286d
Analytics server messaging #24 v2 ( #49 )
...
* add zmq to deps
* basic zmq usage & build system fxs
* continue zmq integration & refactorings
* server.py + logging
* some commit
* ping-pong server-analytics & pair type
* packing zmq.node for production
7 years ago
Alexey Velikiy
a6567c8e6f
Module for messaging on node.js side #30
7 years ago
rozetko
38abdcc1ef
Python compilation ( #19 )
...
* Run compiled analytics script with fallback to regular python
* Update .gitignore
* python compilation docs
7 years ago
rozetko
a0942e46ab
Pattern type handler ( #6 )
7 years ago
Alexey Velikiy
c25a9a3dc7
deps & data folder ( #1 )
7 years ago
rozetko
0a02cf245e
138-webhook-on-alert-instead-of-tg-bot
7 years ago
rozetko
ce425363b4
Error message in GET /anomalies/status
7 years ago
rozetko
b79200a552
132-proxy-db-queries-through-grafana
7 years ago
rozetko
af4ab07edb
Add src
7 years ago