gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-11-30 09:21:15 25 4
gpt4 key购买 nike

是否可以使用条件随机场进行多标签分类?我在 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/

25 4 0