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 numpy as np | |
import scipy as sp | |
import xgboost as xgb | |
from hyperopt import hp, fmin, tpe | |
from sklearn import datasets | |
from sklearn import cross_validation | |
from sklearn.metrics import confusion_matrix | |
np.random.seed(71) | |
iris = datasets.load_iris() |