|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcoser.algorithm.ReductionGA
public class ReductionGA extends java.lang.Object
Project: The cost-sensitive rough sets project.
Summary: Reduction using genetic algorithms.
Author: Guiying Pan
Copyright: The source code and all documents are open and free. PLEASE keep
this header while revising the program.
Organization: Lab of Granular Computing,
Zhangzhou Normal University, Fujian 363000, China.
Progress: Almost done.
Written time: August 11, 2011.
Last modify time: September 1, 2011.
| 构造函数 和 描述 |
|---|
ReductionGA()
|
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
static java.lang.String |
batchGABasedMinimalReduct(int paraNumberOfChromosomes,
int paraGeneration,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal reducts. |
static java.lang.String |
batchGABasedMinimalTestCostReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
boolean paraAlgorithm,
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 |
| 构造方法详细信息 |
|---|
public ReductionGA()
| 方法详细信息 |
|---|
public static java.lang.String batchGABasedMinimalTestCostReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
boolean paraAlgorithm,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
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.paraAlgorithm - Algorithms choice.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.java.lang.Exception - if something wrong happens.
public static java.lang.String batchGABasedMinimalReduct(int paraNumberOfChromosomes,
int paraGeneration,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
paraNumberOfChromosomes - the number of chromosomes.paraGeneration - 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.java.lang.Exception - if something wrong happens.
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||