Support Vector Machine : Slack Variables and Nonlinear Kernels

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 5

  • @TanishqKumarBaswal
    @TanishqKumarBaswal 3 роки тому +1

    Should we use the primal or the dual form of the svm problem to train a model on a training set with millions of instances and hundreds of features

    • @EvolutionaryIntelligence
      @EvolutionaryIntelligence  3 роки тому

      If your data is not linearly separable, then you have to use the kernel trick, in which case you have to use the dual form. No choice! For data that is linearly separable, there are some quadratic programming algorithms that can solve the dual problem faster than the primal formulation. So in general, I think you should use the dual formulation, unless there is a very specific reason to use the primal form.

  • @subhajitpramanik8246
    @subhajitpramanik8246 3 роки тому

    Is there any effect of the kernel function in the concavity of the Lagrange function?

    • @EvolutionaryIntelligence
      @EvolutionaryIntelligence  3 роки тому

      No, since the Kernel function only modifies the dot-product between x_iand x_i', whereas the concavity is with respect to the alpha parameters.

    • @subhajitpramanik8246
      @subhajitpramanik8246 3 роки тому

      @@EvolutionaryIntelligence Got it sir. Thank you.