示例#1
0
 internal SvcBase(
     LibSvmImpl impl,
     Kernel kernel,
     int degree,
     double gamma,
     double coef0,
     double tol,
     double c,
     double nu,
     double epsilon,
     bool shrinking,
     bool probability,
     int cacheSize,
     ClassWeightEstimator <TLabel> classWeightEstimator,
     bool verbose) :
     base(
         impl,
         kernel,
         degree,
         gamma,
         coef0,
         tol,
         c,
         nu,
         epsilon,
         shrinking,
         probability,
         cacheSize,
         verbose)
 {
     this.ClassWeightEstimator = classWeightEstimator;
 }
示例#2
0
        internal LibSvmBase(
            LibSvmImpl impl,
            Kernel kernel,
            int degree,
            double gamma,
            double coef0,
            double tol,
            double c,
            double nu,
            double epsilon,
            bool shrinking,
            bool probability,
            int cacheSize,
            bool verbose)
        {
            this.Param = new svm_parameter();

            this.Impl = impl;
            this.Kernel = kernel;
            this.Degree = degree;
            this.Gamma = gamma;
            this.Coef0 = coef0;
            this.Tol = tol;
            this.C = c;
            this.Nu = nu;
            this.Epsilon = epsilon;
            this.Shrinking = shrinking;
            this.Probability = probability;
            this.CacheSize = cacheSize;
            this.Verbose = verbose;
        }
示例#3
0
        internal LibSvmBase(
            LibSvmImpl impl,
            Kernel kernel,
            int degree,
            double gamma,
            double coef0,
            double tol,
            double c,
            double nu,
            double epsilon,
            bool shrinking,
            bool probability,
            int cacheSize,
            bool verbose)
        {
            this.Param = new svm_parameter();

            this.Impl        = impl;
            this.Kernel      = kernel;
            this.Degree      = degree;
            this.Gamma       = gamma;
            this.Coef0       = coef0;
            this.Tol         = tol;
            this.C           = c;
            this.Nu          = nu;
            this.Epsilon     = epsilon;
            this.Shrinking   = shrinking;
            this.Probability = probability;
            this.CacheSize   = cacheSize;
            this.Verbose     = verbose;
        }