|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.ObjectInstances
coser.datamodel.decisionsystem.RoughDecisionSystem
coser.datamodel.decisionsystem.CostSensitiveDecisionSystem
coser.datamodel.decisionsystem.NumericDecisionSystem
coser.datamodel.decisionsystem.DecisionSystemNeighborhood
coser.datamodel.decisionsystem.DecisionSystemFixedNeighborhood
public class DecisionSystemFixedNeighborhood extends DecisionSystemNeighborhood
Summary: Decision system with neighborhood. Now it is simply the glue between
NumericDecisionSystem and TestCostDecisionSystemFixedNeighborhood, in fact its
usage is similar to DecisionSystemErrorRange
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 very beginning. Written time: August 12, 2011.
Last modify time: August 12, 2011.
| 修饰符 和 类型 | 字段 和 描述 |
|---|---|
(专用软件包) double[][] |
array_tmp
The data matrix according to the boolean type of the coreAttribute or the chromosome |
(专用软件包) double |
d
Two instances' distance according to the value of an atrribute. |
(专用软件包) double[][] |
data_array
The double dataArray of the decision table |
(专用软件包) double |
delta
The delta |
(专用软件包) double |
dependency
The dependency of the attribute. |
protected double[] |
granuleRangeArray
Individual granule range array. |
(专用软件包) boolean |
isItNormalized
Is it normalized? |
(专用软件包) int |
numberOfOne
The number of 1 in the given boolean conditional attribute array |
(专用软件包) int |
POSsize
The size of positive region. |
(专用软件包) int[] |
sample_lft
a int type array for instances |
(专用软件包) double |
sqare_distance
The sqare_distance of two instances. |
| 从类 coser.datamodel.decisionsystem.DecisionSystemNeighborhood 继承的字段 |
|---|
candidateReductsArray, neighborhoodSizeArray, numberOfCandidateReducts, seed |
| 构造函数 和 描述 |
|---|
DecisionSystemFixedNeighborhood(Instances dataset)
Construct the decision system. |
DecisionSystemFixedNeighborhood(Instances dataset,
int capacity)
Construct the decision system. |
DecisionSystemFixedNeighborhood(Instances source,
int first,
int toCopy)
Construct the decision system. |
DecisionSystemFixedNeighborhood(java.io.Reader reader)
Construct the decision system. |
DecisionSystemFixedNeighborhood(java.lang.String name,
FastVector attInfo,
int capacity)
Construct the decision system. |
| 修饰符 和 类型 | 方法 和 描述 |
|---|---|
void |
assignment(int[] data_array)
Assignment 0 1 2 3 4 5 6... |
void |
buildCandidatesNHBacktrack(int[][] paraNeighbors,
int[] paraNumberOfInconsistentNeighbors,
boolean[] paraSelectedTests,
int paraTestLowerBound)
Compute all candidate reducts using backtrack. |
boolean[][] |
computeAllReductsNHBacktrack()
Compute all reducts using backtrack based on neighborhood rough set. |
double[][] |
dataMatrixOfBooleanAttribute(boolean[] conditionAttribute)
Compute the data matrix according to the boolean type of the coreAttribute or the chromosome |
double |
getDelta()
Get the value of delta |
double[] |
getGranuleRangeArray()
Get the granule range array. |
boolean |
isNormalized()
Is the decision system normalized? |
protected boolean |
isNormalizedJudge()
Is the decision system normalized? |
int |
numOne(boolean[] conditionAttribute)
Compute the number of 1 in the given boolean conditional attribute array |
int[] |
POSsizeAndDependency(double[][] dataMatrix,
int[] smp_chk)
The size of positive region and the dependency |
void |
setDelta(double paraDelta)
Set the value of delta |
void |
setGranuleRangeArray(double paraGranuleRangeArray)
Set the granule range array with one data. |
void |
setGranuleRangeArray(double[] paraGranuleRangeArray)
Set the granule range array. |
double[][] |
toDoubleMatrix()
Convert the decision system into a double matrix |
| 从类 coser.datamodel.decisionsystem.NumericDecisionSystem 继承的方法 |
|---|
toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 字段详细信息 |
|---|
protected double[] granuleRangeArray
double[][] data_array
boolean isItNormalized
double delta
int numberOfOne
double[][] array_tmp
int POSsize
double dependency
int[] sample_lft
double sqare_distance
double d
| 构造方法详细信息 |
|---|
public DecisionSystemFixedNeighborhood(java.io.Reader reader)
throws java.io.IOException,
java.lang.Exception
java.io.IOExceptionjava.lang.Exception
public DecisionSystemFixedNeighborhood(Instances dataset)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemFixedNeighborhood(Instances dataset,
int capacity)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemFixedNeighborhood(Instances source,
int first,
int toCopy)
throws java.lang.Exception
java.lang.Exception
public DecisionSystemFixedNeighborhood(java.lang.String name,
FastVector attInfo,
int capacity)
throws java.lang.Exception
java.lang.Exception| 方法详细信息 |
|---|
public double[][] toDoubleMatrix()
protected boolean isNormalizedJudge()
public boolean isNormalized()
RoughDecisionSystem 中的 isNormalizedpublic void setGranuleRangeArray(double[] paraGranuleRangeArray)
paraGranuleRangeArray - the granule range array.public void setGranuleRangeArray(double paraGranuleRangeArray)
paraGranuleRangeArray - the granule range array.public double[] getGranuleRangeArray()
public int numOne(boolean[] conditionAttribute)
throws java.lang.Exception
java.lang.Exception
public double[][] dataMatrixOfBooleanAttribute(boolean[] conditionAttribute)
throws java.lang.Exception
java.lang.Exception
public int[] POSsizeAndDependency(double[][] dataMatrix,
int[] smp_chk)
throws java.lang.Exception
java.lang.Exceptionpublic void assignment(int[] data_array)
public void setDelta(double paraDelta)
public double getDelta()
public boolean[][] computeAllReductsNHBacktrack()
throws java.lang.Exception
java.lang.Exception
public void buildCandidatesNHBacktrack(int[][] paraNeighbors,
int[] paraNumberOfInconsistentNeighbors,
boolean[] paraSelectedTests,
int paraTestLowerBound)
throws java.lang.Exception
paraNeighbors - Neighbors of each object. The matrix is not full.paraNumberOfInconsistentNeighbors - Effective number of neighbors of each object. Consistent
objects should not be considered.paraSelectedTests - Already selected tests.paraTestLowerBound - The lower bound of test index. We only need forward search.java.lang.Exception
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||