Interface ISparseDictionaryLearner

  • All Known Implementing Classes:
    OnlineDictionaryLearner

    public interface ISparseDictionaryLearner
    Interfaces for objects intended to learn a dictionary used in sparse coding.
    Author:
    Dustin Kempton, Data Mining Lab, Georgia State University
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      smile.math.matrix.DenseMatrix train​(List<double[]> X)
      Trains the sparse dictionary for the passed Data.
    • Method Detail

      • train

        smile.math.matrix.DenseMatrix train​(List<double[]> X)
                                     throws MatrixDimensionMismatch,
                                            VectorDimensionMismatch
        Trains the sparse dictionary for the passed Data.
        Parameters:
        X - The data to train on. Each element in the list is a column vector in the input matrix.
        Returns:
        The sparse dictionary.
        Throws:
        MatrixDimensionMismatch - When matrix dimensions are mismatched for this operation.
        VectorDimensionMismatch - If this is thrown then there was something wrong internally.