Run this model with HF Jobs
Run scikit-learn/skops-blog-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/scikit-learn/skops-blog-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/scikit-learn/skops-blog-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 scikit-learn/skops-blog-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use scikit-learn/skops-blog-example with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("scikit-learn/skops-blog-example", "example.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
YAML Metadata Error:"widget" must be an array
Model description
This is a DecisionTreeClassifier model trained on breast cancer dataset.
Intended uses & limitations
This model is not ready to be used in production.
Training Procedure
Hyperparameters
The model is trained with below hyperparameters.
Click to expand
| Hyperparameter | Value |
|---|---|
| ccp_alpha | 0.0 |
| class_weight | |
| criterion | gini |
| max_depth | |
| max_features | |
| max_leaf_nodes | |
| min_impurity_decrease | 0.0 |
| min_samples_leaf | 1 |
| min_samples_split | 2 |
| min_weight_fraction_leaf | 0.0 |
| random_state | |
| splitter | best |
Model Plot
The model plot is below.
DecisionTreeClassifier()Please rerun this cell to show the HTML repr or trust the notebook.
DecisionTreeClassifier()
Evaluation Results
You can find the details about evaluation process and the evaluation results.
| Metric | Value |
|---|---|
| accuracy | 0.935673 |
| f1 score | 0.935673 |
How to Get Started with the Model
Use the code below to get started with the model.
Click to expand
import pickle
with open(dtc_pkl_filename, 'rb') as file:
clf = pickle.load(file)
Model Card Authors
This model card is written by following authors:
skops_user
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:
bibtex
@inproceedings{...,year={2020}}
- Downloads last month
- -
