
人工智能
文章平均质量分 93
_Shawn_Shawn_
If you shed tears when you miss the sun, you also miss the stars.
展开
-
bert serving的简单使用(文本向量化)
不涉及原理更详细的请参考官方文档https://bert-as-service.readthedocs.io/en/latest/index.html下载预训练模型(下载可能需要一些时间,可以先去下一步)可以直接去github下载https://github.com/google-research/bert解压后的文件有5个安装python库pip install bert-serving-serverpip install bert-serving-client启动服务在命原创 2020-06-05 09:47:58 · 12639 阅读 · 5 评论 -
11-411/611NLP Lecture 2. Applications
Accuracy/Precision/Recall/FI-Measure在机器学习邻域,用于评估的标准正类:需要检索输出的类。在该场景下就是橘子。负类:不需要检索输出的类。在该场景下就是苹果。相关(Relevant...原创 2019-10-20 14:30:08 · 222 阅读 · 0 评论 -
numpy实现k-means算法
numpy实现k-means算法看numpy的中文文档学了一些尝试了一下他的k-means代码有些地方在本地运行有小问题改了一下,然后加了详细注释帮助理解原代码的地址是:NumPy 中文文档import matplotlib.pyplot as pltimport numpy as npimport randomimport mathimport redef euclDis...原创 2019-08-28 08:41:37 · 652 阅读 · 0 评论