Skip to content

Commit

Permalink
Merge c7fc8b1 into c928fd2
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Jul 20, 2020
2 parents c928fd2 + c7fc8b1 commit a1dfd9f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mlxtend/evaluate/bias_variance_decomp.py
Expand Up @@ -78,8 +78,6 @@ def bias_variance_decomp(estimator, X_train, y_train, X_test, y_test,
axis=0,
arr=all_pred)

avg_expected_loss = (main_predictions != y_test).sum()/y_test.size

avg_expected_loss = np.apply_along_axis(lambda x:
(x != y_test).mean(),
axis=1,
Expand Down

0 comments on commit a1dfd9f

Please sign in to comment.