|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NominalDecisionSystem
coser.datamodel.decisionsystem.TestCostNominalDecisionSystem
coser.datamodel.decisionsystem.PosConstraintNorminalDecisionSystem
public class PosConstraintNorminalDecisionSystem extends TestCostNominalDecisionSystem
Project: The cost-sensitive rough sets project.
Summary: Define the data model of test-cost-sensitive decision system. It is
devoted to positive constraint attribute reduction. For more information of
the data model please refer to our papers:
For positive constraint attribute reduction heuristic algorithms please refer
to:
\@INPROCEEDINGS{LiuMin12Pos,
Author: Fan Min minfanphd@163.com and Jiabin Liu
title = {Minimal test cost feature selection with positive region
constraint},
booktitle = { },
volumn = {},
number = {},
year = {2012}
}
Author: Jiabin Liu liujb418@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: The lambda-weighted reduction algorithm implemented.
\cite{MinHeQianZhu11Test}
Written time: November 8, 2011. Separated from
TestCostNominalDecisionSystem.java
Last modify time: February 12, 2012.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) boolean[] |
currentSubreduct
The current sub-reduct. |
(专用软件包) double |
currentSubreductEntropy
The entropy of the current sub-reduct. |
(专用软件包) int |
currentSubreductTestCost
The test-cost of the current sub-reduct. |
static int |
IMPOSSIBLE_POSITIVE
Impossible positive region, only used for initialization. |
(专用软件包) int |
optimalReductPositive
positive region of the optimal reduct. |
| 从类 coser.datamodel.decisionsystem.TestCostNominalDecisionSystem 继承的字段 |
|---|
lambda, weighting |
| 从类 coser.datamodel.decisionsystem.NominalDecisionSystem 继承的字段 |
|---|
ATTRIBUTES_COMBINATIONS, BACKTRACK, EXPONENTIAL, reductMinimalSize |
| 构造函数 和 描述 |
|---|
PosConstraintNorminalDecisionSystem(TestCostNominalDecisionSystem paraDecisionSystem)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
int |
computeOptimalPositive()
Compute the optimal positive region. |
double |
getSubreductEntropy()
Get the entropy of the current sub-reduct. |
java.lang.String |
getSubreductString()
Get the current sub-reduct with the form of String. |
int |
getSubreductTotalTestCost()
Get the test-cost of the sub-reduct. |
boolean[] |
positiveBasedLambdaWeightedConstraintReduction(double paraLambda,
int paraConstraint)
Find a (possibly) minimal test cost sub-reduct with positive constraint using the lambda-weighted reduction algorithm. |
int |
removeRedundantAttributesByPositive(int[] paraSequence)
Remove redundant attributes from a super-reduct, describe by the relative postive region. |
| 从类 coser.datamodel.decisionsystem.TestCostNominalDecisionSystem 继承的方法 |
|---|
computeOptimalReductBacktrack, entropyBasedLambdaWeightedReduction, isCurrentReductOptimal, optimalReductBacktrack, removeRedundantAttributes, setLambda, setWeighting, sortByTestCost, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
boolean[] currentSubreduct
int currentSubreductTestCost
double currentSubreductEntropy
public static int IMPOSSIBLE_POSITIVE
int optimalReductPositive
| 构造方法详细信息 |
|---|
public PosConstraintNorminalDecisionSystem(TestCostNominalDecisionSystem paraDecisionSystem)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception| 方法详细信息 |
|---|
public boolean[] positiveBasedLambdaWeightedConstraintReduction(double paraLambda,
int paraConstraint)
throws java.lang.Exception
paraLambda - the lambda value.java.lang.Exceptionpublic java.lang.String getSubreductString()
public int getSubreductTotalTestCost()
public double getSubreductEntropy()
public int removeRedundantAttributesByPositive(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.
public int computeOptimalPositive()
throws java.lang.Exception
exception - if the set of all reduct is not obtained yet.java.lang.Exception
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||