Skip to content

Conversation

@Innixma
Copy link
Contributor

@Innixma Innixma commented Apr 24, 2024

Issue #, if available:

Description of changes:

Adds secondary_decision_thresholds argument to decision threshold calibration.
This enables a 2nd-round fine-grained search of the optimal threshold.

In total this is 25% faster with 10x finer granularity than the previous implementation.

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 enhancement New feature or request module: tabular labels Apr 24, 2024
@Innixma Innixma added this to the 1.1.1 Release milestone Apr 24, 2024
@yinweisu
Copy link
Contributor

Previous CI Run Current CI Run
botocore==1.34.90 botocore==1.34.91
mypy==1.9.0 mypy==1.10.0
referencing==0.34.0 referencing==0.35.0
langcodes==3.3.0 langcodes==3.4.0
boto3==1.34.90 boto3==1.34.91
botocore==1.34.90 botocore==1.34.91
mypy==1.9.0 mypy==1.10.0
referencing==0.34.0 referencing==0.35.0
langcodes==3.3.0 langcodes==3.4.0
boto3==1.34.90 boto3==1.34.91
- marisa-trie==1.1.0
- language_data==1.2.0

Copy link
Contributor

@rey-allan rey-allan left a comment

Choose a reason for hiding this comment

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

Ship it!


For visibility, had a discussion with Nick offline re:making it more generic and allowing users to specify the number of calibration phases. We agreed that having more than 2 phases would lead to searching spaces that are too small. This would increase time without really adding any benefit to performance.

@Innixma Innixma merged commit 7fa5dc3 into autogluon:master Apr 25, 2024
LennartPurucker pushed a commit to LennartPurucker/autogluon that referenced this pull request Jun 1, 2024
@Innixma Innixma deleted the calibrate_decision_threshold_improvement branch April 16, 2025 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request module: tabular

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants