![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
人工智能
tuboshuShaoBaTu
这个作者很懒,什么都没留下…
展开
-
梯度下降python实现
# 梯度下降 == 导数值下降import matplotlib.pyplot as pltimport numpy as npresultList = []def targetFunc(xs): return (xs[0]-100)**2 + xs[1]+3def gradientFunc(xs): print('当前的斜率') print(np.array...原创 2019-09-04 20:45:17 · 335 阅读 · 0 评论 -
二级网络爬虫【入门级】+ matplotlib画图+数据库+源码
爬取http://www.yododo.com/share/guide/?sort=isGood获取评论,评论图片import scrapyfrom day24.spiderproject.spiderproject.items import SpiderprojectItemimport timefrom day24.homework import Downloaderimport...原创 2019-09-09 21:33:56 · 257 阅读 · 0 评论 -
数据分析实战
import pandas as pdimport matplotlib.pyplot as pltimport numpy as npfrom sklearn.cluster import KMeans # 引入大哥import pickleimport csvtitle = ['age','job','marital','education','default','balance...原创 2019-09-16 09:04:18 · 430 阅读 · 0 评论 -
kmeans++python代码
import randomimport mathimport timeimport numpy as npclass FindList(): def getCurrentResultList(self, currentList, currentRandom): resultList = [] for temp in currentList: ...原创 2019-09-23 08:58:53 · 712 阅读 · 1 评论