Package jline.api.mam
Class Map_stochcompKt
-
- All Implemented Interfaces:
public final class Map_stochcompKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixCellmap_stochcomp(MatrixCell MAP, IntArray retainIdx)Performs stochastic complementation on a MAP by eliminating specified states. final static MatrixCellmap_stochcomp(Matrix D0, Matrix D1, IntArray retainIdx)Performs stochastic complementation on a MAP by eliminating specified states. -
-
Method Detail
-
map_stochcomp
final static MatrixCell map_stochcomp(MatrixCell MAP, IntArray retainIdx)
Performs stochastic complementation on a MAP by eliminating specified states.
Stochastic complementation is a technique used to reduce the dimension of a MAP by eliminating certain states while preserving the statistical properties of the remaining states. This is useful for model reduction and analysis.
- Parameters:
MAP- The input MAP stored in a MatrixCell, containing the (D0, D1) matricesretainIdx- Array of indices of states to retain (0-based indexing)- Returns:
A MatrixCell representing the reduced MAP after stochastic complementation
-
map_stochcomp
final static MatrixCell map_stochcomp(Matrix D0, Matrix D1, IntArray retainIdx)
Performs stochastic complementation on a MAP by eliminating specified states.
- Parameters:
D0- The hidden transition matrix of the input MAPD1- The visible transition matrix of the input MAPretainIdx- Array of indices of states to retain (0-based indexing)- Returns:
A MatrixCell representing the reduced MAP after stochastic complementation
-
-
-
-