Documentation of 'org.encog.ensemble.GenericEnsembleML' Java class
GenericEnsembleML
org.encog.ensemble

Class GenericEnsembleML

    • Constructor Detail

      • GenericEnsembleML

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

      • train

        public void train(double targetError,
                          int maxIterations,
                          boolean verbose)
        Description copied from interface: EnsembleML
        Train the ML to a certain accuracy.
        Specified by:
        train in interface EnsembleML
        Parameters:
        targetError - Target error.
        maxIterations - Stop after this number of iterations
        verbose - Verbose mode.
      • 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.
      • train

        public void train(double targetError,
                          int maxIterations)
        Description copied from interface: EnsembleML
        Train the ML to a certain accuracy.
        Specified by:
        train in interface EnsembleML
        Parameters:
        targetError - Target error.
        maxIterations - Stop after this number of iterations
      • 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.
      • getMl

        public MLMethod getMl()
        Specified by:
        getMl in interface EnsembleML
        Returns:
        Returns the current MLMethod
      • 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.
      • 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.
      • getLabel

        public java.lang.String getLabel()
        Specified by:
        getLabel in interface EnsembleML
      • getError

        public double getError(EnsembleDataSet testset)
        Description copied from interface: EnsembleML
        Get the error for this ML on the dataset
        Specified by:
        getError in interface EnsembleML
        Parameters:
        testset - The dataset.
        Returns:
        The error.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.