Package jline.lib.kpctoolbox.erchmm
Class ERCHMMKt
-
- All Implemented Interfaces:
public final class ERCHMMKt
-
-
Method Summary
Modifier and Type Method Description final static ERCHMMFitResulterchmm_emfit(DoubleArray trace, IntArray orders, Integer iterMax, Double iterTol, Boolean verbose)Fits an Extended Renewal Continuous-time Hidden Markov Model to a trace using EM algorithm. final static MatrixCellerchmm_emfit_simple(DoubleArray trace, IntArray orders, Integer iterMax, Double iterTol)Simplified version of erchmm_emfit that returns only the MAP. -
-
Method Detail
-
erchmm_emfit
final static ERCHMMFitResult erchmm_emfit(DoubleArray trace, IntArray orders, Integer iterMax, Double iterTol, Boolean verbose)
Fits an Extended Renewal Continuous-time Hidden Markov Model to a trace using EM algorithm.
- Parameters:
trace- Array of inter-arrival timesorders- Either a single integer (sum of orders) or array of Erlang branch ordersiterMax- Maximum number of EM iterations (default 300)iterTol- Convergence tolerance (default 1e-7)verbose- Whether to print progress (default false)- Returns:
ERCHMMFitResult containing fitted MAP, log-likelihood, and best orders
-
erchmm_emfit_simple
final static MatrixCell erchmm_emfit_simple(DoubleArray trace, IntArray orders, Integer iterMax, Double iterTol)
Simplified version of erchmm_emfit that returns only the MAP.
-
-
-
-