-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-22993][ML] Clarify HasCheckpointInterval param doc #20188
Conversation
cc @srowen @holdenk The MLlib counterparts actually make mention of this, but for some reason the note never got ported over to ML package. The only caveat I can think of is that this doc is the same for all algos that inherit it, but a new algo could potentially not ignore it, but throw an error or manually set the checkpoint dir. For now, ALS, LDA, and GBT all use it and ignore it in the case the checkpoint dir is not set. |
Test build #85807 has finished for PR 20188 at commit
|
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.
Good call @felixcheung! Will update shortly. |
Test build #85881 has finished for PR 20188 at commit
|
Actually in R setCheckpointDir method is not attached to the SparkContext; I’d leave it as “not set” or “not set in the session”
https://spark.apache.org/docs/latest/api/R/setCheckpointDir.html
|
Thanks, latest commit should fix it. |
Test build #85886 has finished for PR 20188 at commit
|
merged to master/2.3 |
## What changes were proposed in this pull request? Add a note to the `HasCheckpointInterval` parameter doc that clarifies that this setting is ignored when no checkpoint directory has been set on the spark context. ## How was this patch tested? No tests necessary, just a doc update. Author: sethah <[email protected]> Closes #20188 from sethah/als_checkpoint_doc. (cherry picked from commit 70bcc9d) Signed-off-by: Felix Cheung <[email protected]>
What changes were proposed in this pull request?
Add a note to the
HasCheckpointInterval
parameter doc that clarifies that this setting is ignored when no checkpoint directory has been set on the spark context.How was this patch tested?
No tests necessary, just a doc update.