testRF: Test a random forest classifier

Description Usage Arguments Author(s) See Also

Description

Function to apply a random forest classifier to some data.

Usage

1
testRF(featDirs, modelName, saveDir, testNames)

Arguments

featDirs

Path to a directory (or list of directories) containing features, i.e., computed by the function sensorsToFeatures.

modelName

Path to pre-trained model.

saveDir

Path to a directory where predictions will be saved. Predictions will be saved in files named <identifier>.csv with two fields: timestamp, prediction.

testNames

List of participant identifiers to use.

Author(s)

Katherine Ellis

See Also

classify, testHMM



Search within the TLBC package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.