GenericEnsembleML
org.encog.ensemble

Class GenericEnsembleML

    • Constructor Detail

      • GenericEnsembleML

        public GenericEnsembleML(MLMethod fromML,                 String description)
    • Method Detail

      • train

        public void train(double targetError,         boolean verbose)
        Description copied from interface: EnsembleML
        Train the ML to a certain accuracy.
        Specified by:
        train in interface EnsembleML
        Parameters:
        targetError - Target error.
        verbose - Verbose mode.
      • setMl

        public void setMl(MLMethod newMl)
        Description copied from interface: EnsembleML
        Set the MLMethod to run
        Specified by:
        setMl in interface EnsembleML
        Parameters:
        newMl - The new ML.
      • classify

        public int classify(MLData input)
        Description copied from interface: MLClassification
        Classify the input into a group.
        Specified by:
        classify in interface MLClassification
        Parameters:
        input - The input data to classify.
        Returns:
        The group that the data was classified into.
      • compute

        public MLData compute(MLData input)
        Description copied from interface: MLRegression
        Compute regression.
        Specified by:
        compute in interface MLRegression
        Parameters:
        input - The input data.
        Returns:
        The output data.
      • getInputCount

        public int getInputCount()
        Specified by:
        getInputCount in interface MLInput
        Returns:
        The input.
      • getOutputCount

        public int getOutputCount()
        Specified by:
        getOutputCount in interface MLOutput
        Returns:
        The output count.
      • train

        public void train(double targetError)
        Description copied from interface: EnsembleML
        Train the ML to a certain accuracy.
        Specified by:
        train in interface EnsembleML
        Parameters:
        targetError - The target error.
      • winner

        public int winner(MLData output)
      • setTraining

        public void setTraining(MLTrain train)
        Description copied from interface: EnsembleML
        Set the training for this member
        Specified by:
        setTraining in interface EnsembleML
        Parameters:
        train - The trainer.

SCaVis 1.8 © jWork.org