Last active
May 11, 2022 09:46
-
-
Save erykml/eb6d10438ef53ad72b966e4734bc4e9d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import pandas as pd | |
| import numpy as np | |
| pred_df = pd.DataFrame( | |
| data={"class": [1, 1, 1, 0, 0], | |
| "prob": [0.9, 0.85, 0.6, 0.4, 0.2]} | |
| ) | |
| pred_df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment