Skip to content

Instantly share code, notes, and snippets.

@shinokada
Last active February 20, 2020 11:41
Show Gist options
  • Save shinokada/010050a0d38ff8c7aeb06d7779fb7f73 to your computer and use it in GitHub Desktop.
Save shinokada/010050a0d38ff8c7aeb06d7779fb7f73 to your computer and use it in GitHub Desktop.
import io
import os
import requests
import math
import pandas as pd
import numpy as np
# visualization
import matplotlib.pyplot as plt
get_ipython().magic('matplotlib inline')
import seaborn as sns
# import plotly.graph_objects as go
# from bokeh.plotting import figure, output_file, show
# scipy
import scipy.stats as stats
from scipy.stats import zscore
# sklearn
from sklearn import metrics
from sklearn.metrics import accuracy_score
from sklearn.model_selection import train_test_split
from sklearn.metrics import roc_curve, auc
# Deep learning
import tensorflow as tf
import tensorflow.keras
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Activation
from tensorflow.keras.callbacks import EarlyStopping
# NLTK
import nltk
# Statsmodels
import statsmodels.api as sm
import statsmodels.formula.api as smf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment