Jun-23-2018, 09:55 PM
Hi everyone,
I am trying to use TPOT to get an optimal model but Spider is saying the TPOT output is invalid syntax
TPOT output:
Best pipeline: ExtraTreesRegressor(ZeroCount(DecisionTreeRegressor(input_matrix, max_depth=1, min_samples_leaf=16, min_samples_split=8)), bootstrap=True, max_features=0.55, min_samples_leaf=10, min_samples_split=9, n_estimators=100)
Thanks
I am trying to use TPOT to get an optimal model but Spider is saying the TPOT output is invalid syntax
TPOT output:
Best pipeline: ExtraTreesRegressor(ZeroCount(DecisionTreeRegressor(input_matrix, max_depth=1, min_samples_leaf=16, min_samples_split=8)), bootstrap=True, max_features=0.55, min_samples_leaf=10, min_samples_split=9, n_estimators=100)
from sklearn.ensemble import ExtraTreesRegressor extra_trees = ExtraTreesRegressor((ZeroCount(DecisionTreeRegressor(input_matrix, max_depth=1, min_samples_leaf=16, min_samples_split=8)), bootstrap=True, max_features=0.55, min_samples_leaf=10, min_samples_split=9, n_estimators=100)) extra_trees.fit(credit_prepared, credit_labels)When I hover my mouse over the extratreesregressor it does not have a lot of the hyper-parameters that TPOT is suggesting. How do I best interpret TPOT to get the optimal model?
Thanks