0
數據庫中用於提供weka.core.Instances
對象的文本是否需要符合某種格式?當我嘗試建立一個weka.core.Instances
對象僅包含未格式化的文本(通過weka.experiment.InstanceQuery.query.retrieveInstances()
從數據庫喂)作爲其非類屬性我得到下面的異常分類:weka數據庫中的文本格式
Exception in thread "main"
weka.core.UnsupportedAttributeTypeException:
weka.classifiers.functions.SMO: Cannot handle numeric class! at
weka.core.Capabilities.test(Unknown Source) at
weka.core.Capabilities.test(Unknown Source) at
weka.core.Capabilities.test(Unknown Source) at
weka.core.Capabilities.testWithFail(Unknown Source) at
weka.classifiers.functions.SMO.buildClassifier(Unknown Source) at
Test.main(Test.java:135)