質問編集履歴
2
変更しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,32 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
+
#テキストエディタのデータ
|
38
|
+
|
39
|
+
SepalLength,SepalWidth,PetalLength,PetalWidth,Name
|
40
|
+
|
41
|
+
7,3.2,4.7,1.4,Iris-versicolor
|
42
|
+
|
43
|
+
6.4,3.2,4.5,1.5,Iris-versicolor
|
44
|
+
|
45
|
+
6.9,3.1,4.9,1.5,Iris-versicolor
|
46
|
+
|
47
|
+
5.5,2.3,4,1.3,Iris-versicolor
|
48
|
+
|
49
|
+
6.5,2.8,4.6,1.5,Iris-versicolor
|
50
|
+
|
51
|
+
6.3,3.3,6,2.5,Iris-virginica
|
52
|
+
|
53
|
+
5.8,2.7,5.1,1.9,Iris-virginica
|
54
|
+
|
55
|
+
7.1,3,5.9,2.1,Iris-virginica
|
56
|
+
|
57
|
+
6.3,2.9,5.6,1.8,Iris-virginica
|
58
|
+
|
59
|
+
6.5,3,5.8,2.2,Iris-virginica
|
60
|
+
|
61
|
+
|
62
|
+
|
37
63
|
#コード
|
38
64
|
|
39
65
|
```python
|
1
コードの貼り付け方法を訂正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
|
37
37
|
#コード
|
38
38
|
|
39
|
+
```python
|
40
|
+
|
39
41
|
import pandas as pd
|
40
42
|
|
41
43
|
import matplotlib.pyplot as plt
|
@@ -122,8 +124,14 @@
|
|
122
124
|
|
123
125
|
|
124
126
|
|
127
|
+
```
|
128
|
+
|
129
|
+
|
130
|
+
|
125
131
|
#発生している問題・エラーメッセージ
|
126
132
|
|
133
|
+
```python
|
134
|
+
|
127
135
|
ValueError Traceback (most recent call last)
|
128
136
|
|
129
137
|
<ipython-input-30-78b8e7553d68> in <module>
|
@@ -198,6 +206,10 @@
|
|
198
206
|
|
199
207
|
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.
|
200
208
|
|
209
|
+
```
|
210
|
+
|
211
|
+
|
212
|
+
|
201
213
|
|
202
214
|
|
203
215
|
#試したこと
|