weka stringToWordVector filter stringOptions
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to filter a dataset using weka's java API. I've successfully filtered the attributes I want with a stringToWordVector filter in Weka's GUI but I can't seem to do the same in my java code. I copied and pasted the auto-generated filtering parameters and posted them into my code but am continuing to get errors. Currently, my code looks like this: Instances newInsts = new Instances(this.instances); StringToWordVector stringFilter = new StringToWordVector(); stringFilter.setOptions( weka.core.Utils.splitOptions("-R 1,2,3,4,8 -W 1000