上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页

2020年3月19日

树莓派Win10远程桌面连接

摘要: 1.系统烧进tf卡 2.树莓派插上tf卡、网线、电源线 3.查看树莓派ip 4.putty连接 5.用户名:pi \ \ \ 密码:raspberry 6.sudo raspi config,退出(首次) \ \ \ sudo apt get install xrdp 7.退出putty,打开远程桌 阅读全文

posted @ 2020-03-19 14:30 HolaWorld 阅读(591) 评论(0) 推荐(0) 编辑

2020年3月17日

Task 1 - Sentiment Analysis on Movie Reviews

摘要: ```python''' 0 - negative 1 - somewhat negative 2 - neutral 3 - somewhat positive 4 - positive'''import numpy as npimport pandas as pdfrom sklearn.feature_extraction.text import CountVectorizerfrom sk... 阅读全文

posted @ 2020-03-17 19:43 HolaWorld 阅读(462) 评论(0) 推荐(0) 编辑

文本向量化 - 词袋模型, N-gram 特征

摘要: CountVectorizer和TfidfVectorizer的参数:https://blog.csdn.net/du_qi/article/details/51564303 stopwords:https://www.cnblogs.com/webRobot/p/6079919.html 阅读全文

posted @ 2020-03-17 14:25 HolaWorld 阅读(332) 评论(0) 推荐(0) 编辑

2020年3月16日

Logistic回归(LogisticRegression,LR)

摘要: 它名字叫回归,但其实是用来二分类的 1.logistic函数 logistic函数 = sigmoid曲线(S型曲线) 标准logistic函数:$𝜎(x) = \frac{1}{1 + e^{ x}}$ 𝜎′(𝑥)=𝜎(𝑥)(1−𝜎(𝑥)). 2.交叉熵损失函数(Cross Entr 阅读全文

posted @ 2020-03-16 19:48 HolaWorld 阅读(638) 评论(0) 推荐(0) 编辑

Kaggle

摘要: ```python import numpy as np import pandas as pd from sklearn.ensemble import RandomForestClassifier train_data = pd.read_csv('/kaggle/input/titanic/train.csv') train_data.head() # 训练集 test_data = pd. 阅读全文

posted @ 2020-03-16 01:52 HolaWorld 阅读(373) 评论(0) 推荐(0) 编辑

sklearn

摘要: 分类任务、回归任务、聚类任务、降维任务、模型选择、数据预处理 阅读全文

posted @ 2020-03-16 01:05 HolaWorld 阅读(109) 评论(0) 推荐(0) 编辑

2020年3月15日

Scrapy

摘要: 在命令行下运行 阅读全文

posted @ 2020-03-15 21:38 HolaWorld 阅读(141) 评论(0) 推荐(0) 编辑

正则表达式re

摘要: ![](https://img2020.cnblogs.com/blog/1637570/202003/1637570-20200315190532342-578989921.jpg) ![](https://img2020.cnblogs.com/blog/1637570/202003/1637570-20200315190539786-1111048344.jpg) ![](https://i 阅读全文

posted @ 2020-03-15 21:03 HolaWorld 阅读(79) 评论(0) 推荐(0) 编辑

BeautifulSoup

摘要: ```python import requests from bs4 import BeautifulSoup def getHTMLText(url): try: kv = {'user-agent':'Mozilla/5.0'} r = requests.get(url, timeout=30, headers=kv) r.raise_for_status() # 如果状态不是200,引发HT 阅读全文

posted @ 2020-03-15 18:39 HolaWorld 阅读(37) 评论(0) 推荐(0) 编辑

requests

摘要: ![](https://img2020.cnblogs.com/blog/1637570/202003/1637570-20200315164030522-2056604365.jpg) ![](https://img2020.cnblogs.com/blog/1637570/202003/1637570-20200315172016208-89731437.jpg) ![](https://im 阅读全文

posted @ 2020-03-15 18:15 HolaWorld 阅读(85) 评论(0) 推荐(0) 编辑

上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页

导航