phihung/titanic
Viewer • Updated • 891 • 207 • 6
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.