OPEN-ARC Open Models
Collection
A collection of available base models for our OPEN-ARC project: https://github.com/Infinitode/OPEN-ARC.
•
7 items
•
Updated
Repository: https://github.com/Infinitode/OPEN-ARC/
OPEN-ARC-SMC is a MultinomialNB model developed as part of Infinitode's OPEN-ARC initiative. It was created to categorize text, particularly emails, as either spam or legitimate (ham).
Architecture:
Emails or SMS may be classified as false positives or false negatives because of the nature of the data and its inherent limitations.
| Metric | Value |
|---|---|
| Testing Accuracy | 98.48% |
Testing Precision (spam) |
96.15% |
Testing Recall (spam) |
93.17% |
Testing F1 (spam) |
94.64% |
new_emails = [
"Congratulations! You've won a free prize. Click the link to claim.", # Likely spam
"Hi, just confirming our meeting for tomorrow at 10 AM. Thanks." # Likely not spam
]
# Vectorize the new emails using the fitted vectorizer
new_emails_vectorized = vectorizer.transform(new_emails)
# Make predictions
predictions = model.predict(new_emails_vectorized)
for i, email in enumerate(new_emails):
print(f"\nEmail: '{email}'")
print(f"Prediction: {predictions[i]}")
For questions or issues, open a GitHub issue or reach out at https://infinitode.netlify.app/forms/contact.