使用LIBLINEAR进行多标签预测 [英] Multi-label prediction using LIBLINEAR

查看:169
本文介绍了使用LIBLINEAR进行多标签预测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用LIBLINEAR,我需要知道是否可以在Windows中进行多标签预测.我尝试了google,但没有运气

I am using LIBLINEAR and i need to know whether Multi-Label Prediction in windows is possible or not.I tried google but no luck

我希望通过以下方式产生输出

I want the output to be produced the following way

我训练了大约10个带有三个类别标签1,2,3的文档,现在当我向分类器提供测试文档时,如果该文档属于标签1和2,那么它应该生成1,2或其他显示该文档属于类标签

I train some 10 documents with three class labels 1,2,3 and now when i feed a test document to the classifier and if the document belongs to label 1 and 2 then it should produce 1,2 or something else which shows that document belongs to 1 and 2 both the class labels

我想要Windows中的示例

I want an example in windows

谢谢

推荐答案

默认情况下,libSvm和LibLinear都不支持多类分类.

By default neither libSvm nor LibLinear supports multiclass classification.

您需要执行一种所有人反对的方法.

You need to perform a One against all approach.

您可以在 libsvm页面上找到帮助,该页面提供了多种LIBSVM或LIBLINEAR的-label分类

这篇关于使用LIBLINEAR进行多标签预测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆