Working classifiers in MatLab and sample data in Java