TorchLean API

NN.Spec.Module.Svm

SVM as an NNModuleSpec #

The SVM spec model includes a gradient-descent baseline and prediction helpers. This file adds the NNModuleSpec wrapper so it can be composed/exported in the module system.

References:

Linear SVM wrapped as an NNModuleSpec (single-output linear layer).

Instances For
    def Spec.svmChain {α : Type} [Context α] {p : } (model : SVM p 0 α) :

    SpecChain wrapper for linear SVM.

    Instances For