public class StatisticsBuilderInterruptible
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
StatisticsClassification |
getClassificationPerformance(java.lang.String[] features,
java.lang.String clazz,
ARXClassificationConfiguration<?> config)
Creates a new set of statistics for the given classification task
|
StatisticsClassification |
getClassificationPerformance(java.lang.String[] features,
java.lang.String clazz,
ARXClassificationConfiguration<?> config,
ARXFeatureScaling scaling)
Creates a new set of statistics for the given classification task
|
StatisticsClassification |
getClassificationPerformance(java.lang.String clazz,
ARXClassificationConfiguration<?> config)
Creates a new set of statistics for the given classification task
|
StatisticsContingencyTable |
getContingencyTable(int column1,
AttributeType.Hierarchy hierarchy1,
int column2,
AttributeType.Hierarchy hierarchy2)
Returns a contingency table for the given columns.
|
StatisticsContingencyTable |
getContingencyTable(int column1,
boolean orderFromDefinition1,
int column2,
boolean orderFromDefinition2)
Returns a contingency table for the given columns.
|
StatisticsContingencyTable |
getContingencyTable(int column1,
int column2)
Returns a contingency table for the given columns.
|
StatisticsContingencyTable |
getContingencyTable(int column1,
int size1,
AttributeType.Hierarchy hierarchy1,
int column2,
int size2,
AttributeType.Hierarchy hierarchy2)
Returns a contingency table for the given columns.
|
StatisticsContingencyTable |
getContingencyTable(int column1,
int size1,
boolean orderFromDefinition1,
int column2,
int size2,
boolean orderFromDefinition2)
Returns a contingency table for the given columns.
|
StatisticsContingencyTable |
getContingencyTable(int column1,
int size1,
int column2,
int size2)
Returns a contingency table for the given columns.
|
java.lang.String[] |
getDistinctValues(int column)
Returns the distinct set of data items from the given column.
|
java.lang.String[] |
getDistinctValuesOrdered(int column)
Returns an ordered list of the distinct set of data items from the given
column.
|
java.lang.String[] |
getDistinctValuesOrdered(int column,
AttributeType.Hierarchy hierarchy)
Returns an ordered list of the distinct set of data items from the given
column.
|
java.lang.String[] |
getDistinctValuesOrdered(int column,
boolean orderFromDefinition)
Returns an ordered list of the distinct set of data items from the given
column.
|
StatisticsEquivalenceClasses |
getEquivalenceClassStatistics()
Returns statistics about the equivalence classes.
|
StatisticsFrequencyDistribution |
getFrequencyDistribution(int column)
Returns a frequency distribution for the values in the given column.
|
StatisticsFrequencyDistribution |
getFrequencyDistribution(int column,
AttributeType.Hierarchy hierarchy)
Returns a frequency distribution for the values in the given column.
|
StatisticsFrequencyDistribution |
getFrequencyDistribution(int column,
boolean orderFromDefinition)
Returns a frequency distribution for the values in the given column.
|
int |
getProgress()
If supported by the according builder, this method will report a progress
value in [0,100].
|
StatisticsQuality |
getQualityStatistics()
Returns data quality according to various models.
|
StatisticsQuality |
getQualityStatistics(DataHandle output)
Returns data quality according to various models.
|
StatisticsQuality |
getQualityStatistics(DataHandle output,
java.util.Set<java.lang.String> qis)
Returns data quality according to various models.
|
StatisticsQuality |
getQualityStatistics(java.util.Set<java.lang.String> qis)
Returns data quality according to various models.
|
java.util.Map<java.lang.String,StatisticsSummary<?>> |
getSummaryStatistics(boolean listwiseDeletion)
Returns summary statistics for all attributes.
|
void |
interrupt()
Interrupts all computations.
|
public StatisticsClassification getClassificationPerformance(java.lang.String clazz, ARXClassificationConfiguration<?> config) throws java.lang.InterruptedException
clazz
- - The class attributesconfig
- - The configurationjava.text.ParseException
java.lang.InterruptedException
public StatisticsClassification getClassificationPerformance(java.lang.String[] features, java.lang.String clazz, ARXClassificationConfiguration<?> config) throws java.lang.InterruptedException
features
- - The feature attributesclazz
- - The class attributesconfig
- - The configurationjava.text.ParseException
java.lang.InterruptedException
public StatisticsClassification getClassificationPerformance(java.lang.String[] features, java.lang.String clazz, ARXClassificationConfiguration<?> config, ARXFeatureScaling scaling) throws java.lang.InterruptedException
features
- - The feature attributesclazz
- - The class attributesconfig
- - The configurationscaling
- - Feature scalingjava.text.ParseException
java.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, boolean orderFromDefinition1, int column2, boolean orderFromDefinition2) throws java.lang.InterruptedException
column1
- The first columnorderFromDefinition1
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)column2
- The second columnorderFromDefinition2
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)java.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, AttributeType.Hierarchy hierarchy1, int column2, AttributeType.Hierarchy hierarchy2) throws java.lang.InterruptedException
column1
- The first columnhierarchy1
- The hierarchy for the first column, may be nullcolumn2
- The second columnhierarchy2
- The hierarchy for the second column, may be nulljava.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, int column2) throws java.lang.InterruptedException
column1
- The first columncolumn2
- The second columnjava.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, int size1, boolean orderFromDefinition1, int column2, int size2, boolean orderFromDefinition2) throws java.lang.InterruptedException
column1
- The first columnsize1
- The maximal size in this dimensionorderFromDefinition1
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)column2
- The second columnsize2
- The maximal size in this dimensionorderFromDefinition2
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)java.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, int size1, AttributeType.Hierarchy hierarchy1, int column2, int size2, AttributeType.Hierarchy hierarchy2) throws java.lang.InterruptedException
column1
- The first columnsize1
- The maximal size in this dimensionhierarchy1
- The hierarchy for the first column, may be nullcolumn2
- The second columnsize2
- The maximal size in this dimensionhierarchy2
- The hierarchy for the second column, may be nulljava.lang.InterruptedException
public StatisticsContingencyTable getContingencyTable(int column1, int size1, int column2, int size2) throws java.lang.InterruptedException
column1
- The first columnsize1
- The maximal size in this dimensioncolumn2
- The second columnsize2
- The maximal size in this dimensionjava.lang.InterruptedException
public java.lang.String[] getDistinctValues(int column) throws java.lang.InterruptedException
column
- The columnjava.lang.InterruptedException
public java.lang.String[] getDistinctValuesOrdered(int column) throws java.lang.InterruptedException
column
- The columnjava.lang.InterruptedException
public java.lang.String[] getDistinctValuesOrdered(int column, boolean orderFromDefinition) throws java.lang.InterruptedException
column
- The columnorderFromDefinition
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)java.lang.InterruptedException
public java.lang.String[] getDistinctValuesOrdered(int column, AttributeType.Hierarchy hierarchy) throws java.lang.InterruptedException
column
- The columnhierarchy
- The hierarchy, may be nulljava.lang.InterruptedException
public StatisticsEquivalenceClasses getEquivalenceClassStatistics() throws java.lang.InterruptedException
java.lang.InterruptedException
public StatisticsFrequencyDistribution getFrequencyDistribution(int column) throws java.lang.InterruptedException
column
- The columnjava.lang.InterruptedException
public StatisticsFrequencyDistribution getFrequencyDistribution(int column, boolean orderFromDefinition) throws java.lang.InterruptedException
column
- The columnorderFromDefinition
- Indicates whether the order that should be assumed for string
data items can (and should) be derived from the hierarchy
provided in the data definition (if any)java.lang.InterruptedException
public StatisticsFrequencyDistribution getFrequencyDistribution(int column, AttributeType.Hierarchy hierarchy) throws java.lang.InterruptedException
column
- The columnhierarchy
- The hierarchy, may be nulljava.lang.InterruptedException
public int getProgress()
public StatisticsQuality getQualityStatistics() throws java.lang.InterruptedException
java.lang.InterruptedException
public StatisticsQuality getQualityStatistics(DataHandle output) throws java.lang.InterruptedException
output
- java.lang.InterruptedException
public StatisticsQuality getQualityStatistics(DataHandle output, java.util.Set<java.lang.String> qis) throws java.lang.InterruptedException
output
- qis
- java.lang.InterruptedException
public StatisticsQuality getQualityStatistics(java.util.Set<java.lang.String> qis) throws java.lang.InterruptedException
qis
- java.lang.InterruptedException
public java.util.Map<java.lang.String,StatisticsSummary<?>> getSummaryStatistics(boolean listwiseDeletion) throws java.lang.InterruptedException
listwiseDeletion
- A flag enabling list-wise deletionjava.lang.InterruptedException
public void interrupt()