zhengruifeng created SPARK-32676:
------------------------------------
Summary: Fix double caching in KMeans/BiKMeans
Key: SPARK-32676
URL: https://issues.apache.org/jira/browse/SPARK-32676
Project: Spark
Issue Type: Improvement
Components: ML
Affects Versions: 3.0.0, 3.1.0
Reporter: zhengruifeng
In the .mllib side, if the storageLevel of input {{data}} is always ignored and
cached twice:
{code:java}
@Since("0.8.0")
def run(data: RDD[Vector]): KMeansModel = {
val instances = data.map(point => (point, 1.0))
runWithWeight(instances, None)
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]