TypeError: _unique_dispatcher() missing 1 required keyword-only argument: 'equal_nan'
tf_vectorizer = TfidfVectorizer(
strip_accents='unicode',
max_features=n_features,
stop_words=stopwords_ls,
max_df=0.6, # 参数可调
min_df=0.1) # 去除文档内出现几率过大或过小的词汇
tf = tf_vectorizer.fit_transform(corpus)
请问我这个是哪里错了,应该怎么改呢QAQ
缺少参数,看看别人都传了那些
https://zhuanlan.zhihu.com/p/67883024#:~:text=%E5%9C%A8TfidfVe,VSM%E7%9F%A9%E9%98%B5%E5%BD%A2%E5%BC%8F%E3%80%82