|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NumericDecisionSystem
coser.datamodel.decisionsystem.DecisionSystemNeighborhood
coser.datamodel.decisionsystem.DecisionSystemNormalError
public class DecisionSystemNormalError extends DecisionSystemNeighborhood
Summary: Decision system with normal distribution measurement errors.
For the computational model please refer to:
\@ARTICLE{
author = {Hong Zhao and Fan Min and William Zhu},
title = {},
journal = {},
year = {2012}
}
Author: Fan Min and 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: Done.
Written time: November 8, 2012.
Last modify time: November 8, 2012.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
protected boolean |
errorRandomMode
Random mode. |
(专用软件包) java.util.Random |
individualErrorRandom
Used to generate individual error. |
(专用软件包) double |
sigma
For a normal distribution, nearly all values lie within 3 standard deviations of the mean, that is "3-sigma" rule. |
| 从类 coser.datamodel.decisionsystem.DecisionSystemNeighborhood 继承的字段 |
|---|
candidateReductsArray, neighborhoodSizeArray, numberOfCandidateReducts, seed |
| 构造函数 和 描述 |
|---|
DecisionSystemNormalError(Instances dataset)
Construct the decision system. |
DecisionSystemNormalError(Instances dataset,
int capacity)
Construct the decision system. |
DecisionSystemNormalError(Instances source,
int first,
int toCopy)
Construct the decision system. |
DecisionSystemNormalError(java.io.Reader reader)
Construct the decision system. |
DecisionSystemNormalError(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
double[] |
computeErrorSizeArray()
Compute the range of normal error. |
double |
creatNormalError(double paraErrorRange,
int seed)
Create new data with normal distribution observational error according to error range. |
double |
getAverageErrorRangeSizeArray()
Get the average size of normal error array. |
double |
getAverageValueNormalErrorSize()
Get the average value of normal error array. |
double[] |
getNormalErrorSizeArray()
Get the normal error array. |
(专用软件包) static double |
normalDistributionQuantile(double paraProbability)
Normal Distribution Quantile. |
void |
setIndividualTestCostArray(int[] paraIndividualCostArray)
Set the test-cost array. |
double |
setNormalErrorSize(double paraOriginalErrorRangeArray,
double paraProbability)
Set the error size of one attribute. |
void |
setNormalErrorSizeArray(double paraProbability)
Set the size of normal error array. |
void |
setNormalErrorSizeArray(double[] paraOriginalErrorRangeArray,
double paraProbability)
Set the size of normal error array. |
| 从类 coser.datamodel.decisionsystem.NumericDecisionSystem 继承的方法 |
|---|
toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected boolean errorRandomMode
java.util.Random individualErrorRandom
double sigma
| 构造方法详细信息 |
|---|
public DecisionSystemNormalError(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public DecisionSystemNormalError(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemNormalError(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemNormalError(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemNormalError(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
public void setNormalErrorSizeArray(double[] paraOriginalErrorRangeArray,
double paraProbability)
paraErrorRangeArray - the size of normal error array.paraProbability - the Probability of [-up, up].public void setNormalErrorSizeArray(double paraProbability)
paraErrorRangeArray - the size of normal error array.paraProbability - the Probability of [-up, up].
public void setIndividualTestCostArray(int[] paraIndividualCostArray)
throws java.lang.Exception
paraIndividualCostArray - the test-cost array.java.lang.Exceptionpublic double getAverageErrorRangeSizeArray()
public double setNormalErrorSize(double paraOriginalErrorRangeArray,
double paraProbability)
paraErrorRangeArray - the normal error array.paraProbability - the Probability of [-up, up].static double normalDistributionQuantile(double paraProbability)
paraProbability - the Probability of [-up, up]. if paraProbability = 0.9973 then
return 3; if paraProbability = 0.9545 then return 2; if
paraProbability = 0.6827 then return 1;public double[] getNormalErrorSizeArray()
public double getAverageValueNormalErrorSize()
public double[] computeErrorSizeArray()
paraDelta - the adjusting factor
public double creatNormalError(double paraErrorRange,
int seed)
paraErrorRange - The error range of normal error.seed - The seed of random.
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||