Skip to content

Instantly share code, notes, and snippets.

@frenzy2106
Created March 18, 2020 08:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frenzy2106/0a1e9c5c58af922d434481609bb81b67 to your computer and use it in GitHub Desktop.
Save frenzy2106/0a1e9c5c58af922d434481609bb81b67 to your computer and use it in GitHub Desktop.
# TensorFlow and tf.keras
import tensorflow as tf
from tensorflow import keras
# Import numpy, Pandas, Regex & Visualisation libraries
import numpy as np
import pandas as pd
import re
from matplotlib import pyplot as plt
# Import NLTK & Download Required Module
import nltk
nltk.download('punkt')
# Train Test Split
from sklearn.model_selection import train_test_split
# F1 Score
from sklearn.metrics import f1_score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment