2021年8月25日
摘要: 安装 !pip install gensim 训练 from gensim.models import word2vec import logging # 主程序 logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message) 阅读全文
posted @ 2021-08-25 17:06 宋岳庭 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 有道翻译API使用起来非常简单。给定参数,发送请求,即可拿到结果。 # -*- coding: utf-8 -*- # author: huihui # date: 2020/2/21 5:19 下午 import requests url = "http://fanyi.youdao.com/tr 阅读全文
posted @ 2021-08-25 16:59 宋岳庭 阅读(995) 评论(0) 推荐(0) 编辑
摘要: 例子1 from pyecharts import options as opts from pyecharts.charts import WordCloud words = [ ("火箭", 10000), ("勇士库里", 8888), ("在你写这个教程之前,我已经会用了", 6181), 阅读全文
posted @ 2021-08-25 16:48 宋岳庭 阅读(675) 评论(0) 推荐(0) 编辑
摘要: 本文系简要笔记,作者李宏毅,原地址:https://www.youtube.com/watch?v=ugWDIIOHtPA&list=PLJV_el3uVTsOK_ZK5L0Iv_EQoL1JefRL4&index=61 1 背景 RNN ↑在seq2seq任务中,多使用RNN结构。 RNN可以是单 阅读全文
posted @ 2021-08-25 10:15 宋岳庭 阅读(151) 评论(0) 推荐(0) 编辑