Created
July 18, 2020 08:45
-
-
Save saimadhu-polamuri/f5005d2f4d628b887450eb577e9321ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Required packages | |
import random | |
import spacy | |
import pandas as pd | |
import seaborn as sns | |
from spacy.util import minibatch | |
from sklearn.metrics import accuracy_score | |
from sklearn.metrics import confusion_matrix | |
from matplotlib import pyplot as plt | |
## Paths | |
data_path = "../inputs/spam.csv" | |
######## Main method ######## | |
def main(): | |
# Load dataset | |
data = pd.read_csv(data_path) | |
print(data.head()) | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment