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.

  • 2
    $\begingroup$ Linear, Sigmoid, Polynomial, RadialBasisFunction, Automatic $\endgroup$ – Rojo Nov 6 '14 at 5:40
  • $\begingroup$ Thanks @Rojo! How did you find these? $\endgroup$ – user5601 Nov 6 '14 at 5:44
  • $\begingroup$ With some very manual and ungeneralizeable spelunking. This machine learning package is quite closed $\endgroup$ – Rojo Nov 6 '14 at 6:03
  • $\begingroup$ Why is there no documentation? Seems funny! $\endgroup$ – user5601 Nov 6 '14 at 15:09
  • 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 Nov 6 '14 at 16:32

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

  • Linear
  • Sigmoid
  • Polynomial
  • RadialBasisFunction
  • Automatic

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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