public void TrainModel(double[] labels, double[][] mlArray)
        {
            SvmProblemBuilder builder = new SvmProblemBuilder(labels, mlArray);
            svm_problem       problem = builder.CreateProblem();

            svm_parameter param = new svm_parameter()
            {
                svm_type     = 0,
                kernel_type  = 0,
                cache_size   = 512,
                eps          = 0.1,
                C            = 10,
                nr_weight    = 0,
                weight_label = null,
                weight       = null
            };

            this.model = svm.svm_train(problem, param);
        }
        public void TrainModel(double[] labels, double[][] mlArray)
        {
            SvmProblemBuilder builder = new SvmProblemBuilder(labels, mlArray);
            svm_problem problem = builder.CreateProblem();

            svm_parameter param = new svm_parameter()
            {
                svm_type = 0,
                kernel_type = 0,
                cache_size = 512,
                eps = 0.1,
                C = 10,
                nr_weight = 0,
                weight_label = null,
                weight = null
            };

            this.model = svm.svm_train(problem, param);
        }