Klasse ClassificationFeatureMetadata
java.lang.Object
org.deidentifier.arx.aggregates.classification.ClassificationFeatureMetadata
Metadata about a single feature
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungClassificationFeatureMetadata(String attribute, DataType<?> type, ARXFeatureScaling scaling, boolean isTypePreservingMicroaggregation) Creates a new instance -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetName()Returns the name of the featuredoublegetNumericValue(String value) Returns a scaled double representation, NaN if the value cannot be parsed or scaledbooleanReturns whether this is a numeric attributebooleanReturns whether this attribute is numeric and microaggregated in a type preserving manner
-
Konstruktordetails
-
ClassificationFeatureMetadata
public ClassificationFeatureMetadata(String attribute, DataType<?> type, ARXFeatureScaling scaling, boolean isTypePreservingMicroaggregation) Creates a new instance- Parameter:
attribute-type-scaling-isTypePreservingMicroaggregation-
-
-
Methodendetails
-
getName
Returns the name of the feature- Gibt zurück:
-
isNumericMicroaggregation
public boolean isNumericMicroaggregation()Returns whether this attribute is numeric and microaggregated in a type preserving manner- Gibt zurück:
-
isNumeric
public boolean isNumeric()Returns whether this is a numeric attribute- Gibt zurück:
-
getNumericValue
Returns a scaled double representation, NaN if the value cannot be parsed or scaled- Parameter:
value-
-