Created
September 27, 2021 10:33
-
-
Save janbenetka/6f43810d2fae74ee2994a158c16ffcc4 to your computer and use it in GitHub Desktop.
[Function header] #python #bestpractices
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
def get_accuracy(series, recovered_series): | |
"""Compare a simulated and recovered series in terms of overall label accuracy. | |
Input | |
----- | |
series : list of lists | |
recovered_series : list of lists | |
Output | |
------ | |
out : dict | |
Example | |
------- | |
>>> performance = get_accuracy(series, recovered_series) | |
>>> performance | |
{'acc': 0.9708, 'baseline': 0.8539} | |
""" | |
x = [...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment