Java implementations of some machine learning methods.