|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautoweka.ClassParams
public class ClassParams
Captures all the Parameters and Conditionals for a specific class that Auto-WEKA will search over
Constructor Summary | |
---|---|
ClassParams(java.lang.String fileName)
Parses a given .param file to extract all the Parameter and Conditional objects |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
filterParams(java.util.Map<java.lang.String,java.lang.String> inputMap)
Given a map of parameter,value pairs, only returns a new map that has only params that are active based on the conditional rules |
java.util.ArrayList<Conditional> |
getConditionals()
Gets the list of all conditionals for this class |
java.util.HashMap<java.lang.String,Parameter> |
getParameterMap()
Gets a map between the parameter names and the actuall parameters for this class |
java.util.ArrayList<Parameter> |
getParameters()
Gets the list of all parameters for this class |
java.lang.String |
getTargetClass()
Gets the canonical name of the class that these parameters capture |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassParams(java.lang.String fileName)
Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> filterParams(java.util.Map<java.lang.String,java.lang.String> inputMap)
inputMap
- The map consisting of parameter name to values that need to be filteredpublic java.lang.String getTargetClass()
public java.util.ArrayList<Parameter> getParameters()
public java.util.ArrayList<Conditional> getConditionals()
public java.util.HashMap<java.lang.String,Parameter> getParameterMap()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |