|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NominalDecisionSystem
coser.datamodel.decisionsystem.TestCostNominalDecisionSystem
public class TestCostNominalDecisionSystem extends NominalDecisionSystem
Summary: Define methods for test-cost-sensitive reduction. Data are already claimed in super-classes.
For minimal test-cost attribute reduction algorithms please refer to:
\@ARTICLE{MinHeQianZhu11Test,
author = {Fan Min and Huaping He and Yuhua Qian and William Zhu},
title = {Test-cost-sensitive attribute reduction},
journal = {Information Sciences},
year = {2011},
volume = {181},
issue = {22},
pages = {4928--4942}
}
This paper was the most read/downloaded one of Information Sciences during
November-December, 2011
\@INPROCEEDINGS{HeMin11Accumulated,
author = {Huaping He and Fan Min},
title = {Accumulated cost based Test-cost-sensitive attribute reduction},
booktitle = {Proceedings of the 13th International Conference on Rough Sets,
Fuzzy Sets, Data Mining and Granular Computing},
year = {2011},
volume = {6743},
series = {LNAI}
pages = {244--247},
}
\@INPROCEEDINGS{HeMinZhu11Attribute,
author = {Huaping He and Fan Min and William Zhu},
title = {Attribute reduction in test-cost-sensitive decision systems with
common-test-costs},
booktitle = {Proceedings of the 3rd International Conference on Machine
Learning and Computing, v1},
pages = {432--436},
year = {2011},
}
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.
Project: The cost-sensitive rough sets project.
Progress: The lambda-weighted reduction algorithm \cite{MinHeQianZhu11Test}
implemented. There is still needs to implement algorithms considering
common-test-cost.
Written time: March 09, 2011.
Last modify time: March 14, 2011.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) double |
lambda
Labmda for weighted reduction. |
(专用软件包) boolean |
weighting
Weighting or not. |
| 从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的字段 |
|---|
ATTRIBUTES_COMBINATIONS, BACKTRACK, EXPONENTIAL, reductMinimalSize |
| 构造函数 和 描述 |
|---|
TestCostNominalDecisionSystem(Instances dataset)
Construct the decision system. |
TestCostNominalDecisionSystem(Instances dataset,
int capacity)
Construct the decision system. |
TestCostNominalDecisionSystem(Instances source,
int first,
int toCopy)
Construct the decision system. |
TestCostNominalDecisionSystem(java.io.Reader reader)
Construct the decision system. |
TestCostNominalDecisionSystem(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
TestCostNominalDecisionSystem(TestCostNominalDecisionSystem paraDataset,
boolean[] paraSelectedAttributes)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
double |
computeOptimalReductBacktrack()
Compute the optimal cost reduct through backtracking. |
boolean[] |
entropyBasedLambdaWeightedReduction(double paraLambda,
boolean paraAccumulated)
Find a (possibly) minimal test-cost reduct using the lambda-weighted reduction algorithm. |
boolean |
isCurrentReductOptimal()
Is the current reduct optimal? |
void |
optimalReductBacktrack(Instances[] paraInstancesArray,
long paraSelectedAttributes,
int paraExistingTestCost,
int paraAttributeLowerBound)
Compute one optimal reduct using backtrack. |
protected int |
removeRedundantAttributes(int[] paraSequence)
Remove redundant attributes from a super-reduct. |
void |
setLambda(double paraLambda)
Set the lambda value for lambda-weighted reduction. |
void |
setWeighting(boolean paraWeighting)
Set the weighting option for lambda-weighted reduction. |
protected void |
sortByTestCost(int[] paraSequence)
Sort an index sequence according to the test-cost in a descending order. |
java.lang.String |
toString()
For toString(). |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
boolean weighting
double lambda
| 构造方法详细信息 |
|---|
public TestCostNominalDecisionSystem(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public TestCostNominalDecisionSystem(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public TestCostNominalDecisionSystem(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public TestCostNominalDecisionSystem(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public TestCostNominalDecisionSystem(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception
public TestCostNominalDecisionSystem(TestCostNominalDecisionSystem paraDataset,
boolean[] paraSelectedAttributes)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
protected void sortByTestCost(int[] paraSequence)
CostSensitiveDecisionSystem 中的 sortByTestCostparaSequence - the given sequence. The sequence is changed in the method, and
the return value is not needed.
protected int removeRedundantAttributes(int[] paraSequence)
throws java.lang.Exception
paraSequence - the given sequence of indices. Often decided by respective
test-costs.java.lang.Exception - if conditionalEntropy throws one.entropyBasedLambdaWeightedReduction(double, boolean)
public boolean[] entropyBasedLambdaWeightedReduction(double paraLambda,
boolean paraAccumulated)
throws java.lang.Exception
paraLambda - the lambda value.paraAccumulated - use accumulated test-cost or test-cost of current attribute.java.lang.Exception
public boolean isCurrentReductOptimal()
throws java.lang.Exception
NominalDecisionSystem 中的 isCurrentReductOptimaljava.lang.Exception - if the reduct or the set of all reducts not computed yet.public void setWeighting(boolean paraWeighting)
public void setLambda(double paraLambda)
public double computeOptimalReductBacktrack()
throws java.lang.Exception
NominalDecisionSystem 中的 computeOptimalReductBacktrackjava.lang.Exception - if the given string does not contain enough integers.
public void optimalReductBacktrack(Instances[] paraInstancesArray,
long paraSelectedAttributes,
int paraExistingTestCost,
int paraAttributeLowerBound)
throws java.lang.Exception
NominalDecisionSystem 中的 optimalReductBacktrackparaInstancesArray - Object subsets.paraSelectedAttributes - Already selected attributes.paraExistingTestCost - The cost of already selected tests.paraAttributeLowerBound - The lower bound of test index. We only need forward search.java.lang.Exceptionpublic java.lang.String toString()
NominalDecisionSystem 中的 toString
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||