Interface IDictionaryUpdater

  • All Known Implementing Classes:
    BlockCoordinateDescentDictionaryUpdater

    public interface IDictionaryUpdater
    Interface for objects used to update a dictionary used in sparse coding. This is generally done during the dictionary learning process.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void updateDictionary​(smile.math.matrix.DenseMatrix dictionary, smile.math.matrix.DenseMatrix auxMatrixU, smile.math.matrix.DenseMatrix auxMatrixV)
      Does a dictionary update based on some algorithm utilizing the input matrices.
    • Method Detail

      • updateDictionary

        void updateDictionary​(smile.math.matrix.DenseMatrix dictionary,
                              smile.math.matrix.DenseMatrix auxMatrixU,
                              smile.math.matrix.DenseMatrix auxMatrixV)
                       throws MatrixDimensionMismatch,
                              VectorDimensionMismatch
        Does a dictionary update based on some algorithm utilizing the input matrices.
        Parameters:
        dictionary - The dictionary to be updated.
        auxMatrixU - An auxiliary matrix used to update the dictionary.
        auxMatrixV - Another auxiliary matrix used to update the dictionary.
        Throws:
        MatrixDimensionMismatch - Thrown when the operations cannot be completed because the dimensions of the dictionary and the two auxiliary matrices mismatch.
        VectorDimensionMismatch - Thrown when an operation cannot be done be cause a dimension in the auxiliary matrices do not work with the input dictionary.