Last chance! 50% off unlimited learning
Sale ends in
looXval(annotations, accelerometers=NULL, GPS=NULL, winSize=60, saveDir, names=NULL,
strat=TRUE)
Or, path to a directory containing instance-level annotations, i.e., created by the function annotationsToLabels.
Or, path to a directory (or list of directories) containing previously computed accelerometer features, i.e., computed by the function sensorsToFeatures.
Or, path to a directory containing previously computed GPS features, i.e., computed by the function sensorsToFeatures.
trainModel
,classify
## Not run:
#
# # perform leave-one-out cross-validation on a dataset
# myAnnotations="~/myStudy/annotations.csv"
# myAccel="~/myStudy/HipGT3X+"
# winSize=60
# myPredictions="~/myStudy/looXvalPredictions"
# looXval(annotations=myAnnotations, accelerometers=myAccel, winSize=WS, saveDir=myPredictions)
# ## End(Not run)
Run the code above in your browser using DataLab