Instructions to use sklearn-docs/anomaly-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use sklearn-docs/anomaly-detection with Scikit-learn:
import joblib from skops.hub_utils import download download("sklearn-docs/anomaly-detection", "path_to_folder") model = joblib.load( "isolation_forest.pkl" ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
File size: 663 Bytes
0f92740 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | {
"sklearn": {
"columns": [
"x0",
"x1"
],
"environment": [
"scikit-learn=1.2.2"
],
"example_input": {
"x0": [
1.9137876638235471,
-1.8264435506813366,
-2.1884262678924737
],
"x1": [
2.021017965584703,
-1.895103662902048,
-2.1443081355382363
]
},
"model": {
"file": "isolation_forest.pkl"
},
"model_format": "pickle",
"task": "tabular-classification",
"use_intelex": false
}
} |