摘要: 因为注释已经很详细了,所以直接上代码: 1 from sklearn.datasets import load_iris 2 from sklearn.model_selection import train_test_split 3 #k临近算法 4 from sklearn.neighbors 阅读全文
posted @ 2020-03-23 23:46 博二爷 阅读(352) 评论(0) 推荐(0)
摘要: 切词: 1 from pyhanlp import * 2 content = "现如今,机器学习和深度学习带动人工智能飞速的发展,并在图片处理、语音识别领域取得巨大成功。" 3 CoreStopWordDictionary = JClass("com.hankcs.hanlp.dictionary 阅读全文
posted @ 2020-03-23 22:58 博二爷 阅读(1862) 评论(0) 推荐(0)