0
爲什麼weka無法正確預測測試集的值?使用爲什麼weka無法正確預測測試集的值?
命令:
weka -c 'weka.classifiers.functions.SMO -no-cv -t triggering.arff -d triggering.model'
weka -c 'weka.classifiers.functions.SMO -p 0 -T triggering-new.arff -l triggering.model'
題庫數據:
@relation triggering
@attribute iota real
@attribute A{TRUE, FALSE}
@attribute B{TRUE, FALSE}
@attribute C{TRUE, FALSE}
@data
10, FALSE, FALSE, FALSE
20, FALSE, FALSE, FALSE
30, FALSE, TRUE, FALSE
40, FALSE, FALSE, TRUE
50, TRUE, FALSE, FALSE
測試數據:
@relation triggering-new
@attribute iota real
@attribute A{TRUE, FALSE}
@attribute B{TRUE, FALSE}
@attribute C{TRUE, FALSE}
@data
10, ?, ?, ?
20, ?, ?, ?
30, ?, ?, ?
預測:
=== Predictions on test data ===
inst# actual predicted error prediction
1 1:? 2:FALSE 1
2 1:? 2:FALSE 1
3 1:? 2:FALSE 1
我試圖預測A,B和C中給出絲毫的價值。 – user252816