Skip to content

Commit

Permalink
some print
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-s committed Oct 13, 2023
1 parent 5d9cbe7 commit c12d4d9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ch03/ch03.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,12 +360,9 @@ def predict(self, X):



lr.predict_proba(X_test_std[:3, :])
print(f"Wahrscheinlichkeit der Klassenzugehörigkeit: {lr.predict_proba(X_test_std[:3, :])}")




lr.predict_proba(X_test_std[:3, :]).sum(axis=1)
print(f"Summe: {lr.predict_proba(X_test_std[:3, :]).sum(axis=1)}")



Expand Down

0 comments on commit c12d4d9

Please sign in to comment.