Rdocumentation
powered by
Learn R Programming
TLBC (version 1.0)
testHMM: Test a hidden Markov model
Description
Function to apply a HMM classifier to some data.
Usage
testHMM(predDir, modelName, saveDir, names)
Arguments
predDir
Path to a directory containing predictions made by the random forest classiifer (
i.e.
, the
saveDir
argument of
testRF
).
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
.
names
List of participant identifiers to use.
See Also
classify
,
testRF