Created
April 27, 2020 05:24
-
-
Save lakshay-arora/62a889cad384df9bbfb2f95ff336289d 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
# importing required libraries | |
import pandas as pd | |
from sklearn.feature_extraction.text import ENGLISH_STOP_WORDS, TfidfVectorizer | |
from sklearn.linear_model import LogisticRegression | |
from sklearn.pipeline import Pipeline | |
from sklearn.metrics import f1_score | |
from sklearn.model_selection import train_test_split |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment