Skip to content

Conversation

@brendan-priorlabs
Copy link
Contributor

@brendan-priorlabs brendan-priorlabs commented Sep 9, 2025

Address possible confusion from the fact that we expose a temperature setting, but use simply argmax in predict. See https://discord.com/channels/1285598202732482621/1412644840667086939/1414888423965196288

Address possible confusion from the fact that we expose a temperature setting, but use simply `argmax` in `predict`.
@CLAassistant
Copy link

CLAassistant commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds a helpful clarification to the softmax_temperature parameter's docstring in TabPFNClassifier. It correctly points out that this setting does not affect .predict() and is only relevant for .predict_proba() and .predict_logits(). The change is accurate and improves user understanding. I've suggested a minor rephrasing to make the explanation even more direct and clear.

Copy link
Collaborator

@LeoGrin LeoGrin left a comment

Choose a reason for hiding this comment

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

LGTM thanks! I also don't know what "This is only applied when predicting during a post-processing step." but fine to leave it.

@brendan-priorlabs brendan-priorlabs merged commit da76042 into main Sep 9, 2025
10 checks passed
@brendan-priorlabs
Copy link
Contributor Author

Thanks, Leo! I'll leave refining that latter point for later, but lmk if you think it deserves attention

oscarkey pushed a commit that referenced this pull request Nov 12, 2025
…#136)

* Record copied public PR 497

* Add note to softmax_temperature for the classifier (#497)

Address possible confusion from the fact that we expose a temperature setting, but use simply `argmax` in `predict`. See https://discord.com/channels/1285598202732482621/1412644840667086939/1414888423965196288

(cherry picked from commit da76042)

---------

Co-authored-by: mirror-bot <mirror-bot@users.noreply.github.com>
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.

4 participants