Java Text Classification using Mallet
$10-30 USD
Pagado a la entrega
I require a slight modification to the following java code example program:
[login to view URL]
The example program ([login to view URL]) reads in text files from a directory and then does some text classification.
I require a modification that reads in the data from a tab delimited file.
The text file will have 3 columns: name (integer), target (Yes/No), and data (text). The target column is used to classify the row of text.
The program must a structure like the following to read in the read in the data. I will be modifying it later to access a JDBC database (so no not use the mallet CsvIterator).
try {
Scanner scanner = new Scanner(new File(tabFile));
[login to view URL]("\t");
[login to view URL](); //Skip Header
while([login to view URL]()){
String[] content = [login to view URL]().split("\t");
if (!content[2].isEmpty()) {
Instance instance = new Instance(null, null, null, null);
[login to view URL](content[0]);
[login to view URL](content[1]);
[login to view URL](content[2]);
…
}
Note: in the [login to view URL] you may need to change the “Pipe instancePipe” section -- to deal with the new type of data.
I have attached a sample Tab Delimited File (with 3 outcome columns to test on) and can create more if needed.
Final deliverables are:
Source Code with clean code and basic documentation (i.e. comments in the source code).
Nº del proyecto: #14862754
Sobre el proyecto
Adjudicado a:
This is a piece of cake. I can do it within 2 hours. Please contact me. I am waiting your response. Thanks Stay tuned, I'm still working on this proposal.
8 freelancers están ofertando un promedio de $28 por este trabajo
hello,how are you.i read your bid carefully. i am java/javafx expert and have full experience for 12 years. i can provide most quality and high speed. Then, I will give you good result. Relevant Skills and Experience Más
Hi, I am interested in your project and I would like to know more details. Kindly drop a message so we can discuss. Relevant Skills and Experience J2SE,J2EE,Spring,Hibernate,Struts Javascript,Angularjs,Jquery,HTML,CSS Más