简体   繁体   English

'CRF' object 没有属性 'keep_tempfiles'

[英]'CRF' object has no attribute 'keep_tempfiles'

I have imported `我已经导入`

from itertools import chain
import nltk

import sklearn

import scipy.stats

import sklearn_crfsuite

from sklearn_crfsuite import scorers,CRF

from sklearn_crfsuite.metrics import flat_classification_report

from sklearn_crfsuite import metrics`

Is there any way we can fix this on google colab?有什么办法可以在 google colab 上解决这个问题吗?

Try this:尝试这个:

!pip install scikit-learn==0.22.2 --user

source: https://github.com/TeamHG-Memex/sklearn-crfsuite/issues/60来源: https://github.com/TeamHG-Memex/sklearn-crfsuite/issues/60

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM