YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Email Classifier โ€“ RandomForest + TF-IDF

A machine learning model that classifies IT service desk emails into four categories: Incident, Problem, Change, and Request.

Model Details

  • Vectorizer: TF-IDF (1โ€“3 n-grams, 15k features)
  • Classifier: RandomForestClassifier
  • Preprocessing: Lowercasing, lemmatization, stopword removal (retains negations)
  • Oversampling: RandomOverSampler to handle class imbalance

Overall accuracy: 76%
Macro avg F1: 0.73

How to Use

Load Pretrained Model

import joblib

# Load model
model = joblib.load("email_classifier.joblib")

# Predict
sample = ["My Outlook stopped working after update."]
prediction = model.predict(sample)
print(prediction)
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support