![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
machine learning
Arnold2017
这个作者很懒,什么都没留下…
展开
-
sklearn GridSearchCV
GridSearchCV 用于系统地遍历多种参数组合,通过交叉验证确定最佳效果参数。它的好处是,只需增加几行代码,就能遍历多种组合。下面是来自 sklearn 文档 的一个示例:parameters = {'kernel':('linear', 'rbf'), 'C':[1, 10]}svr = svm.SVC()clf = grid_search.GridSearchCV(s转载 2017-07-24 23:50:00 · 1314 阅读 · 0 评论 -
课程5:神经网络迷你项目-练习6 感知机更新规则
# ----------## In this exercise, you will update the perceptron class so that it can update# its weights.## Finish writing the update() method so that it updates the weights according# to原创 2017-08-18 10:41:44 · 617 阅读 · 0 评论 -
课程5 :神经网络迷你项目 联系8:线性表征能力
练习: Linear Representational Power我们希望通过增加神经网络的层数来来表示更多的结果,对于单纯判断加权和的线性节点是做不到的。给定以下神经网络(结构为2-3-1),请写出与下列神经网络会产生同样结果的方程式的系数。神经网络的系数矩阵为:[[input,input], [[3,2],[-1,4],[3,-5]],原创 2017-08-19 11:22:51 · 556 阅读 · 0 评论