Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: run LearnerRanker using single model instead of CrossFit (#317)
* API: implement class ParameterSpace and related classes * API: add initial version of CrossFit-free LearnerRanker * API: remove previous LearnerRanker * API: enable tests for new LearnerRanker * REFACTOR: remove obsolete function _learner_type() * REFACTOR: rename LearnerRanker2 to LearnerRanker * REFACTOR: remove classes LearnerGrid and LearnerEvaluation * API: introduce CandidateEstimatorDF * API: add scoring preprocessing * API: introduce CandidateEstimatorDF name parameter * API: expect EstimatorDF arguments for BaseParameterSpace * API: remove MultiRegressorParameterSpace, MultiClassifierParameterSpace * API: add T_Candidate_co; update (Multi)ParamaterSpace class signatures * API: add PARAM_CANDIDATE… constants to CandidateEstimatorDF * API: add documentation for CandidateEstimatorDF attributes * API: add call to super().__init__() * API: suppress PEP warnings for 'X' arg name * API: add property CandidateEstimatorDF._estimator_type * DOC: tweak API docstring * API: streamline/improve handling of estimator scoring in LearnerRanker * TEST: update unit tests for API changes * API: remove obsolete constants ParamaterSpace.STEP_… * API: don't use CandidateEstimatorDF in ParameterSpace; add auto-naming * API: add type validation for LearnerRanker parameter searcher_factory * TEST: streamline and update unit tests * TEST: eliminate test_crossfit.py * API: remove module facet.crossfit * API: rename LearnerRanker param searcher_factory to searcher_type * API: eliminate LearnerRanker parameter random_state * DOC: add docstrings for LearnerRanker attributes * DOC: update release notes * FIX: honour arg prefix in MultiEstimatorParameterSpace.get_parameters() * FIX: improve type hints of class CandidateEstimatorDF * REFACTOR: tweak approach to get BaseSearchCV class * REFACTOR: reorder constants for better code legibility * API: support all estimators in LearnerRanker, not just learner pipelines * DOC: add comments * API: remove CandidateEstimatorDF.empty() * API: rename LearnerRanker to ModelSelector * API: move CandidateEstimatorDF to facet.selection.base * DOC: update the pydata sphinx theme to ~=0.7 * TEST: rename _ranker to _selector Co-authored-by: Mateusz Sokół <mat646@gmail.com> Co-authored-by: Mateusz Sokół <8431159+mtsokol@users.noreply.github.com>
- Loading branch information