Description Usage Arguments Value Author(s) See Also Examples
Calculates several performance metrics.
1 | calcPerformance(annotations, predictions, winSize, names=NULL, combineStanding=FALSE)
|
annotations |
Path to file containing bout-level annotations, a directory of files containing bout-level annotations, or a directory of instance-level annotations (i.e., the output of funciton annotationsToLabels). |
predictions |
Path to directory containing predictions (i.e., the saveDir argument to the function classify). |
winSize |
Window size in seconds. |
names |
(Optional) List of identifiers to use. |
combineStanding |
logical: combine standing still and standing moving into a single category? |
Object containing confusion matrix and several performance metrics.
Katherine Ellis
1 2 3 4 5 6 7 8 9 | ## Not run:
# compute the performance of a model on a dataset
myAnnotations="~/myStudy/annotations.csv"
myPredictions="~/myStudy/myModelPredictions"
WS=60
calcPerformance(annotations=myAnnotations, predictions=myPredictions, winSize=WS)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.