1 / 5
文档名称:

matlab接口中libsvm的使用方法和可以使用的函数.doc

格式:doc   大小:25KB   页数:5页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

matlab接口中libsvm的使用方法和可以使用的函数.doc

上传人:bai1968104 2021/3/5 文件大小:25 KB

下载得到文件列表

matlab接口中libsvm的使用方法和可以使用的函数.doc

文档介绍

文档介绍:[LIBSVM资料] matlab接口中libsvm的使用方法和可以使用的函数
matlab, libsvm, 接口
在C版的libsvm中有很多函数,朋友们都认为matlab接口中也有相应的,其实不是!matlab接口中,libsvm可以使用的函数好像不多,具体在接口文件夹的README中有说明,可以使用的函数有如下几个,可以在matlab命令行直接使用(这是我的理解):
Usage
=====
matlab> model = svmtrain(training_label_vector, training_instance_matrix [, 'libsvm_options']);
        -training_label_vector:
            An m by 1 vector of training labels (type must be double).
        -training_instance_matrix:
            An m by n matrix of m training instances with n features.
            It can be dense or sparse (type must be double).
        -libsvm_options:
            A string of training options in the same format as that of LIBSVM.
matlab> [predicted_label, accuracy, decision_values/prob_estimates] = svmpredict(testing_label_vector, testing_instance_matrix, model [, 'libsvm_options']);
        -testing_label_vector:
            An m by 1 vector of prediction labels. If labels of test
            data are unknown, simply use any random values. (type must be double)
        -testing_instance_matrix:
            An m by n matrix of m testing instances with n features.
            It can be dense or sparse. (type must be double)
        -model:
            The output of svmtrain.
        -libsvm_options:
            A string of testing options in the same format as that of LIBSVM.
Returned Model Structure
================