⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svm_model.cs

📁 支持向量机程序,非常有用,可以供大家实验使用,改进.希望能多大家工作有帮助.
💻 CS
字号:
//
// svm_model
//
using System;
namespace libsvm
{
	[Serializable]
	public class svm_model 
	{
		internal svm_parameter param; // parameter
		internal int nr_class; // number of classes, = 2 in regression/one class svm
		internal int l; // total #SV
		internal svm_node[][] SV; // SVs (SV[l])
		internal double[][] sv_coef; // coefficients for SVs in decision functions (sv_coef[n-1][l])
		internal double[] rho; // constants in decision functions (rho[n*(n-1)/2])
		internal double[] probA; // pariwise probability information
		internal double[] probB;
		
		// for classification only
		
		internal int[] label; // label of each class (label[n])
		internal int[] nSV; // number of SVs for each class (nSV[n])
		// nSV[0] + nSV[1] + ... + nSV[n-1] = l
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -