You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I was just wondering if there's any way to print out the confusion matrix, classification report and the pipeline for the second-best pipeline?
the model now is printing the best pipeline as below but would also like to print the second-best pipeline.
model = TPOTClassifier(generations=10, scoring='balanced_accuracy', verbosity=2)
model.fit(X_train, y_train)
Optimization Progress: 48%
530/1100 [2:07:27<3:41:41, 23.34s/pipeline]
Generation 1 - Current best internal CV score: 0.8820838802533277
Generation 2 - Current best internal CV score: 0.8828284663262757
Generation 3 - Current best internal CV score: 0.8828284663262757
Generation 4 - Current best internal CV score: 0.8842320902149032
Generation 5 - Current best internal CV score: 0.8842320902149032
Generation 6 - Current best internal CV score: 0.8842320902149032
Generation 7 - Current best internal CV score: 0.8842320902149032
Generation 8 - Current best internal CV score: 0.8842320902149032
Generation 9 - Current best internal CV score: 0.8842320902149032
Generation 10 - Current best internal CV score: 0.8842320902149032
Hello,
I was just wondering if there's any way to print out the confusion matrix, classification report and the pipeline for the second-best pipeline?
the model now is printing the best pipeline as below but would also like to print the second-best pipeline.
Apologies if this was previously asked but searching Second Best returned nothing
Thanks,
m-alshehri
The text was updated successfully, but these errors were encountered: