jakubczakon
09/16/2021, 3:54 PMdef report_accuracy(predictions: np.ndarray, test_y: pd.DataFrame,
                                 neptune_run: neptune.run.Handler) -> None:
    target = np.argmax(test_y.to_numpy(), axis=1)
    accuracy = np.sum(predictions == target) / target.shape[0]
    neptune_run['nodes/report/accuracy'] = accuracy * 100