coser.algorithm
类 ReductionGAWithES
java.lang.Object
coser.algorithm.ReductionGAWithES
public class ReductionGAWithES
extends java.lang.Object
Project: The cost-sensitive rough sets project.
Summary: Reduction using genetic algorithms.
Author: Fan Min minfanphd@163.com and Jiabin Liu Copyright: The
source code and all documents are open and free. PLEASE keep this header
while revising the program.
Organizaion: Lab of Granular Computing,
Zhangzhou Normal University, Fujian 363000, China.
Progress: Almost done.
Written time: February 22, 2012.
Last modify time: April 27, 2012.
方法摘要
static java.lang.String |
batchGABasedMinimalTestCostReductionWithES(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReductionGAWithES
public ReductionGAWithES()
batchGABasedMinimalTestCostReductionWithES
public static java.lang.String batchGABasedMinimalTestCostReductionWithES(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
- Batch reduction to obtain minimal test-cost reducts. Reduction algorithms
are implemented in decision systems, and this method invoke them many
times with different test-cost settings to generate statistical results.
- 参数:
paraLambdaUpperBound - the upper bound of lambda, non-positive.paraLambdaLowerBound - the lower bound of lambda.paraLambdaStepLength - the step length of labda. For example, if the upper and lower
bounds are -0.5 and -2 respectively, and the step length is
0.5, then the lambda will have values -0.5, -1.0, -1.5, and
-2.0. Fan suggests to set the lower bound to -2.1 since the
computation of double values are not accurate.paraNumberOfChromosomes - the number of chromosome.paraNumberOfGeneration - the max generation.paraExperiments - the number of experiments to undertake. Each time the dataset
have different test-cost settings.paraShowDetail - show the detail of the program running. Only valid if
paraExperiments is not greater than 50.
- 返回:
- the message showing the result.
- 抛出:
java.lang.Exception - if something wrong happens.