Last active
November 6, 2021 16:41
-
-
Save khuyentran1401/4167013774c8abb7d2d7097f1a22212c to your computer and use it in GitHub Desktop.
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
@task(log_stdout=True) | |
def report_accuracy(predictions: np.ndarray, test_y: pd.DataFrame) -> None: | |
target = ... | |
accuracy = ... | |
print(f"Model accuracy on test set: {round(accuracy * 100, 2)}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment