6
$\begingroup$

Specifically, how can I find the possible values of sub-option "KernelType" of option "Method" for Classify? Here's an example:

trainingset = 
  ExampleData[{"MachineLearning", "Titanic"}, "TrainingData"];
c = Classify[trainingset, 
  Method -> {"SupportVectorMachine", 
    "KernelType" -> "RadialBasisFunction", 
    "MulticlassMethod" -> "OneVersusAll"}]

And more generally (although this has been asked previously) I'd like to programmatically enumerate all discrete string values for valid sub-options for any given function.

$\endgroup$
8
  • 2
    $\begingroup$ Linear, Sigmoid, Polynomial, RadialBasisFunction, Automatic $\endgroup$
    – Rojo
    Commented Nov 6, 2014 at 5:40
  • $\begingroup$ Thanks @Rojo! How did you find these? $\endgroup$
    – user5601
    Commented Nov 6, 2014 at 5:44
  • $\begingroup$ With some very manual and ungeneralizeable spelunking. This machine learning package is quite closed $\endgroup$
    – Rojo
    Commented Nov 6, 2014 at 6:03
  • 1
    $\begingroup$ Perhaps because of lack of time, perhaps because they don't feel confident about the functionality not having bugs or being future-proof, who knows. What I don't like is the fact that they try hard to hide the code. Its all Locked $\endgroup$
    – Rojo
    Commented Nov 6, 2014 at 16:32
  • 1
    $\begingroup$ How about the options for "MulticlassMethod"? $\endgroup$
    – PFD
    Commented Jun 26, 2015 at 0:08

1 Answer 1

3
$\begingroup$

Sub-options for Method -> "SupportVectorMachine" include:

  • Linear
  • Sigmoid
  • Polynomial
  • RadialBasisFunction
  • Automatic

In 12.3, there is a help page ref/method/SupportVectorMachine

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.