Created
August 6, 2019 21:19
-
-
Save Ahanmr/00563bfa9ea7f51c129840460c8d8392 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
#Import libraries: | |
import pandas as pd | |
import numpy as np | |
import xgboost as xgb | |
from xgboost.sklearn import XGBClassifier | |
from sklearn import cross_validation, metrics #Additional scklearn functions | |
from sklearn.grid_search import GridSearchCV #Perforing grid search | |
import matplotlib.pylab as plt | |
%matplotlib inline | |
from matplotlib.pylab import rcParams | |
rcParams['figure.figsize'] = 12, 4 | |
train = pd.read_csv('train_modified.csv') | |
target = 'Disbursed' | |
IDcol = 'ID' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment