How to use from the
Use from the
Scikit-learn library
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
	hf_hub_download("SIH/penguin-classifier-sklearn", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.html

Palmer Penguins Species Classifier

Model description

This model is a scikit-learn classifier trained to predict the species of penguins in the Palmer Penguins dataset. The dataset contains measurements of penguin species including the species itself, making it suitable for classification tasks.

The model uses features such as culmen length, culmen depth, flipper length, and body mass to predict the species of penguins.

Intended uses & limitations

The model is intended for classifying the species of penguins based on their physical measurements. It can be used in applications related to penguin species classification and analysis.

Limitations:

  • The model's performance may vary depending on the quality and representativeness of the input data.
  • It is trained specifically on the Palmer Penguins dataset and may not generalize well to other penguin datasets or species outside of the dataset.

Training data

The model is trained on the Palmer Penguins dataset, which contains measurements of penguin species including Adelie, Chinstrap, and Gentoo. The dataset is publicly available and can be accessed here.

Training procedure

The model is trained using scikit-learn, a popular machine learning library in Python. It uses a classification algorithm (e.g., Random Forest, Support Vector Machine) to learn the relationship between the input features (culmen length, culmen depth, flipper length, body mass) and the target variable (species).

Model in action

# Load the model
from sklearn.externals import joblib

model = joblib.load('path/to/your/model.pkl')

# Input features
features = {
    'culmen_length_mm': 39.1,
    'culmen_depth_mm': 18.7,
    'flipper_length_mm': 181,
    'body_mass_g': 3750
}

# Predict species
predicted_species = model.predict([list(features.values())])[0]
print(f"Predicted species: {predicted_species}")

🐧 Disclaimer

No penguins were harmed while training this model 🐧.

We were noot involved in collecting the 🐧 data.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train SIH/penguin-classifier-sklearn