Instructions to use scikit-learn/Fish-Weight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use scikit-learn/Fish-Weight with Scikit-learn:
from skops.hub_utils import download from skops.io import load download("scikit-learn/Fish-Weight", "path_to_folder") # make sure model file is in skops format # if model is a pickle file, make sure it's from a source you trust model = load("path_to_folder/example.pkl") - Notebooks
- Google Colab
- Kaggle
| { | |
| "sklearn": { | |
| "columns": [ | |
| "Species", | |
| "Length1", | |
| "Length2", | |
| "Length3", | |
| "Height", | |
| "Width" | |
| ], | |
| "environment": [ | |
| "scikit-learn=1.0.2" | |
| ], | |
| "example_input": { | |
| "Height": [ | |
| 11.52, | |
| 12.48, | |
| 12.3778 | |
| ], | |
| "Length1": [ | |
| 23.2, | |
| 24.0, | |
| 23.9 | |
| ], | |
| "Length2": [ | |
| 25.4, | |
| 26.3, | |
| 26.5 | |
| ], | |
| "Length3": [ | |
| 30.0, | |
| 31.2, | |
| 31.1 | |
| ], | |
| "Species": [ | |
| "Bream", | |
| "Bream", | |
| "Bream" | |
| ], | |
| "Width": [ | |
| 4.02, | |
| 4.3056, | |
| 4.6961 | |
| ] | |
| }, | |
| "model": { | |
| "file": "example.pkl" | |
| }, | |
| "task": "tabular-regression" | |
| } | |
| } |