|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.AbstractIOObject
com.rapidminer.operator.ResultObjectAdapter
com.rapidminer.operator.meta.ParameterSet
public class ParameterSet
A set of parameters generated by a ParameterOptimizationOperator.
| Constructor Summary | |
|---|---|
ParameterSet(Operator[] operators,
java.lang.String[] parameters,
java.lang.String[] values,
PerformanceVector value)
Constructs a new ParameterSet. |
|
| Method Summary | |
|---|---|
void |
applyAll(Process process,
java.util.Map<java.lang.String,java.lang.String> nameMap)
Applies all parameters in the set to their operators. |
java.lang.String |
getExtension()
Returns the default extension in file choosers. |
java.lang.String |
getFileDescription()
Returns the file description used in file choosers. |
java.lang.String |
getName()
The default implementation returns the classname without package. |
java.util.Iterator<ParameterValue> |
getParameterValues()
|
PerformanceVector |
getPerformance()
Returns the performance of this parameter set. |
javax.swing.Icon |
getResultIcon()
Returns null. |
static ParameterSet |
readParameterSet(java.io.InputStream in)
Reads a parameter set from a file. |
void |
save(java.io.File file)
Saves the object into the given file by using the AbstractIOObject.write(OutputStream)
method of IOObject (XML format). |
java.lang.String |
toString()
|
void |
writeParameterSet(java.io.PrintWriter out,
java.nio.charset.Charset encoding)
|
| Methods inherited from class com.rapidminer.operator.ResultObjectAdapter |
|---|
addAction, getActions, getVisualizationComponent, isSavable, log, logError, logNote, logWarning, toHTML, toResultString |
| Methods inherited from class com.rapidminer.operator.AbstractIOObject |
|---|
copy, getLog, getSource, initWriting, read, setLoggingHandler, setSource, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rapidminer.operator.IOObject |
|---|
copy, getLog, getSource, setLoggingHandler, setSource, write |
| Constructor Detail |
|---|
public ParameterSet(Operator[] operators,
java.lang.String[] parameters,
java.lang.String[] values,
PerformanceVector value)
values[i] for the parameter parameters[i]
of the operator named operators[i].
| Method Detail |
|---|
public java.lang.String getName()
ResultObjectAdapter
getName in interface ResultObjectgetName in class ResultObjectAdapterpublic java.lang.String toString()
toString in class java.lang.Objectpublic PerformanceVector getPerformance()
public void applyAll(Process process,
java.util.Map<java.lang.String,java.lang.String> nameMap)
public void save(java.io.File file)
throws java.io.IOException
ResultObjectAdapterAbstractIOObject.write(OutputStream)
method of IOObject (XML format).
save in interface Saveablesave in class ResultObjectAdapterjava.io.IOExceptionpublic java.lang.String getExtension()
Saveable
public java.lang.String getFileDescription()
Saveable
public java.util.Iterator<ParameterValue> getParameterValues()
public void writeParameterSet(java.io.PrintWriter out,
java.nio.charset.Charset encoding)
public static ParameterSet readParameterSet(java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic javax.swing.Icon getResultIcon()
ResultObjectAdapter
getResultIcon in interface ResultObjectgetResultIcon in class ResultObjectAdapter
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||