getGenericModel: Builds the generic HMM model.

Description Usage Arguments Value

View source: R/getGenericModel.R

Description

Builds the generic HMM model using the emission probabilities given by getEmissionProbs().

Usage

1
2
3
4
5
6
7
getGenericModel(
  nrows,
  ncols,
  emissionProbs,
  initSteady = TRUE,
  aprioriProb = NULL
)

Arguments

nrows

Number of rows in the grid.

ncols

Number of columns in the grid.

emissionProbs

A matrix with the event location probabilities. The number of rows equals the number of tiles in the grid and the number of columns equals the number of antennas. This matrix is obtained by calling getEmissionProbs() function.

initSteady

If TRUE the initial apriori distribution is set to the steady state of the transition matrix, if FALSE the apriori distribution should be given as a parameter.

aprioriProb

The apriori distribution for the HMM model. It is needed only if initSteady is FALSE.

Value

Returns an HMM model with the initial apriori distribution set to the steady state of the transition matrix or to the value given by aprioriProb parameter.


bogdanoancea/deduplication documentation built on Dec. 2, 2020, 11:22 p.m.