+-------------------------------------------------------------+
| |
| SVM.NET 1.6 |
| Copyright � 2009 by Matthew Johnson |
| Adapted from libsvm 2.89 |
| http://www.matthewajohnson.org/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 and test data
Problem train = Problem.Read("a1a.train");
Problem test = Problem.Read("a1a.test");
// 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.6 (7/12/2009)
-----------------------
* Fixed major bug in Kernel.cs with computeSquaredDistance()
* Fixed major bug in svm_predict_probability where a two
dimensional array was being intialized incorrectly.
* Changed the way in which Scaling works. RangeTransform and
GaussianTransform both have a Compute() method, which will
compute the transform from a problem. They also have a
Scale() method, which will scale a problem using that
IRangeTransform object.
Version 1.5 (6/7/2009)
----------------------
* Updated to libsvm 2.89
* Optimized Cache class and Kernel methods
* Fixed bug with PerformanceEvaluator for multiple category problems
Version 1.4 (9/3/2008)
----------------------
* Added PerformanceEvaluator and RankPair classes which enable easy
evaluation using Precision/Recall and Receiver Operating
Characteristic Curves
* Added PrecomputedKernel class, which makes it easier to train SVMs
using custom kernels.
* Small changes to improve performance. See documentation for details.
Version 1.3 (9/17/2007)
-----------------------
* Updated to libsvm 2.84
Version 1.2 (3/27/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 (2/19/2007)
-----------------------
* Fixed a bug when writing to file, where the existing file
wouldn't be completely overwritten.
* Updated documentation.
Version 1.0 (2/16/2007)
-----------------------
* First public release.
没有合适的资源?快使用搜索试试~ 我知道了~
分类器SVM的C#源码
共57个文件
cs:28个
txt:5个
dll:4个
4星 · 超过85%的资源 需积分: 9 296 下载量 172 浏览量
2009-12-06
09:50:53
上传
评论 5
收藏 385KB RAR 举报
温馨提示
含有demo显示。 C#的所有源代码(训练和测试部分)。 封装后的dll文件。 很便于从数据空间角度理解SVM, 还有为编程提供有价值参考。
资源推荐
资源详情
资源评论
收起资源包目录
SVM.rar (57个子文件)
SVM
svm_source
license.txt 15KB
SVM
SVM.sln 899B
Problem.cs 6KB
Node.cs 3KB
Prediction.cs 7KB
Solver.cs 79KB
bin
Debug
Release
SVM.pdb 144KB
SVM.dll 52KB
svm.xml 38KB
Model.cs 15KB
SVM.suo 44KB
obj
Debug
TempPE
Release
SVM.pdb 144KB
SVM.csproj.FileListAbsolute.txt 359B
SVM.dll 52KB
TempPE
GaussianTransform.cs 7KB
SVMExtensions.cs 353B
Parameter.cs 8KB
RangeTransform.cs 9KB
Properties
AssemblyInfo.cs 1KB
Kernel.cs 7KB
SupportClass.cs 6KB
PrecomputedKernel.cs 5KB
Cache.cs 5KB
svm.xml 38KB
IRangeTransform.cs 1KB
ParameterSelection.cs 11KB
Scaling.cs 2KB
PerformanceEvaluator.cs 13KB
SVM.scproj 519B
SVM.ndoc 658B
SVM.csproj 3KB
Training.cs 8KB
svm
SVM.chm 94KB
license.txt 15KB
SVM.dll 52KB
README.txt 3KB
svm_demo_source
license.txt 15KB
SVMDemo
SVMDemo.suo 48KB
SVMDemo
Properties
Resources.Designer.cs 3KB
Settings.settings 249B
Resources.resx 5KB
Settings.Designer.cs 1KB
AssemblyInfo.cs 1KB
Program.cs 1KB
SVM.dll 51KB
SVMDemoForm.resx 82KB
SVMCanvas.resx 9KB
SVMDemo.csproj.user 486B
pearl.ico 46KB
SVMDemoForm.cs 5KB
Gaussian.cs 6KB
SVMDemoForm.Designer.cs 15KB
SVMCanvas.Designer.cs 3KB
SVMCanvas.cs 8KB
SVMDemo.csproj 6KB
SVMDemo.sln 915B
UpgradeLog.XML 5KB
共 57 条
- 1
jap00361
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页