Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adaboost: adapt to scikit-learn's 1.4 deprecation of base_estimator #6637

Merged
merged 2 commits into from
Nov 24, 2023

Conversation

markotoplak
Copy link
Member

Issue

/home/runner/work/orange3/orange3/.tox/orange-latest/lib/python3.11/site-packages/sklearn/ensemble/_base.py:156: FutureWarning: base_estimator was renamed to estimator in version 1.2 and will be removed in 1.4.

Description of changes
Includes
  • Code changes
  • Tests
  • Documentation

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #6637 (ad23f30) into master (d9ce49d) will increase coverage by 0.00%.
The diff coverage is 90.90%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6637   +/-   ##
=======================================
  Coverage   88.11%   88.11%           
=======================================
  Files         321      321           
  Lines       69930    69942   +12     
=======================================
+ Hits        61616    61628   +12     
  Misses       8314     8314           

@@ -2010,14 +2010,18 @@ distance/distance.py:
def `compute_distances`:
hamming: false
ensembles/ada_boost.py:
def `base_estimator_deprecation`:
'`base_estimator` is deprecated (to be removed in 3.39): use `estimator` instead.': false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be false. I think you either provide a translation or leave it null for someone else to translate it later.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK, this message is not intended to be seen by the user. It should be in English.

@lanzagar lanzagar merged commit 42f633f into biolab:master Nov 24, 2023
44 of 45 checks passed
@markotoplak markotoplak deleted the adaboost-base-estimator branch July 4, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants