python - 使用条件随机场的多标签分类

标签 python machine-learning classification multilabel-classification crf

是否可以使用条件随机场进行多标签分类?我在 https://pystruct.github.io/user_guide.html 看到了 python CRF 实现,但无法找到进行多标签分类的方法。

最佳答案

基本CRF不支持多标签分类。然而,已经探索了一些扩展,例如集体多标签(CML)和 具有特征的集体多标签(CMLF)。来自(1):

A conditional random field (CRF) based model is presented in [21] where two multi-label graphical models has been proposed, both parameterizes label co-occurances. The Collective Multi-label (CML) classifier maintains feature accounting for label co-occurances and the Collective Multi-label with Features (CMLF) maintains parameters that correspond to features for each co-occuring label pair. Petterson et. al. recently presented another interesting generative modeling approach in a reverse manner, predicting a set of instances given the labels [39].

<小时/>

引用文献:

关于python - 使用条件随机场的多标签分类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37531532/

相关文章:

python - 在 numpy 数组中的多个索引上设置值

machine-learning - 如何在 TensorFlow 中表示线性数据

python - 如何在 NiftyNet 中实现迁移学习?

algorithm - K 最近邻分类具有相同点的特例

python - 如何在 Scikit 中计算多类分类的混淆矩阵?

r - 在 R 中计算精度、召回率和 F1 分数的简单方法

python - SOAP - 使用 zeep 创建元素 (python)

python - 使用 Pytorch 数据加载器加载特定示例的简单方法

python - 有没有一种方法可以在 Python 中检索子目录而不必遍历所有文件?

machine-learning - tensorflow 形状不正确