
python
Arnold2017
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Datacamp-python-Dictionaries
1. Motivation for dictionaries--list中index()的应用,即返回索引,zero-based # Definition of countries and capital countries = ['spain', 'france', 'germany', 'norway'] capitals = ['madrid', 'paris', 'berl原创 2017-07-15 23:06:24 · 907 阅读 · 0 评论 -
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 · 1398 阅读 · 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 · 671 阅读 · 0 评论