public class ClassifierFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNGALITS_unite_GENE |
static java.lang.String |
FUNGALITS_warcup_GENE |
static java.lang.String |
FUNGALLSU_GENE |
static java.lang.String |
RRNA_16S_GENE |
Modifier and Type | Method and Description |
---|---|
Classifier |
createClassifier()
Creates a new classifier.
|
java.lang.String |
getClassifierVersion()
Returns the version of the classifier.
|
static ClassifierFactory |
getFactory(java.lang.String gene)
Returns a factory with the training information.
|
HierarchyVersion |
getHierarchyTrainsetNo()
Returns the info of the taxonomy hierarchy from of the training file.
|
java.lang.String |
getHierarchyVersion()
Returns the version of the taxonomical hierarchy.
|
HierarchyTree |
getRoot() |
java.lang.String |
getTrainRank() |
static void |
resetDefaultDataProp()
Resets the data property file to the default data property file.
|
static void |
setDataProp(java.lang.String properties,
boolean relative)
Sets the property file which contains the mapping of the training files.
|
public static final java.lang.String RRNA_16S_GENE
public static final java.lang.String FUNGALLSU_GENE
public static final java.lang.String FUNGALITS_warcup_GENE
public static final java.lang.String FUNGALITS_unite_GENE
public static void resetDefaultDataProp()
public static void setDataProp(java.lang.String properties, boolean relative)
public static ClassifierFactory getFactory(java.lang.String gene) throws java.io.IOException, TrainingDataException
java.io.IOException
TrainingDataException
public Classifier createClassifier()
public java.lang.String getHierarchyVersion()
public HierarchyVersion getHierarchyTrainsetNo()
public java.lang.String getClassifierVersion()
public HierarchyTree getRoot()
public java.lang.String getTrainRank()