I don't know why you're telling us what you need to do, but I wish you luck.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
I am very naive to java.
So buy / borrow / steal a book on Java read it (there is also the " Starting Java " sticky which should interest you) and get up to speed on it. I think your class instructor / firm would have given you this assignment only after they were **sure** that you could handle it. However if you gave them a false impression of your skills then I do not know .....
do i have any packages in java to implement this
Weka is a data mining tool written in Java, so you might want to check out how it works. I however have never used, so do not have a clue about it.
please help to code in java
Help yes, but do not expect us to do the entire work for you. First you show us what you have tried. Reading data from a CSV file is simple enough show what you have achieved there ??
stephen84s
Nearly a Posting Virtuoso
1,443 posts since Jul 2007
Reputation Points: 668
Solved Threads: 154
Put your code inside code tags, like this:-
[code=java]
// Your code here.
[/code]
The rest like the output you are getting, post it as :-
[code]
//Output on compiling / running the program.
[/code]
stephen84s
Nearly a Posting Virtuoso
1,443 posts since Jul 2007
Reputation Points: 668
Solved Threads: 154