Skip to content

Instantly share code, notes, and snippets.

@Karts27
Last active November 15, 2021 10:03
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 Karts27/029761fa50d25987e3bebc94df3cbc15 to your computer and use it in GitHub Desktop.
Save Karts27/029761fa50d25987e3bebc94df3cbc15 to your computer and use it in GitHub Desktop.
# Import all the necessary libraries
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import Model
from tensorflow.keras.layers import Dense, Dropout
from tensorflow.keras.optimizers import Adam
from tensorflow.keras import Sequential
from tensorflow.keras.callbacks import EarlyStopping
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
import os
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import classification_report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment