Skip to content

Instantly share code, notes, and snippets.

View dsc712's full-sized avatar
:octocat:
I may be slow to respond.

DEVYENDU SHEKHAR CHOUDHARY dsc712

:octocat:
I may be slow to respond.
  • New Delhi , India
View GitHub Profile
@SouravJohar
SouravJohar / detector.py
Last active June 21, 2023 12:12
Code for building a spam filtering bot.
import cPickle as c
import os
from sklearn import *
from collections import Counter
def load(clf_file):
with open(clf_file) as fp:
clf = c.load(fp)
return clf