-
-
Notifications
You must be signed in to change notification settings - Fork 26k
DOC Fix typos in math in Target Encoder user guide #26584
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
Conversation
:math:`\sigma_i^2` is the variance of `y` with category :math:`i` and | ||
:math:`\tau^2` is the global variance of `y`. | ||
|
||
For continuous targets, the formulation is similar to binary classification: | ||
|
||
.. math:: | ||
S_i = \lambda_i\frac{\sum_{k\in L_i}y_k}{n_i} + (1 - \lambda_i)\frac{\sum_{k=1}^{n}y_k}{n} | ||
S_i = \lambda_i\frac{\sum_{k\in L_i}Y_k}{n_i} + (1 - \lambda_i)\frac{\sum_{k=1}^{n}Y_k}{n} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was more opinionated, but changed to capital Y
to match the equation for binary case and the Micci-Barreca paper.
cc @thomasjpfan
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a missing one. Thanks @lucyleeow
Thanks @lucyleeow LGTM. |
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Fixes some typos in the math equation in Target Encoder section of the user guide.
Any other comments?