>> The -search parameter takes a single string argument that is made up
>> of the classname of the parameter and its options (nested options,
>> therefore any double quotes have to be escaped). It should look
>> something like this (single line):
>>
>> "weka.core.setupgenerator.MathParameter -property classifier.cost -min
>> -3.0 -max 3.0 -step 1.0 -base 10.0 -expression \"pow(BASE,I)\""
>
>
> Before asking you I have tried a single string
> almost correct
> but whitout the addition of double quotes
> to
> the -expresion value.
> I just use the following one and it works great (using single quotes to
> define a string and avoid escaping)
> 'weka.core.setupgenerator.MathParameter -property classifier.cost -min -3.0
> -max 3.0 -step 1.0 -base 10.0 -expression "pow(BASE,I)"'
True, forgot about that. However, if you have to nest deeper, then you
have to escape the double quotes with backslashes.
>> Also note, that the property is prefixed with "classifier.".
>
>
> Using gridSearch I tried with and without "classifier." and for me only
> works without it.
I was only referring to MultiSearch, since that was the topic of your
query. The "classifier" property refers to the MultiSearch object's
property "classifier". For GridSearch, you don't specify this prefix.
> Using multiSearch I have to use the prefix, without it doesn't work.
Correct.
> In both cases the classifier used was a LibSVM (which is already a
> wrapper.... so I have like an inception of wrappers? :P).
Not quite. ;-) MultiSearch uses a different approach to setting the
properties, hence the requirement of the "classifier." prefix.
:-)