phihung/titanic
Viewer โข Updated โข 891 โข 383 โข 9
Run slevin48/titanic-survival-classifier 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:
Use HF Jobs to fine-tune https://huggingface.co/slevin48/titanic-survival-classifier. 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.
Use HF Jobs to run batch inference with https://huggingface.co/slevin48/titanic-survival-classifier 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.
How to use slevin48/titanic-survival-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
hf_hub_download("slevin48/titanic-survival-classifier", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.htmlA Random Forest classifier trained on the classic Titanic dataset to predict passenger survival.
| Metric | Score |
|---|---|
| Test Accuracy | 80.0% |
| Test F1 (survived) | 0.72 |
| CV Accuracy (5-fold) | 82.5% |
This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.