classify(accelerometers=NULL, GPS=NULL, modelName, saveDir, names=NULL)
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.
## Not run:
#
# # use a pre-trained model to classify hip accelerometer data
# myAccel="~/myStudy/HipGT3X+"
# ovrWgtModel="OverweightWomenHipGT3X+.RData"
# myPredictions="~/myStudy/predictions"
# classify(accelerometers=myAccel, modelName=ovrWgtModel, saveDir=myPredictions)
# ## End(Not run)
Run the code above in your browser using DataLab