質問編集履歴
1
importした関数を追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,6 +19,26 @@
|
|
19
19
|
|
20
20
|
|
21
21
|
```python
|
22
|
+
|
23
|
+
from sklearn.model_selection import GridSearchCV
|
24
|
+
|
25
|
+
from sklearn.preprocessing import StandardScaler
|
26
|
+
|
27
|
+
from sklearn.decomposition import PCA
|
28
|
+
|
29
|
+
from sklearn.svm import SVC
|
30
|
+
|
31
|
+
from sklearn.pipeline import make_pipeline
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
'''
|
36
|
+
|
37
|
+
(省略)
|
38
|
+
|
39
|
+
'''
|
40
|
+
|
41
|
+
|
22
42
|
|
23
43
|
pipe_svc = make_pipeline(StandardScaler(),
|
24
44
|
|