Answers for "computecost pyspark"

0

computecost pyspark

print('Silhouette with squared euclidean distance:')
pdt = model.transform(final_data)
from pyspark.ml.evaluation import ClusteringEvaluator
evaluator = ClusteringEvaluator()
silhouette = evaluator.evaluate(pdt)
print(silhouette)
Posted by: Guest on October-01-2021

Python Answers by Framework

Browse Popular Code Answers by Language