随笔分类 -  bug

Resource wordnet not found. Please use the NLTK Downloader to obtain the resource:
摘要:第一次使用nltk的时候,出现了这样的错误: from nltk.stem.wordnet import WordNetLemmatizer lemmatizer = WordNetLemmatizer() print(lemmatizer.lemmatize('computer')) 原来是需要先 阅读全文

posted @ 2021-12-10 16:38 lpzju 阅读(1848) 评论(0) 推荐(0) 编辑

numpy.core._exceptions.UFuncTypeError: ufunc 'subtract' did not contain a loop with signature matching types (dtype('<U1'), dtype('float64')) -> None
摘要:在机器学习实战的Logistic回归梯度上升优化算法中遇到了这个问题 numpy.core._exceptions.UFuncTypeError: ufunc 'subtract' did not contain a loop with signature matching types (dtype 阅读全文

posted @ 2021-11-29 21:30 lpzju 阅读(4742) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示