+-------------------------------------------------------------+
| |
| SVM.NET 1.3 |
| Copyright � 2007 by Matthew Johnson |
| University of Cambridge |
| Adapted from libsvm 2.84 |
| http://mi.eng.cam.ac.uk/~mj293/software_svm.html |
| |
+-------------------------------------------------------------+
Thank you for downloading this .NET version of the libsvm
library. Full documentation of the library is found in
the included help document. To get started quickly, however,
here is a sample of how to perform learning on the sample
data provided for download with this library in C#
(for more data in the libsvm format, please go to
http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/.
// First, read in the training data
Problem train = Problem.Read("a1a.train");
// Now, determine the range of the data so we can
// scale it to be uniform across all dimensions
RangeTransform range = Scaling.DetermineRange(train);
// We now scale all data using that range
train = Scaling.Scale(train, range);
Problem test = Problem.Read("a1a.test");
test = Scaling.Scale(test, range);
// For this example (and indeed, many scenarios), the default
// parameters will suffice.
Parameter parameters = new Parameter();
double C;
double Gamma;
// This will do a grid optimization to find the best parameters
// and store them in C and Gamma, outputting the entire
// search to params.txt.
ParameterSelection.Grid(
train,
parameters,
"params.txt",
out C,
out Gamma
);
parameters.C = C; parameters.Gamma = Gamma;
// Train the model using the optimal parameters.
Model model = Training.Train(train, parameters);
// Perform classification on the test data, putting the
// results in results.txt.
Prediction.Predict(test, "results.txt", model, false);
==================== Revision Information ====================
Version 1.3 (17/9/2007)
-----------------------
* Updated to libsvm 2.84
Version 1.2 (27/3/2007)
-----------------------
* Added the ability to predict class membership and probabilities
for a single vector to the Prediction class.
* Added the GaussianTransform class.
* Fixed minor bugs and completed documentation.
Version 1.1 (19/2/2007)
-----------------------
* Fixed a bug when writing to file, where the existing file
wouldn't be completely overwritten.
* Updated documentation.
Version 1.0 (16/2/2007)
-----------------------
* First public release.
没有合适的资源?快使用搜索试试~ 我知道了~
SVM.NET_Csharp
共70个文件
cs:24个
exe:7个
resources:6个
5星 · 超过95%的资源 需积分: 9 36 下载量 156 浏览量
2008-10-02
19:12:45
上传
评论 1
收藏 673KB RAR 举报
温馨提示
用C#编写的SVM,即Support Vector Machines for .NET
资源推荐
资源详情
资源评论
收起资源包目录
SVM.Net_Csharp_2.6.rar (70个子文件)
svm_source
svm_source
license.txt 15KB
SVM
SVM.sln 2KB
Problem.cs 6KB
Node.cs 2KB
Prediction.cs 7KB
Solver.cs 85KB
bin
Debug
Release
Model.cs 15KB
SVM.suo 45KB
obj
Debug
TempPE
Release
Refactor
TempPE
GaussianTransform.cs 7KB
Parameter.cs 9KB
RangeTransform.cs 7KB
Properties
AssemblyInfo.cs 1KB
SupportClass.cs 6KB
Cache.cs 5KB
svm.xml 32KB
IRangeTransform.cs 850B
ParameterSelection.cs 11KB
Scaling.cs 4KB
SVM.csproj 3KB
Training.cs 8KB
svm
SVM.chm 173KB
license.txt 15KB
SVM.dll 56KB
README.txt 3KB
demo_source
license.txt 15KB
SVMDemo
SVMDemo.suo 18KB
SVMDemo
bin
Debug
SVMDemo.vshost.exe 6KB
SVM.dll 56KB
SVMDemo.exe 132KB
SVMDemo.pdb 50KB
Release
SVMDemo.vshost.exe 6KB
SVM.dll 56KB
SVMDemo.exe 132KB
SVMDemo.pdb 40KB
obj
Debug
SVMDemo.csproj.GenerateResource.Cache 910B
SVMDemo.Properties.Resources.resources 180B
ResolveAssemblyReference.cache 2KB
SVMDemo.SVMDemoForm.resources 53KB
SVMDemo.SVMCanvas.resources 2KB
Refactor
TempPE
SVMDemo.exe 132KB
SVMDemo.pdb 50KB
SVMDemo.csproj.FileList.txt 684B
Release
SVMDemo.csproj.GenerateResource.Cache 910B
SVMDemo.Properties.Resources.resources 180B
ResolveAssemblyReference.cache 2KB
SVMDemo.SVMDemoForm.resources 53KB
SVMDemo.SVMCanvas.resources 2KB
Refactor
TempPE
SVMDemo.exe 132KB
SVMDemo.pdb 40KB
Properties
Resources.Designer.cs 3KB
Settings.settings 249B
Resources.resx 5KB
Settings.Designer.cs 1KB
AssemblyInfo.cs 1KB
Program.cs 1KB
SVM.dll 56KB
SVMDemoForm.resx 82KB
SVMCanvas.resx 9KB
pearl.ico 46KB
SVMDemoForm.cs 5KB
Gaussian.cs 6KB
SVMDemoForm.Designer.cs 15KB
Thumbs.db 6KB
SVMCanvas.Designer.cs 3KB
SVMCanvas.cs 8KB
SVMDemo.csproj 4KB
SVMDemo.sln 914B
demo
license.txt 15KB
SVM.dll 56KB
SVMDemo.exe 132KB
共 70 条
- 1
资源评论
- tagexingzhe2012-02-28算法实现的挺好,就是运算效率偏低了一些,作为参考一点问题都没有,谢谢分享!
- hspHit2014-11-25很有用,学会了c#怎么使用svm
SunShine_86
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功