自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 资源 (1)
  • 收藏
  • 关注

转载 2021-09-29

import requests#请求urlurl = “http://httpbin.org/get”#请求头headers= {“Accept”: “/”,“Accept-Encoding”: “gzip, deflate”,“User-Agent”: “python-requests/2.9.1”}#查询字符串params = {‘name’: ‘coco’, ‘age’: ‘18’}res= requests.get(url, headers=headers, data=param

2021-09-29 23:21:21 135

转载 2021-09-17

https://github.com/devmount/GermanWordEmbeddingshttps://github.com/dtuggener/CharSplithttps://github.com/hathibelagal/German-English-JSON-Dictionaryhttps://github.com/Ludeon/RimWorld-dehttps://github.com/stopwords-iso/stopwords-dehttps://github.com/a.

2021-09-17 23:25:01 167

转载 2021-09-17

https://github.com/JepsonWong/Text_Matchinghttps://github.com/maszhongming/MatchSumhttps://github.com/alibaba-edu/simple-effective-text-matching-pytorch *****https://github.com/terrifyzhao/text_matchinghttps://github.com/wangle1218/deep_text_matchingh

2021-09-17 23:04:19 161

转载 2021-08-16

Germanhttps://github.com/search?l=Jupyter+Notebook&p=6&q=German&type=Repositorieshttps://github.com/AASHISHAG/deepspeech-germanhttps://github.com/dtuggener/CharSplithttps://github.com/jgehrcke/covid-19-germany-gaehttps://github.com/bundes

2021-09-07 23:08:13 168

转载 2021-08-17

【程序1】   题目:古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?   //这是一个菲波拉契数列问题(这个数列从第3项开始,每一项都等于前两项之和。)public class lianxi01 {public static void main(String[] args) {System.out.println(“第1个月的兔子对数:&nbs

2021-08-17 23:35:09 78

原创 2021-08-15

-- coding: utf-8 --“”"Created on Tue Nov 24 15:44:56 2020“”"dequefrom collections import dequeD=deque(maxlen=3)D.append([2,3,4])D.append([4,5,6])D.append([7,5,6])D.append([11,5,6])r_batch = [d for d in D]c2=np.stack(r_batch,axis=0)# ts_index =

2021-08-17 23:31:33 198

转载 2021-08-16

th https://github.com/search?p=3&q=thai+Bert&type=Repositories1.https://github.com/PyThaiNLP/pythainlp2.https://github.com/PyThaiNLP/lexicon-thai3.https://github.com/PyThaiNLP/lexicon-thai4.https://github.com/pucktada/cutkum5.https://github.com

2021-08-16 23:53:28 261

转载 2021-08-15

https://github.com/InnerPeace-Wu/imaterialist_challenge-furniture2 .https://github.com/HarshiniGosangi/Online-Shopper-s-Purchasing-Intention3.https://github.com/TwgInternational/Warehouse-Inventory-Management4.https://github.com/nehakhanzode2508/Online

2021-08-15 22:52:54 246

转载 2021-08-15

https://github.com/Strange-AI/frenet_path_planning. 无人驾驶https://github.com/Telecominfraproject/oopt-gnpyGNPy: Optical Route Planning and DWDM Network Optimizationhttps://github.com/Dungyichao/Electric-Vehicle-Route-Planning-on-Google-Map-Reinforcement.

2021-08-15 22:46:45 113

转载 others

https://github.com/Alic-yuan/nlp-beginner-finish基于HMM的中文分词模型基于fasttext的情感极性判断模型基于MaxEnt的中文词性标注模型基于CRF的中文命名实体识别模型基于序列标注的中文依存句法分析模型基于Xgboost的中文疑问句判别模型https://github.com/lpty/nlp_basehttps://github.com/ChunML/NLP. chatbothttps://github.com/RaRe-Te

2021-07-21 23:40:07 86

原创 2021-07-21

-- coding: utf-8 --“”"Created on Wed Apr 8 09:46:04 2020@author: advantech“”"from sklearn.externals import joblibimport pandas as pdimport pymysql as mdbfrom sklearn.preprocessing import StandardScaler,MinMaxScalerimport numpy as npimport matplo

2021-07-21 23:00:00 115

原创 2021-07-21

-- coding: utf-8 --“”"Created on Thu Jun 21 14:20:33 2018@author: Administrator“”"“”"请使用XGBOOST、随机森林、Logistic回归和PCA这四种模型来预测N1PD30。请详细说明每个模型的超参数调整(使用随机搜索或网格搜索),并使用ROC评分来评估每个模型的性能(提示:使用“sklearn.metrics”中的“roc_auc_score”)。请试着总结一下为什么有些型号的性能比其他的好“”"“”

2021-07-21 22:54:30 92

转载 2021-07-20

sparkhttps://github.com/databricks/koalashttps://github.com/sparklingpandas/sparklingpandashttps://github.com/LearningJournal/Spark-Programming-In-Pythonhttps://github.com/hanhanwu/Hanhan-Spark-Pythonfrom pyspark.sql import SparkSessionhttps://blog.c

2021-07-21 00:31:46 64

转载 2021-07-08

import jsonimport osfrom py2neo import Graph, Node, Relationshipclass GoodsKg:def init(self):cur = ‘/’.join(os.path.abspath(file).split(’/’)[:-1])self.data_path = os.path.join(cur, ‘data/goods_info.json’)self.g = Graph(host=“127.0.0.1”, # neo4j 搭载

2021-07-08 23:50:39 339

转载 2021-07-06

https://github.com/duoergun0729/nlp加载url列表with open("…/data/news_sohusite_url.txt") as F:url = F.readlines()F.close()for index,u in enumerate(url):for k, v in SogouTCE_kv.items():只加载id为81,79和91的数据,同时注意要过滤掉内容为空的if re.search(k, u, re.IGNORECASE) and

2021-07-07 00:00:33 451 2

转载 2021-07-06

-- coding: UTF-8 --import reimport os#from fastText import train_supervisedimport numpy as npimport codecsfrom sklearn.model_selection import cross_val_scorefrom sklearn.model_selection import train_test_splitfrom sklearn.neural_network import MLPC

2021-07-06 23:10:26 127

转载 str

import nltknltk.download()##from nltk.tag import pos_tag # 词性标注器#from nltk.tokenize import word_tokenize#import picklesize_mapping = { ‘XL’: 3, ‘L’: 2, ‘M’: 1}df[‘size’] = df[‘size’].map(size_mapping)词性标注器text = word_tokenize(“And now for somet

2021-05-09 22:51:11 54

原创 笔记

Python 豆瓣源 https://pypi.douban.com/simple/Eg pip install -I https://pypi.douban.com/simple/ Django虚拟环境一.pip install virtualenv(windows)1.建立 cmd virtualenv scrapetest1.1 Cd 到 scraptest 中的 Scripts中 input activate.bat退出python的虚拟环境 deactivate.bat1.2 建

2021-05-09 22:30:49 109

原创 News

@news_Cimport pandas as pdimport jiebadatadf_news = pd.read_table(’./data/val.txt’,names=[‘category’,‘theme’,‘URL’,‘content’],encoding=‘utf-8’)df_news = df_news.dropna()df_news.head()分词content = df_news.content.values.tolist()print (content[1000])

2021-05-09 17:09:29 81

原创 python: list, copy str,[1,2,3,4]----」‘1,2,3,4‘

@列表相减 pythonv=list(map(lambda x: x[0]-x[1],zip(a,b)

2020-07-01 10:13:00 216

德语常用词汇个人学习的

gggggggggggggggggg

2021-12-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除