Skip to content

Commit 6ffcde6

Browse files
author
minjk-bl
committed
fix bug
1 parent 079c50f commit 6ffcde6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/m_ml/evaluation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ define([
208208
}
209209
if (silhouetteScore) {
210210
code.appendLine("# Silhouette score");
211-
code.appendFormatLine("print(f'Silhouette score: {silhouette_score({0}, {1})}')", targetData, predictData);
211+
code.appendFormatLine("print(f'Silhouette score: {metrics.cluster.silhouette_score({0}, {1})}')", targetData, predictData);
212212
}
213213
}
214214
// FIXME: as seperated cells

0 commit comments

Comments
 (0)