Closed rodrigo-arenas closed 3 years ago
Merging #55 (c94b103) into master (65611cb) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #55 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 18 19 +1
Lines 669 720 +51
=========================================
+ Hits 669 720 +51
Impacted Files | Coverage Δ | |
---|---|---|
sklearn_genetic/genetic_search.py | 100.00% <100.00%> (ø) |
|
sklearn_genetic/utils/cv_scores.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 65611cb...c94b103. Read the comment docs.
This PR implement the missing properties of scikit-learn BaseSearchCV, the parameter
return_train_score
was added inGASearchCV
, the following properties now are calculated as in scikit-learn:This introduces some changes:
GASearchCV.logbook
property now has extra information that comes from the scikit-learn cross_validate functionself.best_params_
for the position 0, to be consistent with the scikit-learn API and parameters likeself.best_index_
.Tests and documentation is added