-
Notifications
You must be signed in to change notification settings - Fork 30
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
Logistic Regression Support for DataGen #563
Conversation
build |
# Logistric Regression sigmoid and sample | ||
if logistic_regression: | ||
if use_cupy: | ||
prob = 1 - 1 / (1 + cp.exp(-y)) |
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.
It seems y gets larger, prob will be smaller. Maybe not an issue. PR looks good.
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.
Yes if this is prob of selecting 1, it should be 1/(1 + exp(-y))
.github/workflows/blossom-ci.yml
Outdated
NvTimLiu,\ | ||
YanxuanLiu,\ | ||
zhanga5,\ | ||
rishic3,\ | ||
Er1cCheng,\ |
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.
Strange. This change was already merged in. Not clear why it is showing as diff.
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.
I think maybe I did the merge in a wrong way so it's pulled as a diff.
build |
1 similar comment
build |
2f44219
to
1c43d95
Compare
build |
1 similar comment
build |
As a followup, will be good to add some help information for the new logistic option. |
Add in support for generate random logistic regression binary label used for benchmark. Minor bug fix for argument parsing.