Tabular Regression
Scikit-learn
quantile-forest
skops
quantile-regression
uncertainty-estimation
prediction-intervals
Run this model with HF Jobs
Run quantile-forest/california-housing-example on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/quantile-forest/california-housing-example. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/quantile-forest/california-housing-example on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use quantile-forest/california-housing-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use quantile-forest/california-housing-example with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("quantile-forest/california-housing-example", "model.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
Model description
This is a RandomForestQuantileRegressor trained on the California Housing dataset.
Intended uses & limitations
This model is not ready to be used in production.
Training Procedure
The model was trained using default parameters on a 5-fold cross-validation pipeline.
Hyperparameters
Click to expand
| Hyperparameter | Value |
|---|---|
| bootstrap | True |
| ccp_alpha | 0.0 |
| criterion | squared_error |
| default_quantiles | 0.5 |
| max_depth | |
| max_features | 1.0 |
| max_leaf_nodes | |
| max_samples | |
| max_samples_leaf | 1 |
| min_impurity_decrease | 0.0 |
| min_samples_leaf | 1 |
| min_samples_split | 2 |
| min_weight_fraction_leaf | 0.0 |
| monotonic_cst | |
| n_estimators | 100 |
| n_jobs | |
| oob_score | False |
| random_state | RandomState(MT19937) |
| verbose | 0 |
| warm_start | False |
Model Plot
RandomForestQuantileRegressor(random_state=RandomState(MT19937) at 0x31E67B240)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
Parameters
| n_estimators | 100 | |
| default_quantiles | 0.5 | |
| criterion | 'squared_error' | |
| max_depth | None | |
| min_samples_split | 2 | |
| min_samples_leaf | 1 | |
| max_samples_leaf | 1 | |
| min_weight_fraction_leaf | 0.0 | |
| max_features | 1.0 | |
| max_leaf_nodes | None | |
| min_impurity_decrease | 0.0 | |
| bootstrap | True | |
| oob_score | False | |
| n_jobs | None | |
| random_state | RandomState(M...at 0x31E67B240 | |
| verbose | 0 | |
| warm_start | False | |
| ccp_alpha | 0.0 | |
| max_samples | None | |
| monotonic_cst | None |
Evaluation Results
| Metric | Value |
|---|---|
| Mean Absolute Percentage Error | 0.164007 |
| Median Absolute Error | 0.171 |
| Mean Squared Error | 0.25832 |
| R-Squared | 0.806 |
How to Get Started with the Model
Click to expand
from examples.plot_qrf_huggingface_inference import CrossValidationPipeline
pipeline = CrossValidationPipeline.load(qrf_pkl_filename)
Model Card Authors
This model card is written by following authors:
[More Information Needed]
Model Card Contact
You can contact the model card authors through following channels: [More Information Needed]
Citation
Below you can find information related to citation.
BibTeX:
[More Information Needed]
- Downloads last month
- 16