API Reference
Monitor
python
monitor = mlwatch.Monitor(
name="purchase_model"
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | str | Model name |
| storage | str | SQLite database |
| alerts | AlertConfig | Alert settings |
---
monitor.log()
python
monitor.log(
reference=train_data,
current=new_data
)
Parameters
| Parameter | Type |
|---|---|
| reference | DataFrame |
| current | DataFrame |
| y_true | ndarray |
| y_pred | ndarray |
| task | str |
| thresholds | dict |