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.ParseExceptionjava.lang.InterruptedExceptionpublic 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.ParseExceptionjava.lang.InterruptedExceptionpublic 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.ParseExceptionjava.lang.InterruptedExceptionpublic 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.InterruptedExceptionpublic 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.InterruptedExceptionpublic StatisticsContingencyTable getContingencyTable(int column1, int column2) throws java.lang.InterruptedException
column1 - The first columncolumn2 - The second columnjava.lang.InterruptedExceptionpublic 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.InterruptedExceptionpublic 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.InterruptedExceptionpublic 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.InterruptedExceptionpublic java.lang.String[] getDistinctValues(int column)
throws java.lang.InterruptedException
column - The columnjava.lang.InterruptedExceptionpublic java.lang.String[] getDistinctValuesOrdered(int column)
throws java.lang.InterruptedException
column - The columnjava.lang.InterruptedExceptionpublic 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.InterruptedExceptionpublic java.lang.String[] getDistinctValuesOrdered(int column,
AttributeType.Hierarchy hierarchy)
throws java.lang.InterruptedException
column - The columnhierarchy - The hierarchy, may be nulljava.lang.InterruptedExceptionpublic StatisticsEquivalenceClasses getEquivalenceClassStatistics() throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic StatisticsFrequencyDistribution getFrequencyDistribution(int column) throws java.lang.InterruptedException
column - The columnjava.lang.InterruptedExceptionpublic 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.InterruptedExceptionpublic StatisticsFrequencyDistribution getFrequencyDistribution(int column, AttributeType.Hierarchy hierarchy) throws java.lang.InterruptedException
column - The columnhierarchy - The hierarchy, may be nulljava.lang.InterruptedExceptionpublic int getProgress()
public StatisticsQuality getQualityStatistics() throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic StatisticsQuality getQualityStatistics(DataHandle output) throws java.lang.InterruptedException
output - java.lang.InterruptedExceptionpublic StatisticsQuality getQualityStatistics(DataHandle output, java.util.Set<java.lang.String> qis) throws java.lang.InterruptedException
output - qis - java.lang.InterruptedExceptionpublic StatisticsQuality getQualityStatistics(java.util.Set<java.lang.String> qis) throws java.lang.InterruptedException
qis - java.lang.InterruptedExceptionpublic java.util.Map<java.lang.String,StatisticsSummary<?>> getSummaryStatistics(boolean listwiseDeletion) throws java.lang.InterruptedException
listwiseDeletion - A flag enabling list-wise deletionjava.lang.InterruptedExceptionpublic void interrupt()