Skip to content

Instantly share code, notes, and snippets.

@karamanbk
Created August 23, 2019 11:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save karamanbk/1ddcc05e0206ccfb2852850e6430002a to your computer and use it in GitHub Desktop.
Save karamanbk/1ddcc05e0206ccfb2852850e6430002a to your computer and use it in GitHub Desktop.
#import libraries
from datetime import datetime, timedelta,date
import pandas as pd
%matplotlib inline
from sklearn.metrics import classification_report,confusion_matrix
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
from __future__ import division
from sklearn.cluster import KMeans
import plotly.plotly as py
import plotly.offline as pyoff
import plotly.graph_objs as go
import plotly.figure_factory as ff
import sklearn
import xgboost as xgb
from sklearn.model_selection import KFold, cross_val_score, train_test_split
import warnings
warnings.filterwarnings("ignore")
#initiate plotly
pyoff.init_notebook_mode()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment