- 博客(6)
- 收藏
- 关注
转载 各种LSTM
Tutorial OverviewIn this tutorial, we will explore how to develop a suite of different types of LSTM models for time series forecasting.The models are demonstrated on small contrived time series problems intended to give the flavor of the type of time
2021-07-17 20:13:03
393
原创 2021-07-14 pytorch安装记录
(base) C:\Users\chen>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/(base) C:\Users\chen>conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/(base) C:\Users\chen># 添加pytorc..
2021-07-14 01:50:31
325
原创 python 合并excel
# -*- coding:utf-8*-import sys#reload(sys)#sys.setdefaultencoding('utf-8')import pandas as pdimport osimport os.pathimport timetime1=time.time()# 使用os模块walk函数,搜索出某目录下的全部excel文件######################获取同一个文件夹下的所有excel文件名#######################.
2020-12-22 16:54:45
168
原创 csv分词记录
import csvimport nltkfrom nltk.stem import PorterStemmerfrom nltk.stem import WordNetLemmatizerimport pandas as pdfrom pandas import read_csvimport numpy as np#分词def stopwordslist(): stopwords = [line.strip() for line in open('stopwords_en.tx.
2020-12-21 16:56:13
291
原创 中英文分词
1.jieba 分词# -*- coding: UTF-8 -*-from collections import Counterimport jiebadef stopwordslist(): stopwords = [line.strip() for line in open('stopwords_en.txt',encoding='UTF-8').readlines()] return stopwordsdef seg_depart(sentence): se
2020-12-20 19:56:45
293
原创 爬取知乎答案词云
大神是真的大神 ,ZhihuClient是真滴好用 登录 # -*- coding: UTF-8 -*-#from zhihu_oauth import ZhihuClient#from zhihu_oauth.exception import NeedCaptchaException#client = ZhihuClient()#client.login_in_terminal...
2019-11-28 14:32:14
499
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人