Skip to content
Advertisement

Tag: weka

Load a file in Resources with FileInputStream

I know the safe way to open a file in the resources is: now the problem is that my file is a model for a decider in the Weka Wrapper package and the Decider class has only a method: load takes the file and opens it as a FileInputStream. Do you see a workaround? I really would like to ship

Creating a string attribute in Weka Java API

I’m trying to create a new string Attribute using Weka’s Java API… Reading through the API javadocs, it appears that the way to do so is to use this constructor: but I’m stuck as to what I should pass into the attributeValues parameter… when I put in null, Java complains about protected objects when I put in Null, it’s syntax

Advertisement