Class BOSSClassifier

    • Constructor Detail

      • BOSSClassifier

        public BOSSClassifier​(int windowLength,
                              int alphabetSize,
                              double[] alphabet,
                              int wordLength,
                              boolean meanCorrected)
    • Method Detail

      • getUnivirateHistograms

        public java.util.List<java.util.Map<java.lang.Integer,​java.lang.Integer>> getUnivirateHistograms()
      • setHistogramUnivirate

        public void setHistogramUnivirate​(java.util.List<java.util.Map<java.lang.Integer,​java.lang.Integer>> histograms)
      • predict

        public java.lang.Integer predict​(double[] univInstance)
                                  throws PredictionException
        Description copied from class: ASimplifiedTSClassifier
        Performs a prediction based on the given univariate double[] instance representation and returns the result.
        Specified by:
        predict in class ASimplifiedTSClassifier<java.lang.Integer>
        Parameters:
        univInstance - Univariate instance given by a double vector of time series values used for the prediction
        Returns:
        Returns the result of the prediction
        Throws:
        PredictionException - If something fails during the prediction process.
      • predict

        public java.lang.Integer predict​(java.util.List<double[]> multivInstance)
                                  throws PredictionException
        Description copied from class: ASimplifiedTSClassifier
        Performs a prediction based on the given multivariate list of double[] instance representation and returns the result.
        Overrides:
        predict in class ASimplifiedTSClassifier<java.lang.Integer>
        Parameters:
        multivInstance - Multivariate instance given by a list of multiple double[] time series used for the prediction
        Returns:
        Returns the result of the prediction
        Throws:
        PredictionException - If something fails during the prediction process.