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
File size: 1,044 Bytes
f174ae3 | 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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | {
"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"
}
} |