public class DataManagerSubset extends DataManager
Modifier and Type | Method and Description |
---|---|
double[] |
getDistribution(DataMatrix data,
int index,
int distinctValues)
Returns the distribution of the attribute in the data array at the given index.
|
double[] |
getDistribution(java.lang.String attribute)
Returns the distribution of the given sensitive attribute in the original dataset.
|
int[] |
getOrder(java.lang.String attribute)
Returns the order of the given sensitive attribute in the original dataset.
|
int[] |
getTree(DataMatrix data,
int index,
int[][] hierarchy)
Returns a tree for the given attribute at the index within the given data array, using the given hierarchy.
|
int[] |
getTree(java.lang.String attribute)
Returns the tree for the given sensitive attribute, if a generalization hierarchy is associated.
|
getAggregationInformation, getDataAnalyzed, getDataGeneralized, getDataInput, getDomainShares, getDomainSharesReliable, getHeader, getHierachiesHeights, getHierarchies, getHierarchiesMaxLevels, getHierarchiesMinLevels, getSubsetInstance
public double[] getDistribution(DataMatrix data, int index, int distinctValues)
DataManager
getDistribution
in class DataManager
public double[] getDistribution(java.lang.String attribute)
DataManager
getDistribution
in class DataManager
public int[] getOrder(java.lang.String attribute)
DataManager
getOrder
in class DataManager
public int[] getTree(DataMatrix data, int index, int[][] hierarchy)
DataManager
getTree
in class DataManager
public int[] getTree(java.lang.String attribute)
DataManager
getTree
in class DataManager