Klasse ARXClassificationConfiguration<T extends ARXClassificationConfiguration<?>>

java.lang.Object
org.deidentifier.arx.ARXClassificationConfiguration<T>
Alle implementierten Schnittstellen:
Serializable, Cloneable
Bekannte direkte Unterklassen:
ClassificationConfigurationLogisticRegression, ClassificationConfigurationNaiveBayes, ClassificationConfigurationRandomForest

public abstract class ARXClassificationConfiguration<T extends ARXClassificationConfiguration<?>> extends Object implements Serializable, Cloneable
An base class for configuration classes for classification experiments
Siehe auch:
  • Felddetails

    • DEFAULT_DETERMINISTIC

      public static final boolean DEFAULT_DETERMINISTIC
      Default value
      Siehe auch:
    • DEFAULT_MAX_RECORDS

      public static final int DEFAULT_MAX_RECORDS
      Default value
      Siehe auch:
    • DEFAULT_NUMBER_OF_FOLDS

      public static final int DEFAULT_NUMBER_OF_FOLDS
      Default value
      Siehe auch:
    • DEFAULT_VECTOR_LENGTH

      public static final int DEFAULT_VECTOR_LENGTH
      Default value
      Siehe auch:
  • Konstruktordetails

    • ARXClassificationConfiguration

      public ARXClassificationConfiguration()
      Creates a new instance with default settings
  • Methodendetails

    • createLogisticRegression

      public static ClassificationConfigurationLogisticRegression createLogisticRegression()
      Creates a new instance for logistic regression classifiers
      Gibt zurück:
    • createNaiveBayes

      public static ClassificationConfigurationNaiveBayes createNaiveBayes()
      Creates a new instance for naive bayes classifiers
      Gibt zurück:
    • createRandomForest

      public static ClassificationConfigurationRandomForest createRandomForest()
      Creates a new instance for random forest classifiers
      Gibt zurück:
    • clone

      public abstract ARXClassificationConfiguration<T> clone()
    • getMaxRecords

      public int getMaxRecords()
      Gibt zurück:
      the maxRecords to consider
    • getNumFolds

      public int getNumFolds()
      Gibt zurück:
      the numberOfFolds
    • getSeed

      public long getSeed()
      Gibt zurück:
      the seed
    • getVectorLength

      public int getVectorLength()
      Gibt zurück:
      the vectorLength
    • isDeterministic

      public boolean isDeterministic()
      Returns whether the process should be deterministic
      Gibt zurück:
    • isModified

      public boolean isModified()
      Is this configuration modified
      Gibt zurück:
    • parse

      public void parse(ARXClassificationConfiguration<?> config)
      Parses another configuration
      Parameter:
      config -
    • setDeterministic

      public T setDeterministic(boolean deterministic)
      Sets whether the process should be deterministic
      Parameter:
      deterministic -
      Gibt zurück:
    • setMaxRecords

      public T setMaxRecords(int maxRecords)
      Parameter:
      maxRecords - the maxRecords to set
    • setModified

      public void setModified()
      Sets modified
    • setNumFolds

      public T setNumFolds(int numberOfFolds)
      Parameter:
      numberOfFolds - the numberOfFolds to set
    • setSeed

      public T setSeed(int seed)
      Seed for randomization. Set to Integer.MAX_VALUE for randomization.
      Parameter:
      seed - the seed to set
    • setUnmodified

      public void setUnmodified()
      Set unmodified
    • setVectorLength

      public T setVectorLength(int vectorLength)
      Parameter:
      vectorLength - the vectorLength to set