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

Tabular: Fix evaluate warning in regression #3045

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

Innixma
Copy link
Contributor

@Innixma Innixma commented Mar 15, 2023

Issue #, if available:

Description of changes:

  • predictor.evaluate(...) would warn the user for using predict_proba unnecessarily when problem_type was regression.
  • This has been resolved by checking if predict_proba is supported based on the problem type, and calling predict if it is not. The logic is identical from the users perspective, but without the warning.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Innixma Innixma added API & Doc Improvements or additions to documentation module: tabular priority: 2 Medium priority: Nice-to-have labels Mar 15, 2023
@Innixma Innixma added this to the 0.7.1 Release milestone Mar 15, 2023
@github-actions
Copy link

Job PR-3045-3fae2a6 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-3045/3fae2a6/index.html

@Innixma Innixma merged commit 692b4d9 into autogluon:master Mar 15, 2023
@Innixma Innixma modified the milestones: 0.7.1 Release, 0.8 Release May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API & Doc Improvements or additions to documentation module: tabular priority: 2 Medium priority: Nice-to-have
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants