Instructions to use MelioAI/california-housing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use MelioAI/california-housing with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("MelioAI/california-housing", "model.joblib") ) # 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
Download config.json from MelioAI/california-housing: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/MelioAI/california-housing/resolve/main/config.json
- Command line
-
hf download hf://MelioAI/california-housing/config.json
-
curl -L -o config.json https://huggingface.co/MelioAI/california-housing/resolve/main/config.json
1.55 kB
| { | |
| "sklearn": { | |
| "columns": [ | |
| "MedInc", | |
| "HouseAge", | |
| "AveRooms", | |
| "AveBedrms", | |
| "Population", | |
| "AveOccup", | |
| "Latitude", | |
| "Longitude" | |
| ], | |
| "environment": [ | |
| "scikit-learn==1.3.0", | |
| "joblib==1.3.2" | |
| ], | |
| "example_input": { | |
| "AveBedrms": [ | |
| 1.0064205457463884, | |
| 1.041005291005291, | |
| 0.9851190476190476 | |
| ], | |
| "AveOccup": [ | |
| 3.691813804173355, | |
| 1.738095238095238, | |
| 2.7232142857142856 | |
| ], | |
| "AveRooms": [ | |
| 5.017656500802568, | |
| 4.473544973544974, | |
| 5.645833333333333 | |
| ], | |
| "HouseAge": [ | |
| 33.0, | |
| 49.0, | |
| 4.0 | |
| ], | |
| "Latitude": [ | |
| 32.71, | |
| 33.77, | |
| 34.66 | |
| ], | |
| "Longitude": [ | |
| -117.03, | |
| -118.16, | |
| -120.48 | |
| ], | |
| "MedInc": [ | |
| 3.2596, | |
| 3.8125, | |
| 4.1563 | |
| ], | |
| "Population": [ | |
| 2300.0, | |
| 1314.0, | |
| 915.0 | |
| ] | |
| }, | |
| "model": { | |
| "file": "model.joblib" | |
| }, | |
| "model_format": "pickle", | |
| "task": "tabular-classification", | |
| "use_intelex": false | |
| } | |
| } |