No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, I have to write my output of a java program to a txt file. how to do this in java thanks |
|
hi, I am very naive to java. my project is in data mining where i have to implement k means clustering. the task is like this 1.reads a csv file and stores the attributes in a matrix format 2.clusters the matrix data depending on the euclidean distance measure. 3. the … |
|
[B]hi, i'm coding to take a input vector inputdata, and continuously find standard deviation to count how many distinct data ar available.for this i implement a small method called findk().[/B][code =java] public int findk(Vector inputdata ,double minSD) { inputdata=new Vector(); double tolerance=0.001,thisSD; Collections.sort(inputdata); if(minSD<0.0) this.minSD =inputdata.getStandardDeviation(); inputdata d1= getHalf(1,inputdata); inputdata … |
|
hi i have to group the data. i completed coding. the output is [ output] C:\Program Files\Java\jdk1.6.0_03\bin>java check Please Enter the Number of Clusters 3 Enter the file to be read with csv extension hi.csv [(345,2) belongs to 0, (300,2) belongs to 0, (390,2) belongs to 0, (400,3) belongs to … |
|
Hi, I got this code from My trainner.He asked me to debug.I tried my level best to debug. but still it shows the K meanspoints class needed error. This alone i could not solve. I also tried with vector class, but it shows error. please help me. [code=java] /* Implements … |