回答編集履歴

1

2018/09/28 15:43

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
@@ -22,20 +22,40 @@
22
22
 
23
23
 
24
24
 
25
+ ## 追記
26
+
27
+
28
+
29
+ hayataka2049 さんがおっしゃる通りバージョンの問題っぽいですね
30
+
25
- partial_fit() 直前
31
+ 最近バージョン追加されたみたいです。
26
32
 
27
33
 
28
34
 
29
35
  ```
30
36
 
31
- print(type(clf))
37
+ max_iter : int, optional
32
38
 
33
- print(X.shape)
39
+ The maximum number of passes over the training data (aka epochs). It only impacts the behavior in the fit method, and not the partial_fit. Defaults to 5. Defaults to 1000 from 0.21, or if tol is not None.
34
40
 
41
+
42
+
35
- print(y.shape)
43
+ New in version 0.19.
36
44
 
37
45
  ```
38
46
 
39
47
 
40
48
 
41
- としたら、どうなりますか?
49
+ バージョンは以下で確認できます
50
+
51
+
52
+
53
+ ```
54
+
55
+ import sklearn
56
+
57
+
58
+
59
+ print(sklearn.__version__) # 0.19.2
60
+
61
+ ```