Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TPOT output
#1
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)

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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020