質問編集履歴
3
実行結果の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -307,3 +307,47 @@
|
|
307
307
|
'precision', 'predicted', average, warn_for
|
308
308
|
|
309
309
|
```
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
###追記3
|
314
|
+
|
315
|
+
```Python
|
316
|
+
|
317
|
+
fit_time score_time test_accuracy test_f1_macro train_accuracy \
|
318
|
+
|
319
|
+
0 0.0005 0.001501 0.533333 0.347826 0.522727
|
320
|
+
|
321
|
+
1 0.0005 0.001001 0.522727 0.343284 0.528090
|
322
|
+
|
323
|
+
2 0.0005 0.000500 0.522727 0.343284 0.528090
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
train_f1_macro
|
328
|
+
|
329
|
+
0 0.343284
|
330
|
+
|
331
|
+
1 0.345588
|
332
|
+
|
333
|
+
2 0.345588
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
Z:\Downloads\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\sklearn\metrics\classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
|
342
|
+
|
343
|
+
'precision', 'predicted', average, warn_for)
|
344
|
+
|
345
|
+
Z:\Downloads\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\sklearn\metrics\classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
|
346
|
+
|
347
|
+
'precision', 'predicted', average, warn_for)
|
348
|
+
|
349
|
+
Z:\Downloads\WinPython-64bit-3.6.3.0Qt5\python-3.6.3.amd64\lib\site-packages\sklearn\metrics\classification.py:1135: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples.
|
350
|
+
|
351
|
+
'precision', 'predicted', average, warn_for)
|
352
|
+
|
353
|
+
```
|
2
書式改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -270,7 +270,7 @@
|
|
270
270
|
|
271
271
|
|
272
272
|
|
273
|
-
###追記
|
273
|
+
###追記1
|
274
274
|
|
275
275
|
```Python
|
276
276
|
|
@@ -295,3 +295,15 @@
|
|
295
295
|
2 0.0 0.0
|
296
296
|
|
297
297
|
```
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
###追記2
|
302
|
+
|
303
|
+
```Python
|
304
|
+
|
305
|
+
UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 due to no predicted samples.
|
306
|
+
|
307
|
+
'precision', 'predicted', average, warn_for
|
308
|
+
|
309
|
+
```
|
1
ご指摘いただいた結果
test
CHANGED
File without changes
|
test
CHANGED
@@ -267,3 +267,31 @@
|
|
267
267
|
Windows10
|
268
268
|
|
269
269
|
WinPython-64bit-3.6.3(Python3.6)
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
###追記
|
274
|
+
|
275
|
+
```Python
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
fit_time score_time test_f1 test_precision test_recall train_f1 \
|
280
|
+
|
281
|
+
0 0.001001 0.002001 0.0 0.0 0.0 0.0
|
282
|
+
|
283
|
+
1 0.001001 0.002001 0.0 0.0 0.0 0.0
|
284
|
+
|
285
|
+
2 0.000000 0.002002 0.0 0.0 0.0 0.0
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
train_precision train_recall
|
290
|
+
|
291
|
+
0 0.0 0.0
|
292
|
+
|
293
|
+
1 0.0 0.0
|
294
|
+
|
295
|
+
2 0.0 0.0
|
296
|
+
|
297
|
+
```
|