|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectcoser.algorithm.Reduction
public class Reduction extends java.lang.Object
Project: The cost-sensitive rough sets project.
Summary: Reduction.
Author: Fan Min minfanphd@163.com
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: Half done.
Written time: March 17, 2011.
Last modify time: May 4, 2011.
| 构造函数 和 描述 |
|---|
Reduction()
|
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
static java.lang.String |
batchComparisonErrorRange(double paraLambda,
int paraExperiments)
Comparison of backtrack and heuristic approaches to TCS-DS-ER. |
static java.lang.String |
batchComparisonNormalError(double paraLambda,
double paraDelta,
int paraExperiments)
Comparison of backtrack and two heuristic approaches to TCS-DS-NE. |
static java.lang.String |
batchComparisonNormalError(double paraLambda,
int paraExperiments)
Comparison of backtrack and heuristic approaches to TCS-DS-ER. |
static java.lang.String |
batchExhaustiveTestCostConstraintReduction(int paraAlgorithm,
int paraMeasure,
double paraBudgetFactor,
int paraNumberOfExperiments)
Exhausitve reduction to obtain optimal sub-reduct for different settings. |
static java.lang.String |
batchGranularComputingFeatureSelection(double paraConfidenceLevelUpperBound,
double paraConfidenceLevelLowerBound,
double paraConfidenceLevelStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchMinimalCostNormalErrorFeatureSelection(int paraMisCostLowerBound,
int paraMisCostUpperBound,
int paraCostStepLength,
int paraRatio)
Batch feature selection to obtain minimal cost subset. |
static java.lang.String |
batchMinimalCostReduction(int paraMisCostLowerBound,
int paraMisCostUpperBound,
int paraCostStepLength)
Batch reduction to obtain minimal cost reducts. |
static java.lang.String |
batchMinimalReduct(int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal reducts. |
static java.lang.String |
batchMinimalTestCostErrorRangeReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchMinimalTestCostLambdaNormalErrorReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchMinimalTestCostNormalErrorReduction(double paraDeltaUpperBound,
double paraDeltaLowerBound,
double paraDeltaStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchMinimalTestCostReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchMinimalTotalCostNormalErrorFeatureSelection(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain minimal test-cost reducts. |
static java.lang.String |
batchOptimalGranularComputingBasedonAdaptiveBC(double paraConfidenceLevelLowerBound,
double paraConfidenceLevelUpperBound,
double paraConfidenceLevelStepLength,
int paraMisCost,
int paraRatio)
Batch feature selection to obtain minimal cost subset. |
static java.lang.String |
batchOptimalGranularComputingFeatureSelection(double paraConfidenceLevelLowerBound,
double paraConfidenceLevelUpperBound,
double paraConfidenceLevelStepLength,
int paraMisCost,
int paraRatio)
Batch feature selection to obtain minimal cost subset. |
static java.lang.String |
batchTestCostConstraintReduction(boolean paraWeighting,
double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
double paraBudgetFactor,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain test-cost constraint reducts. |
static java.lang.String |
batchTestCostConstraintReductionCompareWithOptimal(boolean paraWeighting,
boolean paraHeuristics,
double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
double paraBudgetFactor,
int paraExperiments,
boolean paraShowDetail)
Batch reduction to obtain test-cost constraint reducts. |
static java.lang.String |
exhaustiveTestCostConstraintReduction(int paraAlgorithm,
int paraMeasure,
double paraBudgetFactor)
Singular reduction to obtain an optimal sub-reduct. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Reduction()
| 方法详细信息 |
|---|
public static java.lang.String batchMinimalReduct(int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
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 batchMinimalTestCostReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
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.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 batchTestCostConstraintReduction(boolean paraWeighting,
double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
double paraBudgetFactor,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
paraBudgetFactor - control the budget insufficient to generate a reduct.java.lang.Exception - if something wrong happens.batchMinimalTestCostReduction(double, double, double, int, boolean)
public static java.lang.String exhaustiveTestCostConstraintReduction(int paraAlgorithm,
int paraMeasure,
double paraBudgetFactor)
throws java.lang.Exception
paraAlgorithm - the exhaustive algorithm.paraMeasure - the measure to evaluate the decision system consistency.paraBudgetFactor - control the budget insufficient to generate a reduct.java.lang.Exception - if something wrong happens.
public static java.lang.String batchExhaustiveTestCostConstraintReduction(int paraAlgorithm,
int paraMeasure,
double paraBudgetFactor,
int paraNumberOfExperiments)
throws java.lang.Exception
paraAlgorithm - the exhaustive algorithm.paraMeasure - the measure to evaluate the decision system consistency.paraBudgetFactor - control the budget insufficient to generate a reduct.paraNumberOfExperiments - how many times should the algorithms run.java.lang.Exception - if something wrong happens.
public static java.lang.String batchMinimalTestCostErrorRangeReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
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.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 batchMinimalTestCostNormalErrorReduction(double paraDeltaUpperBound,
double paraDeltaLowerBound,
double paraDeltaStepLength,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
paraDeltaUpperBound - the upper bound of delta, non-positive.paraDeltaLowerBound - the lower bound of delta.paraDeltaStepLength - the step length of delta. For example, if the upper and lower
bounds are 2 and 0 respectively, and the step length is 0.25.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 batchComparisonErrorRange(double paraLambda,
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 static java.lang.String batchComparisonNormalError(double paraLambda,
double paraDelta,
int paraExperiments)
throws java.lang.Exception
paraLambda - the value of lambda.paraDelta - the value of delta.paraExperiments - the number of experiments to undertake. Each time the dataset
have different test-cost settings.java.lang.Exception - if something wrong happens.
public static java.lang.String batchMinimalCostReduction(int paraMisCostLowerBound,
int paraMisCostUpperBound,
int paraCostStepLength)
throws java.lang.Exception
paraMisCostLowerBound - The lower bound of the misclassfication cost.paraMisCostUpperBound - The upper bound of the misclassfication cost.paraCostStepLength - The step length of the misclassification cost.java.lang.Exception - if something wrong happens.
public static java.lang.String batchMinimalCostNormalErrorFeatureSelection(int paraMisCostLowerBound,
int paraMisCostUpperBound,
int paraCostStepLength,
int paraRatio)
throws java.lang.Exception
paraMisCostLowerBound - The lower bound of the misclassfication cost.paraMisCostUpperBound - The upper bound of the misclassfication cost.paraCostStepLength - The step length of the misclassification cost.java.lang.Exception - if something wrong happens.
public static java.lang.String batchOptimalGranularComputingFeatureSelection(double paraConfidenceLevelLowerBound,
double paraConfidenceLevelUpperBound,
double paraConfidenceLevelStepLength,
int paraMisCost,
int paraRatio)
throws java.lang.Exception
paraConfidenceLevelLowerBound - The lower bound of the confidence level.paraConfidenceLevelUpperBound - The upper bound of the confidence level.paraConfidenceLevelStepLength - The step length of the confidence level.paraMisCost - One of the misclassification costs.paraRatio - The ratio of two misclassification costs.java.lang.Exception - if something wrong happens.
public static java.lang.String batchOptimalGranularComputingBasedonAdaptiveBC(double paraConfidenceLevelLowerBound,
double paraConfidenceLevelUpperBound,
double paraConfidenceLevelStepLength,
int paraMisCost,
int paraRatio)
throws java.lang.Exception
paraConfidenceLevelLowerBound - The lower bound of the confidence level.paraConfidenceLevelUpperBound - The upper bound of the confidence level.paraConfidenceLevelStepLength - The step length of the confidence level.paraMisCost - One of the misclassification costs.paraRatio - The ratio of two misclassification costs.java.lang.Exception - if something wrong happens.
public static java.lang.String batchGranularComputingFeatureSelection(double paraConfidenceLevelUpperBound,
double paraConfidenceLevelLowerBound,
double paraConfidenceLevelStepLength,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
paraConfidenceLevelLowerBound - The lower bound of the confidence level.paraConfidenceLevelUpperBound - The upper bound of the confidence level.paraConfidenceLevelStepLength - The step length of the confidence level.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 batchComparisonNormalError(double paraLambda,
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 static java.lang.String batchTestCostConstraintReductionCompareWithOptimal(boolean paraWeighting,
boolean paraHeuristics,
double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
double paraBudgetFactor,
int paraExperiments,
boolean paraShowDetail)
throws java.lang.Exception
paraBudgetFactor - control the budget insufficient to generate a reduct.java.lang.Exception - if something wrong happens.batchMinimalTestCostReduction(double, double, double, int, boolean)
public static java.lang.String batchMinimalTotalCostNormalErrorFeatureSelection(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
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.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 batchMinimalTestCostLambdaNormalErrorReduction(double paraLambdaUpperBound,
double paraLambdaLowerBound,
double paraLambdaStepLength,
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.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.
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||