java.lang.Object
net.algart.json.PropertyChecker
net.algart.executors.api.ExecutionBlock
All Implemented Interfaces:
AutoCloseable

public final class MLTrainSVM extends AbstractMLTrain
  • Field Details

  • Method Details

    • newTrainNumbers

      public static MLTrainSVM newTrainNumbers()
    • newTrainPixels

      public static MLTrainSVM newTrainPixels()
    • getSvmType

      public MLTrainSVM.SVMType getSvmType()
    • setSvmType

      public MLTrainSVM setSvmType(MLTrainSVM.SVMType svmType)
    • getKernelType

      public MLTrainSVM.KernelType getKernelType()
    • setKernelType

      public MLTrainSVM setKernelType(MLTrainSVM.KernelType kernelType)
    • getC

      public double getC()
    • setC

      public MLTrainSVM setC(double c)
    • getGamma

      public double getGamma()
    • setGamma

      public MLTrainSVM setGamma(double gamma)
    • getP

      public double getP()
    • setP

      public MLTrainSVM setP(double p)
    • getNu

      public double getNu()
    • setNu

      public MLTrainSVM setNu(double nu)
    • getCoef

      public double getCoef()
    • setCoef

      public MLTrainSVM setCoef(double coef)
    • getDegree

      public double getDegree()
    • setDegree

      public MLTrainSVM setDegree(double degree)
    • getTerminationMaxCount

      public int getTerminationMaxCount()
    • setTerminationMaxCount

      public MLTrainSVM setTerminationMaxCount(int terminationMaxCount)
    • getTerminationEpsilon

      public double getTerminationEpsilon()
    • setTerminationEpsilon

      public MLTrainSVM setTerminationEpsilon(double terminationEpsilon)
    • isAutoTraining

      public boolean isAutoTraining()
    • setAutoTraining

      public MLTrainSVM setAutoTraining(boolean autoTraining)
    • getKFold

      public int getKFold()
    • setKFold

      public MLTrainSVM setKFold(int kFold)
    • isCGridCustom

      public boolean isCGridCustom()
    • setCGridCustom

      public MLTrainSVM setCGridCustom(boolean cGridCustom)
    • getCGridMin

      public double getCGridMin()
    • setCGridMin

      public MLTrainSVM setCGridMin(double cGridMin)
    • getCGridMax

      public double getCGridMax()
    • setCGridMax

      public MLTrainSVM setCGridMax(double cGridMax)
    • getCGridLogStep

      public double getCGridLogStep()
    • setCGridLogStep

      public MLTrainSVM setCGridLogStep(double cGridLogStep)
    • isGammaGridCustom

      public boolean isGammaGridCustom()
    • setGammaGridCustom

      public MLTrainSVM setGammaGridCustom(boolean gammaGridCustom)
    • getGammaGridMin

      public double getGammaGridMin()
    • setGammaGridMin

      public MLTrainSVM setGammaGridMin(double gammaGridMin)
    • getGammaGridMax

      public double getGammaGridMax()
    • setGammaGridMax

      public MLTrainSVM setGammaGridMax(double gammaGridMax)
    • getGammaGridLogStep

      public double getGammaGridLogStep()
    • setGammaGridLogStep

      public MLTrainSVM setGammaGridLogStep(double gammaGridLogStep)
    • isPGridCustom

      public boolean isPGridCustom()
    • setPGridCustom

      public MLTrainSVM setPGridCustom(boolean pGridCustom)
    • getPGridMin

      public double getPGridMin()
    • setPGridMin

      public MLTrainSVM setPGridMin(double pGridMin)
    • getPGridMax

      public double getPGridMax()
    • setPGridMax

      public MLTrainSVM setPGridMax(double pGridMax)
    • getPGridLogStep

      public double getPGridLogStep()
    • setPGridLogStep

      public MLTrainSVM setPGridLogStep(double pGridLogStep)
    • isNuGridCustom

      public boolean isNuGridCustom()
    • setNuGridCustom

      public MLTrainSVM setNuGridCustom(boolean nuGridCustom)
    • getNuGridMin

      public double getNuGridMin()
    • setNuGridMin

      public MLTrainSVM setNuGridMin(double nuGridMin)
    • getNuGridMax

      public double getNuGridMax()
    • setNuGridMax

      public MLTrainSVM setNuGridMax(double nuGridMax)
    • getNuGridLogStep

      public double getNuGridLogStep()
    • setNuGridLogStep

      public MLTrainSVM setNuGridLogStep(double nuGridLogStep)
    • isCoefGridCustom

      public boolean isCoefGridCustom()
    • setCoefGridCustom

      public MLTrainSVM setCoefGridCustom(boolean coefGridCustom)
    • getCoefGridMin

      public double getCoefGridMin()
    • setCoefGridMin

      public MLTrainSVM setCoefGridMin(double coefGridMin)
    • getCoefGridMax

      public double getCoefGridMax()
    • setCoefGridMax

      public MLTrainSVM setCoefGridMax(double coefGridMax)
    • getCoefGridLogStep

      public double getCoefGridLogStep()
    • setCoefGridLogStep

      public MLTrainSVM setCoefGridLogStep(double coefGridLogStep)
    • isDegreeGridCustom

      public boolean isDegreeGridCustom()
    • setDegreeGridCustom

      public MLTrainSVM setDegreeGridCustom(boolean degreeGridCustom)
    • getDegreeGridMin

      public double getDegreeGridMin()
    • setDegreeGridMin

      public MLTrainSVM setDegreeGridMin(double degreeGridMin)
    • getDegreeGridMax

      public double getDegreeGridMax()
    • setDegreeGridMax

      public MLTrainSVM setDegreeGridMax(double degreeGridMax)
    • getDegreeGridLogStep

      public double getDegreeGridLogStep()
    • setDegreeGridLogStep

      public MLTrainSVM setDegreeGridLogStep(double degreeGridLogStep)
    • isBalanced

      public boolean isBalanced()
    • setBalanced

      public MLTrainSVM setBalanced(boolean balanced)
    • process

      public void process()
      Specified by:
      process in class net.algart.executors.api.Executor
    • toString

      public static String toString(org.bytedeco.opencv.opencv_ml.SVM model)
    • modelKind

      protected MLKind modelKind()
      Specified by:
      modelKind in class AbstractMLTrain
    • categoricalResponses

      protected boolean categoricalResponses()
      Specified by:
      categoricalResponses in class AbstractMLTrain
    • doTrain

      protected void doTrain(MLTrainer trainer, org.bytedeco.opencv.opencv_ml.TrainData trainData, int sampleLength, int responseLength)
      Overrides:
      doTrain in class AbstractMLTrain