Created
June 11, 2021 05:52
-
-
Save tommydangerous/89b54f330f706c68846cfb43f847b1ce to your computer and use it in GitHub Desktop.
baseline_accuracy.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
baseline_accuracy_score = y_test.value_counts()[0] / len(y_test) | |
print(f'Model performance. : {accuracy}') | |
print(f'Baseline performance: {baseline_accuracy_score}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment