coser.algorithm
类 ReductionACO

java.lang.Object
  继承者 coser.algorithm.ReductionACO

public class ReductionACO
extends java.lang.Object

Project: The cost-sensitive rough sets project.

Summary: The Test Cost Sensitive Decision System with Ant Colony Optimization Batch Experiments
Author: Zilong Xu E-main: xzl-wy163@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: Test-cost-sensitive attribute reduction based on Ant Colony Optimization implemented.
Written time: February, 2012
Last modify time: December 27, 2012


字段摘要
修饰符 和 类型 字段 和 描述
(专用软件包) static double averageExceedingFactorPer
          The average exceeding factor
(专用软件包) static double[] exceedingFactorSum
          The array of exceeding factor sum
(专用软件包) static int[] findingOptimalCount
          The array of finding optimal counts
(专用软件包) static double[] maximalExceedingFactor
          The array of maximal exceeding factor
(专用软件包) static double minimalMaximalExceedingFactor
          The minimal maximal exceeding factor
(专用软件包) static double overallExceedingFactorSum
          The overallExceedingFactorSum
(专用软件包) static double overallFindingOptimalCount
          The finding optimal factor
 
构造方法摘要
构造函数 和 描述
ReductionACO()
           
 
方法摘要
修饰符 和 类型 方法 和 描述
static java.lang.String batchMinimalTestCostReductionACO(int paraAntsCounts, double paraAlphaUpperBound, double paraAlphaLowerBound, double paraAlphaStepLength, int paraExperiments)
          Batch reduction to obtain minimal test-cost reducts.
static double getAverageExceedingFactorPer()
          Get the average exceeding factor
static double getMinimalMaximalExceedingFactor()
          Get the minimal maximal exceeding factor
static double getOverallFindingOptimalCount()
          Get the overall finding optimal factor
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

findingOptimalCount

static int[] findingOptimalCount
The array of finding optimal counts


maximalExceedingFactor

static double[] maximalExceedingFactor
The array of maximal exceeding factor


exceedingFactorSum

static double[] exceedingFactorSum
The array of exceeding factor sum


overallFindingOptimalCount

static double overallFindingOptimalCount
The finding optimal factor


minimalMaximalExceedingFactor

static double minimalMaximalExceedingFactor
The minimal maximal exceeding factor


averageExceedingFactorPer

static double averageExceedingFactorPer
The average exceeding factor


overallExceedingFactorSum

static double overallExceedingFactorSum
The overallExceedingFactorSum

构造方法详细信息

ReductionACO

public ReductionACO()
方法详细信息

batchMinimalTestCostReductionACO

public static java.lang.String batchMinimalTestCostReductionACO(int paraAntsCounts,
                                                                double paraAlphaUpperBound,
                                                                double paraAlphaLowerBound,
                                                                double paraAlphaStepLength,
                                                                int paraExperiments)
                                                         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.

参数:
paraAlphaUpperBound - the upper bound of alpha, non-positive.
paraAlphaLowerBound - the lower bound of alpha.
paraAlphaStepLength - the step length of alpha. 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.
paraExperiments - the number of experiments to undertake. Each time the dataset have different test-cost settings.
返回:
the message showing the result.
抛出:
java.lang.Exception - if something wrong happens.

getOverallFindingOptimalCount

public static double getOverallFindingOptimalCount()
Get the overall finding optimal factor

返回:
The finding optimal count

getMinimalMaximalExceedingFactor

public static double getMinimalMaximalExceedingFactor()
Get the minimal maximal exceeding factor

返回:
The minimal maximal exceeding factor

getAverageExceedingFactorPer

public static double getAverageExceedingFactorPer()
Get the average exceeding factor

返回:
The average exceeding factor