Revision 5892bbf447f195d73f89b9ec64eb8abf671672f9 authored by Aman Omer on 05 December 2019, 17:54:45 UTC, committed by Sean Owen on 05 December 2019, 17:54:45 UTC
### What changes were proposed in this pull request?
Removed unnecessary persist.

### Why are the changes needed?
Persist in `PythonMLLibAPI.scala` is unnecessary because later in `run()` of `gmmAlg` is caching the data.
https://github.com/apache/spark/blob/710ddab39e20f49e917311c3e27d142b5a2bcc71/mllib/src/main/scala/org/apache/spark/mllib/clustering/GaussianMixture.scala#L167-L171

### Does this PR introduce any user-facing change?
No

### How was this patch tested?
Manually

Closes #26758 from amanomer/improperPersist.

Authored-by: Aman Omer <amanomer1996@gmail.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>
1 parent 35bab33
History
File Mode Size
src
pom.xml -rw-r--r-- 10.5 KB

back to top