可以使用Microsoft ML.NET进行一类分类吗? [英] Is it possible to do one-class classification with Microsoft ML.NET?

查看:82
本文介绍了可以使用Microsoft ML.NET进行一类分类吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Microsoft ML进行一类分类( Wiki ) .网? IE.在训练数据集中,只有一个(阳性)类别,我想告诉您一些测试数据是否属于该类别.可以通过ML.NET完成吗?

Is it possible to do one-class classification (wiki) with Microsoft ML.NET? I.e. in the training data set there is only one (the positive) class and I would like to tell if some test data belongs to this class or not. Can this be accomplished wiht ML.NET?

可能我可以尝试使用二进制分类(尽管预测总是会在训练数据集中分类为该类)并检查预测的分数,但这似乎不是一个可靠的解决方案.

Pobably I can try with binary classification (although the prediction will always be classified as that class in the training data set) and inspect the score of the prediction, but this doesn't seem like a robust solution.

谢谢.

推荐答案

二进制分类仅适用于一个类,因为该模型将演变为常数预测.

Binary classification will not work with only one class, since the model will devolve into constant prediction.

我们曾经在ML.NET的内部前身中使用一类SVM,但我看不到有任何证据表明它已包含在库中.在这种情况下,不,我无法考虑使用现有算法的任何解决方法.

We used to have one-class SVM in the internal precursor to ML.NET, but I don't see any evidence that it made it into the library. In this case, no, I cannot think of any workaround using existing algorithms.

这篇关于可以使用Microsoft ML.NET进行一类分类吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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