Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a81d22

Browse files
author
minjk-bl
committed
Evaluation code indent fixed
1 parent6cec08f commit9a81d22

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=newcom_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)

[8]ページ先頭

©2009-2025 Movatter.jp