hi all,
i'm at my last step for thesi,covert an arff file in a vector.
I founded this,as like suggested in an old post:
https://cwiki.apache.org/MAHOUT/creating-vectors-from-wekas-arff-format.html

I did two different attempted:

1) From trunk folder I moved in trunk/utils and then I used mvn install but when
i get the snapshoot and i try to run Driver.class i took this error message:

java.lang.ClassNotFoundException:org.apache.commons.cli2.OptionException



so i attempted another way:

i looked inside Driver.java to see the imports:

import org.apache.commons.cli2.CommandLine;
import org.apache.commons.cli2.Group;
import org.apache.commons.cli2.Option;
import org.apache.commons.cli2.OptionException;
import org.apache.commons.cli2.builder.ArgumentBuilder;
import org.apache.commons.cli2.builder.DefaultOptionBuilder;
import org.apache.commons.cli2.builder.GroupBuilder;
import org.apache.commons.cli2.commandline.Parser;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.SequenceFile;
import org.apache.mahout.common.CommandLineUtil;
import org.apache.mahout.math.Vector;
import org.apache.mahout.math.VectorWritable;
import org.apache.mahout.utils.vectors.io.JWriterVectorWriter;
import org.apache.mahout.utils.vectors.io.SequenceFileVectorWriter;
import org.apache.mahout.utils.vectors.io.VectorWriter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

and then to compile it directly,but didn't work.

any suggestion??
any guide on Mahout's vector format so i can try to make from my own a 
converter?

Reply via email to