-
2022-03-06<Kaggle> 2022. 3. 6. 21:31728x90
def object
space = {'max_depth' : hp.quniform('max_depth', 1, 40, 1)}
sample(space)
algo = tpe.suggest
trials = Trials()
best = fmin(fn = objective, space = space, algo = tpe.suggest, trials = trials)
best_hyp = ast.literal_eval(results.loc[0, 'hyperparameters']) # results=object
# best_hyp = best.loc[0, 'hyperparameters']728x90'<Kaggle>' 카테고리의 다른 글
2022-03-04 (0) 2022.03.15 2022-03-03 (0) 2022.03.15 [Porto seguro-safe driver prediction] 2022-02-13 Porto Seguro Exploratory Analysis and Prediction[version 4.07] (0) 2022.02.14 [Porto seguro-safe driver prediction] 2022-02-04 Interactive Porto Insights[version 2.02] (0) 2022.02.14 [Porto seguro-safe driver prediction] Data (0) 2022.02.14