public class GlobalCharacterizer
extends org.openml.webapplication.fantail.dc.Characterizer
GlobalMetafeatures.| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<org.openml.webapplication.fantail.dc.Characterizer,java.lang.String> |
characterizerNames
The names of the characterizers used
|
protected java.util.ArrayList<org.openml.webapplication.fantail.dc.Characterizer> |
characterizers
The list of characterizers used in the computation of meta features
|
protected java.util.Map<java.lang.String,java.lang.Double> |
computationTimes
The time it took to compute the meta features for each characterizer by name
|
protected java.lang.String[] |
ids
The names of all the meta features that are computed by this characterizer
|
| Constructor and Description |
|---|
GlobalCharacterizer()
Initializes a new characterizer.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Double> |
characterize(weka.core.Instances instances) |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getCharacterizerGroups()
Gets the mapping of a Characterizer to the meta features it computes.
|
java.util.List<java.lang.String> |
getCharacterizerNames()
Gets the names of the used Characterizers.
|
java.util.Map<org.openml.webapplication.fantail.dc.Characterizer,java.lang.String> |
getCharacterizerNamesMappings()
Gets names for the used Characterizers.
|
java.util.ArrayList<org.openml.webapplication.fantail.dc.Characterizer> |
getCharacterizers()
Gets the list of characterizers used in the computation of meta features.
|
java.lang.String[] |
getIDs() |
java.util.Map<java.lang.String,java.lang.Double> |
getMetaFeatureComputationTimes()
Gets the time in milliseconds it took to compute each group of meta features
(Computed by a Characterizer).
|
protected void |
initializeCharacterizerNames()
Initializes
characterizerNames. |
protected void |
initializeCharacterizers()
Adds the required characterizers to
characterizers. |
protected void |
initializeMetaFeatureIds()
Initializes
ids. |
java.lang.String |
toString() |
protected java.lang.String[] ids
protected java.util.ArrayList<org.openml.webapplication.fantail.dc.Characterizer> characterizers
protected java.util.Map<org.openml.webapplication.fantail.dc.Characterizer,java.lang.String> characterizerNames
protected java.util.Map<java.lang.String,java.lang.Double> computationTimes
public GlobalCharacterizer()
throws java.lang.Exception
initializeCharacterizers(),
initializeCharacterizerNames() and
initializeMetaFeatureIds() in order.java.lang.Exceptionpublic java.util.Map<java.lang.String,java.lang.Double> characterize(weka.core.Instances instances)
characterize in class org.openml.webapplication.fantail.dc.Characterizerpublic java.lang.String toString()
toString in class org.openml.webapplication.fantail.dc.Characterizerpublic java.util.ArrayList<org.openml.webapplication.fantail.dc.Characterizer> getCharacterizers()
public java.util.Map<java.lang.String,java.lang.Double> getMetaFeatureComputationTimes()
characterize(Instances) was called are returned. The time is NaN if
the meta feature could not be computed.public java.util.List<java.lang.String> getCharacterizerNames()
public java.util.Map<org.openml.webapplication.fantail.dc.Characterizer,java.lang.String> getCharacterizerNamesMappings()
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getCharacterizerGroups()
public java.lang.String[] getIDs()
getIDs in class org.openml.webapplication.fantail.dc.Characterizerprotected void initializeCharacterizers()
throws java.lang.Exception
characterizers.java.lang.Exceptionprotected void initializeCharacterizerNames()
characterizerNames.protected void initializeMetaFeatureIds()
ids.