Learn R Programming

TLBC (version 1.0)

trainHMM: Train a hidden Markov model

Description

Function to train a HMM classifier from some data and a trained random forest model.

Usage

trainHMM(labelDir, rf, names, combineStanding=FALSE)

Arguments

labelDir
Path to a directory containing instance-level annotations, i.e., created by the function annotationsToLabels.
rf
A random forest model.
names
List of participant identifiers to use.
combineStanding
If TRUE, combine the labels standing still and standing moving into a single label standing.

See Also

trainModel, trainRF