Undocumented
| Class | |
Undocumented |
| Function | calc |
Undocumented |
| Function | collect |
Undocumented |
| Function | copy |
Undocumented |
| Function | evaluate |
Sweep through steps possible thresholds, between 0 and the max value in the distribution (or max_score, if given), and evaluate the hit and false alarm rate at each point. Yields a generator of hit-rate (recall/TPR), false positive rate, accuracy, precision, sensitivity, and f1 score... |
| Function | get |
Undocumented |
| Function | load |
Undocumented |
| Function | load |
Undocumented |
| Function | make |
Undocumented |
| Function | plot |
Plot an ROC curve for the given matched and non-matched scores :param matched: A numpy array of matched scores :param non_matched: A numpy array of non-matched scores :param label: The label for the plotted line :param title: The title for graph :param axes: The axes to use for the plot; if None, new axes will be made :param steps: The number of steps to use for the plot (# bins) :param verbose: When true, output information about threshold values :param max_value: Use this to override the max score to consider (useful for zooming the bins on the low FA area) :return: The axes used for the plot... |
| Function | region |
Undocumented |
| Constant | AD |
Undocumented |
| Constant | CONTROL |
Undocumented |
| Constant | MSA |
Undocumented |
| Constant | PD |
Undocumented |
Sweep through steps possible thresholds, between 0 and the max value in the distribution (or max_score, if given), and evaluate the hit and false alarm rate at each point. Yields a generator of hit-rate (recall/TPR), false positive rate, accuracy, precision, sensitivity, and f1 score
| Parameters | |
steps:int | The number of thresholds to test |
matched:np.ndarray | The distribution of match scores |
nonnp.ndarray | The distribution of non-match s ores |
verbose:bool | Set to True to make this method print out the score information for each threshold |
maxfloat | Set to any float to override the maximum score value derived from the match/non-match distributions |
| Returns | |
Iterable[ | Undocumented |
Plot an ROC curve for the given matched and non-matched scores :param matched: A numpy array of matched scores :param non_matched: A numpy array of non-matched scores :param label: The label for the plotted line :param title: The title for graph :param axes: The axes to use for the plot; if None, new axes will be made :param steps: The number of steps to use for the plot (# bins) :param verbose: When true, output information about threshold values :param max_value: Use this to override the max score to consider (useful for zooming the bins on the low FA area) :return: The axes used for the plot
| Parameters | |
matched:np.ndarray | Undocumented |
nonnp.ndarray | Undocumented |
| label | Undocumented |
| title | Undocumented |
| axes | Undocumented |
| steps | Undocumented |
| verbose | Undocumented |
| max | Undocumented |