YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Email Phishing Detection β SVM Model
This is the SVM model trained to classify emails as Phishing or Legitimate using text-based features.
π§ Model Details
- Type: Scikit-learn
LinearSVCwrapped withCalibratedClassifierCV - Supports:
.predict_proba()for confidence scoring - Vectorizer: Trained on TF-IDF transformed email text
- Training Set: Combination of phishing + legitimate emails from 7 public datasets
- Input: Preprocessed email text
- Output:
1= Phishing0= Legitimate
π Performance
- Accuracy: ~98.38%
- Trained and validated on a clean split (~82K samples)
- Supports calibrated probability outputs
π Web Demo
This model powers the live app:
https://phishingdetection.net
π§ͺ Usage
Youβll need to:
- Preprocess text (lowercase, lemmatize, remove stopwords)
- Transform with the corresponding TF-IDF vectorizer
- Load and predict using this model:
import joblib
model = joblib.load("svm_model.pkl")
vector = vectorizer.transform(["your email text here"])
prediction = model.predict(vector)
confidence = model.predict_proba(vector)
Author
license: mit language: - en tags: - phishing - cybersecurity - tfidf - email - sklearn - support-vector-machine - vectorizer - calibrated-classifier model-index: - name: Email Phishing SVM results: []
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support