Package org.opencv.ml

Class SVM

    • Constructor Detail

      • SVM

        protected SVM​(long addr)
    • Method Detail

      • getClassWeights

        public Mat getClassWeights()
      • getSupportVectors

        public Mat getSupportVectors()
      • getUncompressedSupportVectors

        public Mat getUncompressedSupportVectors()
      • create

        public static SVM create()
      • load

        public static SVM load​(String filepath)
      • getC

        public double getC()
      • getCoef0

        public double getCoef0()
      • getDecisionFunction

        public double getDecisionFunction​(int i,
                                          Mat alpha,
                                          Mat svidx)
      • getDegree

        public double getDegree()
      • getGamma

        public double getGamma()
      • getNu

        public double getNu()
      • getP

        public double getP()
      • getKernelType

        public int getKernelType()
      • getType

        public int getType()
      • setC

        public void setC​(double val)
      • setClassWeights

        public void setClassWeights​(Mat val)
      • setCoef0

        public void setCoef0​(double val)
      • setDegree

        public void setDegree​(double val)
      • setGamma

        public void setGamma​(double val)
      • setKernel

        public void setKernel​(int kernelType)
      • setNu

        public void setNu​(double val)
      • setP

        public void setP​(double val)
      • setTermCriteria

        public void setTermCriteria​(TermCriteria val)
      • setType

        public void setType​(int val)