Class DEAlgorithm
java.lang.Object
si.ijs.kt.clus.util.tools.optimization.OptimizationAlgorithm
si.ijs.kt.clus.util.tools.optimization.de.DEAlgorithm
Differential evolution algorithm.
- Author:
- Tea Tusar, Timo Aho Modified for multi target use 10.11.2008
-
Constructor Summary
ConstructorsConstructorDescriptionDEAlgorithm
(ClusStatManager stat_mgr, OptimizationProblem.OptimizationParameter dataInformation, ClusRuleSet rset) Constructor for classification and regression optimization. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkIfBest
(DEIndividual ind) Checks if the individual is the new best.optimize()
Start the actual optimization.void
OutputLog
(DEIndividual ind, int index, PrintWriter wrt) Print the gene to output file.void
Methods inherited from class si.ijs.kt.clus.util.tools.optimization.OptimizationAlgorithm
getSettings, postProcess
-
Constructor Details
-
DEAlgorithm
public DEAlgorithm(ClusStatManager stat_mgr, OptimizationProblem.OptimizationParameter dataInformation, ClusRuleSet rset) Constructor for classification and regression optimization.- Parameters:
stat_mgr
- StatisticsdataInformation
- The true values and predictions for the instances. These are used by OptimProbl. The optimization procedure is based on this data information
-
-
Method Details
-
optimize
Description copied from class:OptimizationAlgorithm
Start the actual optimization.- Specified by:
optimize
in classOptimizationAlgorithm
- Returns:
- The weights for the base learners.
-
OutputPop
- Throws:
IOException
-
checkIfBest
Checks if the individual is the new best. Replaces if this is the case. -
OutputLog
Print the gene to output file.
-