Last active
October 11, 2019 20:04
-
-
Save VictorSaenger/ae55702011187a011aa54760ff3ad5a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # Regular modules for data science and visualization: | |
| import numpy as np | |
| import pandas | |
| import seaborn as sns | |
| import matplotlib.pyplot as plt | |
| # Keras (2.2.4) and tensorflow (1.13). | |
| import tensorflow as tf | |
| import tensorflow_hub as hub | |
| import tf_sentencepiece | |
| from keras.regularizers import l1, l2 | |
| from keras.models import Sequential | |
| from keras.layers import Dense | |
| from keras.layers import Dropout | |
| from keras import backend | |
| from keras import optimizers | |
| #sklearn and imblearn modules: | |
| from sklearn.model_selection import cross_val_predict | |
| from sklearn.preprocessing import StandardScaler | |
| from sklearn.model_selection import StratifiedShuffleSplit | |
| from imblearn.over_sampling import SMOTE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment