-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[MLLIB][SPARK-5502] User guide for isotonic regression #4536
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
Test build #27297 has started for PR 4536 at commit
|
Test build #27298 has started for PR 4536 at commit
|
…ples for Scala and Java
ad98881
to
504b5c3
Compare
Test build #27299 has started for PR 4536 at commit
|
…ples for Scala and Java
Test build #27300 has started for PR 4536 at commit
|
https://issues.apache.org/jira/browse/SPARK-5502 mentions the guide should be in docs/mllib-regression.md. I had to create the file. Don't we want to use existing mllib-classification-regression.md instead? |
@zapletal-martin My bad. It should be |
@@ -0,0 +1,101 @@ | |||
4710.28,500.00,1.00 |
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.
Shall we make the data in range [0, 1](to simulate predictions from logistic regression)? If the weights are always 1.0
, we can remove it from the sample data.
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.
Btw, we can use .txt
instead of .csv
to be consistent with other files in the same folder.
Test build #27297 has finished for PR 4536 at commit
|
Test PASSed. |
Test build #27298 has finished for PR 4536 at commit
|
Test PASSed. |
Test build #27300 has finished for PR 4536 at commit
|
Test PASSed. |
Test build #27299 has finished for PR 4536 at commit
|
Test PASSed. |
…the page, updated data and examples
Test build #27352 has started for PR 4536 at commit
|
…ge rather than the code/implementation specific terms
Test build #27354 has started for PR 4536 at commit
|
Test build #27352 has finished for PR 4536 at commit
|
Test PASSed. |
Test build #27354 has finished for PR 4536 at commit
|
Test PASSed. |
@zapletal-martin Could you merge the user guide to |
@mengxr can you please expand on that? I am not sure I understand your request. Isotonic regression belongs to regression category. Documentation for that category is in mllib-classification-regression.md. It however only contains links to other documentation pages and no user guides. The existing links lead to linear models, decision trees and naive bayes. Isotonic regression does not fit into any of those which is the reason why I created a new page. |
@zapletal-martin You are right. Let's keep the current layout. |
User guide for isotonic regression added to docs/mllib-regression.md including code examples for Scala and Java. Author: martinzapletal <zapletal-martin@email.cz> Closes #4536 from zapletal-martin/SPARK-5502 and squashes the following commits: 67fe773 [martinzapletal] SPARK-5502 reworded model prediction rules to use more general language rather than the code/implementation specific terms 80bd4c3 [martinzapletal] SPARK-5502 created docs page for isotonic regression, added links to the page, updated data and examples 7d8136e [martinzapletal] SPARK-5502 Added documentation for Isotonic regression including examples for Scala and Java 504b5c3 [martinzapletal] SPARK-5502 Added documentation for Isotonic regression including examples for Scala and Java (cherry picked from commit 61eb126) Signed-off-by: Xiangrui Meng <meng@databricks.com>
LGTM. Merged into master and branch-1.3. Thanks! |
User guide for isotonic regression added to docs/mllib-regression.md including code examples for Scala and Java.