|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcoser.algorithm.NeighborhoodReduction
coser.algorithm.ReductionNHGA
public class ReductionNHGA extends NeighborhoodReduction
Project: The cost-sensitive rough sets project.
Summary: Reduction using genetic algorithms.
Author: Shujiao Liao sjliao2011@163.com
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: August 11, 2011.
Last modify time: September 1, 2011.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) long |
reductionEndTime
|
(专用软件包) long |
reductionStartTime
|
| 从类 coser.algorithm.NeighborhoodReduction 继承的字段 |
|---|
currentSystem, dependency, efficiency, feature, messageEfficiency, messageFeature, num_end, sumOptimalTestCost |
| 构造函数 和 描述 |
|---|
ReductionNHGA()
|
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
java.lang.String |
batchComparisonNH(double delta,
double efc_ctrl,
double paraLambda,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
boolean paraAlgorithm,
int paraExperiments)
Comparison of backtrack and heuristic approaches to TCS-DS-NH. |
static java.lang.String |
batchNHGABasedMinimalReduct(double delta,
int paraNumberOfChromosomes,
int paraGeneration,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal reducts. |
static java.lang.String |
batchNHGABasedMinimalTestCostReduction(double delta,
double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
boolean paraAlgorithm,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
long |
getNHReductionRunTime()
Get the reduction run time. |
void |
neighborhoodReduction(double[][] data_array,
double delta,
double efc_ctrl)
The only constructor. |
| 从类 coser.algorithm.NeighborhoodReduction 继承的方法 |
|---|
assignment, attributeDependency, copyArray, getEfficiency, getFeature, getmessageEfficiency, getmessageFeature, getNum_Select, maxid |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
long reductionStartTime
long reductionEndTime
| 构造方法详细信息 |
|---|
public ReductionNHGA()
| 方法详细信息 |
|---|
public static java.lang.String batchNHGABasedMinimalTestCostReduction(double delta,
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 batchNHGABasedMinimalReduct(double delta,
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.
public java.lang.String batchComparisonNH(double delta,
double efc_ctrl,
double paraLambda,
int paraNumberOfChromosomes,
int paraNumberOfGeneration,
boolean paraAlgorithm,
int paraExperiments)
throws java.lang.Exception
paraLambda - the value of lambda.paraExperiments - the number of experiments to undertake. Each time the dataset
have different test-cost settings.java.lang.Exception - if something wrong happens.
public void neighborhoodReduction(double[][] data_array,
double delta,
double efc_ctrl)
throws java.lang.Exception
java.lang.Exceptionpublic long getNHReductionRunTime()
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||