Package org.deidentifier.arx.aggregates
Klasse ClassificationConfigurationNaiveBayes
java.lang.Object
org.deidentifier.arx.ARXClassificationConfiguration<ClassificationConfigurationNaiveBayes>
org.deidentifier.arx.aggregates.ClassificationConfigurationNaiveBayes
- Alle implementierten Schnittstellen:
Serializable,Cloneable
public class ClassificationConfigurationNaiveBayes
extends ARXClassificationConfiguration<ClassificationConfigurationNaiveBayes>
implements Serializable, Cloneable
Configuration for naive bayes classification
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic enumType of bayes classifier -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final doubleDefault valuestatic final ClassificationConfigurationNaiveBayes.TypeDefault valueVon Klasse geerbte Felder org.deidentifier.arx.ARXClassificationConfiguration
DEFAULT_DETERMINISTIC, DEFAULT_MAX_RECORDS, DEFAULT_NUMBER_OF_FOLDS, DEFAULT_VECTOR_LENGTH -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedClassificationConfigurationNaiveBayes(boolean deterministic, int maxRecords, int numberOfFolds, long seed, int vectorLength, ClassificationConfigurationNaiveBayes.Type type, double sigma) Clone constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()create()Returns a new instancedoublegetSigma()Gets the prior count of add-k smoothing of evidence.getType()Typevoidparse(ARXClassificationConfiguration<?> config) Parses another configurationsetSigma(double sigma) Sets the prior count of add-k smoothing of evidence.TypeVon Klasse geerbte Methoden org.deidentifier.arx.ARXClassificationConfiguration
createLogisticRegression, createNaiveBayes, createRandomForest, getMaxRecords, getNumFolds, getSeed, getVectorLength, isDeterministic, isModified, setDeterministic, setMaxRecords, setModified, setNumFolds, setSeed, setUnmodified, setVectorLength
-
Felddetails
-
DEFAULT_TYPE
Default value -
DEFAULT_SIGMA
public static final double DEFAULT_SIGMADefault value- Siehe auch:
-
-
Konstruktordetails
-
ClassificationConfigurationNaiveBayes
protected ClassificationConfigurationNaiveBayes(boolean deterministic, int maxRecords, int numberOfFolds, long seed, int vectorLength, ClassificationConfigurationNaiveBayes.Type type, double sigma) Clone constructor- Parameter:
deterministic-maxRecords-numberOfFolds-seed-vectorLength-type-sigma-
-
-
Methodendetails
-
create
Returns a new instance- Gibt zurück:
-
clone
- Angegeben von:
clonein KlasseARXClassificationConfiguration<ClassificationConfigurationNaiveBayes>
-
getSigma
public double getSigma()Gets the prior count of add-k smoothing of evidence.- Gibt zurück:
- the sigma
-
getType
Type- Gibt zurück:
- the type
-
parse
Beschreibung aus Klasse kopiert:ARXClassificationConfigurationParses another configuration- Setzt außer Kraft:
parsein KlasseARXClassificationConfiguration<ClassificationConfigurationNaiveBayes>- Parameter:
config-
-
setSigma
Sets the prior count of add-k smoothing of evidence.- Parameter:
sigma- the sigma to set
-
setType
public ClassificationConfigurationNaiveBayes setType(ClassificationConfigurationNaiveBayes.Type type) Type- Parameter:
type- the type to set
-