Measuring effectiveness of kmean clustering and different classification algorithms using WEKA's API for Java.