Package jline.api.mam

Class Mamap2m_fit_mmapKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static MatrixCell mamap2m_fit_mmap(MatrixCell MMAP, DoubleArray fbsWeights) Fits a MAPH(2,m) or MAMAP(2,m) that matches the characteristics of the input MMAP.
      final static MatrixCell mamap2m_fit_mmap(MatrixCell MMAP) Fits a MAPH(2,m) or MAMAP(2,m) that matches the characteristics of the input MMAP.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • mamap2m_fit_mmap

        @JvmOverloads() final static MatrixCell mamap2m_fit_mmap(MatrixCell MMAP, DoubleArray fbsWeights)

        Fits a MAPH(2,m) or MAMAP(2,m) that matches the characteristics of the input MMAP.

        This function is a wrapper that extracts the necessary characteristics from the input MMAP and calls the core mamap2m_fit function. Three characteristics of the marked process are matched either exactly or approximately:

        • Class probabilities (always matched exactly)

        • Forward moments (by default)

        • Backward moments (by default)

        Different pairs of characteristics can be chosen by specifying different weights in the optional fbsWeights parameter. When weights are equal, forward + backward moments are preferred over forward + sigma and backward + sigma combinations.

        Parameters:
        MMAP - the input MMAP to fit, represented as a MatrixCell where MMAP0 = D0, MMAP1 = aggregate D1, and MMAP2+i = D_{i+1} for i = 0, 1, ...
        fbsWeights - the weights assigned to forward moments, backward moments, and class transition probabilities respectively.
        Returns:

        fitted MAMAP(2,m) represented as a MatrixCell

      • mamap2m_fit_mmap

        @JvmOverloads() final static MatrixCell mamap2m_fit_mmap(MatrixCell MMAP)

        Fits a MAPH(2,m) or MAMAP(2,m) that matches the characteristics of the input MMAP.

        This function is a wrapper that extracts the necessary characteristics from the input MMAP and calls the core mamap2m_fit function. Three characteristics of the marked process are matched either exactly or approximately:

        • Class probabilities (always matched exactly)

        • Forward moments (by default)

        • Backward moments (by default)

        Different pairs of characteristics can be chosen by specifying different weights in the optional fbsWeights parameter. When weights are equal, forward + backward moments are preferred over forward + sigma and backward + sigma combinations.

        Parameters:
        MMAP - the input MMAP to fit, represented as a MatrixCell where MMAP0 = D0, MMAP1 = aggregate D1, and MMAP2+i = D_{i+1} for i = 0, 1, ...
        Returns:

        fitted MAMAP(2,m) represented as a MatrixCell