Skip to content

Commit 9a81d22

Browse files
author
minjk-bl
committed
Evaluation code indent fixed
1 parent 6cec08f commit 9a81d22

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
@@ -216,7 +216,7 @@ define([
216216
code = new com_String();
217217
code.appendLine("# MAPE(Mean Absolute Percentage Error)");
218218
code.appendLine('def MAPE(y_test, y_pred):');
219-
code.appendLine(' return np.mean(np.abs((y_test - pred) / y_test)) * 100');
219+
code.appendLine(' return np.mean(np.abs((y_test - pred) / y_test)) * 100');
220220
code.appendLine();
221221
code.appendFormat('MAPE({0}, {1})', targetData, predictData);
222222
codeCells.push(code.toString());

0 commit comments

Comments
 (0)