Package com.groiss.ml.classifier
Class ClassifierOption
java.lang.Object
com.groiss.ml.classifier.ClassifierOption
Represents a single option with arguments for a
ClassifierAssignment
.
Example:
"-multipleArgsOption test 6"
will be represented by:
name: "multipleArgsOption"
arguments: {"test", "6"}
-
Constructor Summary
ConstructorDescriptionClassifierOption
(String name, List<String> arguments) Create a newClassifierOption
with the passed option name an argument list. -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of arguments of the option represented by thisClassifierOption
getName()
Returns the name of the option represented by thisClassifierOption
-
Constructor Details
-
ClassifierOption
Create a newClassifierOption
with the passed option name an argument list.- Parameters:
name
-arguments
-
-
-
Method Details
-
getName
Returns the name of the option represented by thisClassifierOption
- Returns:
- the name of the option
-
getArguments
Returns a list of arguments of the option represented by thisClassifierOption
- Returns:
- the list of option arguments
-