|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.Classification.ClassificationFactory
public final class ClassificationFactory
Provides a factory to instantiate requested classification module(s).
$Id: ClassificationFactory.java,v 1.5 2007/12/31 00:17:04 mokhov Exp $
| Method Summary | |
|---|---|
static IClassification |
create(java.lang.Integer poClassificationMethod,
IFeatureExtraction poFeatureExtraction)
Instantiates a Classification module indicated by the first parameter with the 2nd parameter as an argument. |
static IClassification |
create(int piClassificationMethod,
IFeatureExtraction poFeatureExtraction)
Instantiates a Classification module indicated by the first parameter with the 2nd parameter as an argument. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final IClassification create(java.lang.Integer poClassificationMethod,
IFeatureExtraction poFeatureExtraction)
throws ClassificationException
poClassificationMethod - the integer value corresponding to the
desired classification modulepoFeatureExtraction - passed as an argument to the classifier per framework requirement
ClassificationException - if the indicated module is
unknown or could not be loadedMARF.NEURAL_NETWORK,
MARF.STOCHASTIC,
MARF.MARKOV,
MARF.EUCLIDEAN_DISTANCE,
MARF.CHEBYSHEV_DISTANCE,
MARF.MINKOWSKI_DISTANCE,
MARF.MAHALANOBIS_DISTANCE,
MARF.RANDOM_CLASSIFICATION,
MARF.DIFF_DISTANCE,
MARF.HAMMING_DISTANCE,
MARF.COSINE_SIMILARITY_MEASURE,
MARF.CLASSIFICATION_PLUGIN,
MARF.ZIPFS_LAW,
NeuralNetwork,
Stochastic,
Markov,
ChebyshevDistance,
EuclideanDistance,
MinkowskiDistance,
MahalanobisDistance,
RandomClassification,
DiffDistance,
HammingDistance,
CosineSimilarityMeasure,
ZipfLaw
public static final IClassification create(int piClassificationMethod,
IFeatureExtraction poFeatureExtraction)
throws ClassificationException
piClassificationMethod - the integer value corresponding to the
desired classification modulepoFeatureExtraction - passed as an argument to the classifier per framework requirement
ClassificationException - if the indicated module is
unknown or could not be loadedMARF.NEURAL_NETWORK,
MARF.STOCHASTIC,
MARF.MARKOV,
MARF.EUCLIDEAN_DISTANCE,
MARF.CHEBYSHEV_DISTANCE,
MARF.MINKOWSKI_DISTANCE,
MARF.MAHALANOBIS_DISTANCE,
MARF.RANDOM_CLASSIFICATION,
MARF.DIFF_DISTANCE,
MARF.HAMMING_DISTANCE,
MARF.COSINE_SIMILARITY_MEASURE,
MARF.CLASSIFICATION_PLUGIN,
MARF.ZIPFS_LAW,
NeuralNetwork,
Stochastic,
Markov,
ChebyshevDistance,
EuclideanDistance,
MinkowskiDistance,
MahalanobisDistance,
RandomClassification,
DiffDistance,
HammingDistance,
CosineSimilarityMeasure,
ZipfLawpublic static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||