Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update more sklearn tests#1175

Merged
PGijsbers merged 4 commits intodevelopopenml/openml-python:developfrom
update_more_sklearn_testsopenml/openml-python:update_more_sklearn_testsCopy head branch name to clipboard
Oct 24, 2022
Merged

Update more sklearn tests#1175
PGijsbers merged 4 commits intodevelopopenml/openml-python:developfrom
update_more_sklearn_testsopenml/openml-python:update_more_sklearn_testsCopy head branch name to clipboard

Conversation

@PGijsbers
Copy link
Collaborator

Now the full sklearn extension suite passes.

test_deserialize_complex_with_defaults : it seemed like it was passed as the loss function hyperparameter to boosting. Positional parameters are now generally disallowed, which is why this failed. However, KNeighbours was not a valid value for loss in the first place, it just never noticed because we don't execute the pipeline at any point. It seemed more appropriate to remove this step of the pipeline.

test_run_model_on_fold_classification_3 : the priors hyperparameter was never used with HardNaiveBayes, so I simply removed it and relied on the inheritance. It seemed cleaner that way, unless there was a purpose? Either way it needed refactoring because positionals were not allowed.

@PGijsbers PGijsbers merged commit 75fed8a into develop Oct 24, 2022
@PGijsbers PGijsbers deleted the update_more_sklearn_tests branch October 24, 2022 18:00
PGijsbers added a commit to Mirkazemi/openml-python that referenced this pull request Feb 23, 2023
* n_iter is now keyword-only

* Standardize sklearn pipeline description lookups

* `priors` is no longer positional, and wasn't used in the first place

* Remove loss=kneighbours from the complex pipelin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.