
python
IT_ER
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Bug: TypeError: fit() missing 1 required positional argument: 'y'
In [1]: from sklearn import svm In [2]: from sklearn import datasets In [3]: clf = svm.SVC In [4]: iris = datasets.load_iris() In [5]: x, y = iris.data, iris.target In [6]: clf.fit(x,y) --------...原创 2018-09-07 22:09:59 · 2535 阅读 · 0 评论 -
Python3.6.6中内置的异常、错误与警告
BaseException +– SystemExit +– KeyboardInterrupt +– GeneratorExit +– Exception +– StopIteration +– StopAsyncIteration +– ArithmeticError | +– FloatingPointError ...转载 2018-09-05 21:29:49 · 717 阅读 · 0 评论