Klasse ClassificationFeatureMetadata

java.lang.Object
org.deidentifier.arx.aggregates.classification.ClassificationFeatureMetadata

public class ClassificationFeatureMetadata extends Object
Metadata about a single feature
  • Konstruktordetails

    • ClassificationFeatureMetadata

      public ClassificationFeatureMetadata(String attribute, DataType<?> type, ARXFeatureScaling scaling, boolean isTypePreservingMicroaggregation)
      Creates a new instance
      Parameter:
      attribute -
      type -
      scaling -
      isTypePreservingMicroaggregation -
  • Methodendetails

    • getName

      public String 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

      public double getNumericValue(String value)
      Returns a scaled double representation, NaN if the value cannot be parsed or scaled
      Parameter:
      value -