Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hydrospheredata/hydro-root-cause
https://github.com/hydrospheredata/hydro-root-cause
hydrosphere
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hydrospheredata/hydro-root-cause
- Owner: Hydrospheredata
- Created: 2019-02-11T09:04:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T09:57:06.000Z (over 1 year ago)
- Last Synced: 2024-04-14T07:52:50.769Z (9 months ago)
- Topics: hydrosphere
- Language: JavaScript
- Size: 95.2 MB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Root Cause Service
Hydro serving models used in demos are stored in [hs_demos](hs_demos).
You can test anchor and rise with `python tests/test_anchor_on_multiple_adult_models.py` and `test/test_rise_on_mobilenet.py` correspondingly.
## Explanation State Diagram
![](docs/root_cause_state_diagram.png)## Which models are eligible for creating an auto-od metric?
hydro-root-cause creates explanations for tabular or image tensors.
> Right now only tabular explanations are available
If model signature is not supported, then there are no way to ask for explanation and explanation status will always be `NOT_SUPPORTED`
Model signature is considered supported when it consists of numerical scalar fields only. It should also have output field with name
specified in `config['explained_output_field_name']`. If there are no such tensor, model signature will be considered `NOT_SUPPORTED`.
You can change this tensor by update config during runtime, and model status will be refreshed.Supported fields are:
* of scalar shape
* of types:
* DT_FLOAT
* DT_DOUBLE
* DT_INT8
* DT_INT16
* DT_INT32
* DT_INT64In future more model fields will be supported.
## Environment variables to configure service while deploying
Addresses to other services:
* `HTTP_UI_ADDRESS` - http address of hydro-serving cluster, used to create `hydrosdk.Cluster(HS_CLUSTER_ADDRESS)`
* `GRPC_UI_ADDRESS` - grpc addressMongoDB parameters:
* `MONGO_URL`
* `MONGO_PORT`
* `MONGO_AUTH_DB`
* `MONGO_USER`
* `MONGO_PASS`
* `ROOT_CAUSE_DB_NAME` - Name of database in mongo which will be used for this serviceAWS/Minio parameters:
* `AWS_ACCESS_KEY_ID`
* `AWS_SECRET_ACCESS_KEY`
* `S3_ENDOPOINT`, if no s3 endpoint is present, data will be downloaded with boto3Flask server parameters:
* `APPLICATION_ROOT` - prefix of all routes specified in [hydro_auto_od_openapi.yaml](hydro-auto-od-openapi.yaml), not used right now
* `DEBUG`