Skip to content
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

documentation on checkpointInterval for connectedComponents is insufficient #431

Open
fritshermans opened this issue May 25, 2023 · 1 comment

Comments

@fritshermans
Copy link

The api documentation on connectedComponents is not clear about what the checkpointInterval argument is affecting:
"checkpointInterval – checkpoint interval in terms of number of iterations (default: 2)"
Does the value of this argument have impact on performance? On actual results?

@uazafar
Copy link

uazafar commented Jul 17, 2023

Based on the usage of the variable checkpointInterval elsewhere in Spark, this implies the frequency at which we cache the results but it requires a checkpoint directory to be set in the SparkContext. So there will be a performance hit I think.

I'm assuming it works in the same way as:
(https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.ml.recommendation.ALS.html?highlight=checkpoint#pyspark.ml.recommendation.ALS.checkpointInterval)

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

No branches or pull requests

2 participants