EpistasisLab / EpistasisLab/tpot

How to access to the cv_score of the fitted pipeline

Open
#886 7 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Jupyter Notebook
Stars
10.1k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

I am doing regression for the Boston Housing Price dataset using TPOTRegressor.
Since I am comparing the score of TPOTRegressor with other models, defined by hand, I would like to access to the cv_score of the best model, the one saved as "fitted_pipeline_". How can I access it?
Because with TPOTRegressor function, I can define the cross-validation and I want to get the score of this cross-validation.
I saw that the attribute "evaluated_individuals_" allows to look at the "internal_cv_score"of all models, but I would like to know if there is an easier and faster way to get the best cv_score, something like: tpot.best_cv_score
How can I do that?
Thank you very much

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.