my own experiments on machine learning using c++ and java