Skip to content

Commit a6e994c

Browse files
author
minjk-bl
committed
fix bug
1 parent 7db86e4 commit a6e994c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)