|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NumericDecisionSystem
coser.datamodel.decisionsystem.DecisionSystemNeighborhood
coser.datamodel.decisionsystem.DecisionSystemNormalError
coser.datamodel.decisionsystem.TestCostDecisionSystemNormalError
public class TestCostDecisionSystemNormalError extends DecisionSystemNormalError
Summary: Test-cost-sensitive decision system with nromal distribution observational error, with exhaustive (backtrack) and heuristc attribute reduction algorithms. For minimal test cost feature selection algorithms.
Author: Fan Min, Hong Zhao 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 implemented.
\cite{MinHeQianZhu11Test}
Written time: August 12, 2012.
Last modify time: February 15, 2013.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
protected java.util.Random |
additionalTestsRandom
Used to generate additional tests. |
protected int |
finerTestCostTimes
How many times does a finer test cost? |
protected boolean[] |
originalTests
Original tests. |
| 从类 coser.datamodel.decisionsystem.DecisionSystemNormalError 继承的字段 |
|---|
errorRandomMode, individualErrorRandom, sigma |
| 从类 coser.datamodel.decisionsystem.DecisionSystemNeighborhood 继承的字段 |
|---|
candidateReductsArray, neighborhoodSizeArray, numberOfCandidateReducts, seed |
| 构造函数 和 描述 |
|---|
TestCostDecisionSystemNormalError(Instances dataset)
Construct the decision system. |
TestCostDecisionSystemNormalError(Instances dataset,
int capacity)
Construct the decision system. |
TestCostDecisionSystemNormalError(Instances source,
int first,
int toCopy)
Construct the decision system. |
TestCostDecisionSystemNormalError(java.io.Reader reader)
Construct the decision system. |
TestCostDecisionSystemNormalError(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
java.lang.String |
extendNormalDistributionObservationalError(int paraAdditionalTestsLowerBound,
int paraAdditionalTestsUpperBound,
double paraProbability)
Extend it to produce more tests. |
boolean[] |
inconsistencyBasedDeltaReduction(double paraDelta)
Find a (possibly) minimal reduct using the inconsistency based delta weighted approach. |
void |
refreshTestCost()
Refresh the test-cost settings. |
void |
setFinerTestCostTimes(int paraFinerTestCostTimes)
Set finer test cost times. |
void |
setOrginalTests(boolean[] paraOriginalTests)
Set original tests. |
void |
setRandomMode(boolean paraRandomMode)
Set the random mode and reset the Random object. |
java.lang.String |
toString()
For toString(). |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected boolean[] originalTests
protected int finerTestCostTimes
protected java.util.Random additionalTestsRandom
| 构造方法详细信息 |
|---|
public TestCostDecisionSystemNormalError(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public TestCostDecisionSystemNormalError(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemNormalError(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemNormalError(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public TestCostDecisionSystemNormalError(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
public void setRandomMode(boolean paraRandomMode)
paraRandomMode - the given random mode.
public java.lang.String extendNormalDistributionObservationalError(int paraAdditionalTestsLowerBound,
int paraAdditionalTestsUpperBound,
double paraProbability)
throws java.lang.Exception
paraAdditionalTestsLowerBound - The lower bound of additional tests for each test.paraAdditionalTestsUpperBound - The upper bound of additional tests for each test.paraProbability - the Probability of [-up, up].java.lang.Exceptionpublic void setFinerTestCostTimes(int paraFinerTestCostTimes)
public void setOrginalTests(boolean[] paraOriginalTests)
public void refreshTestCost()
throws java.lang.Exception
CostSensitiveDecisionSystem 中的 refreshTestCostjava.lang.Exception
public boolean[] inconsistencyBasedDeltaReduction(double paraDelta)
throws java.lang.Exception
paraDelta - the delta value.java.lang.Exceptionpublic java.lang.String toString()
NumericDecisionSystem 中的 toString
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||