Java sources of some machine learning algorithms: classifying with k-Nearest Neighbors, linear regression, k-means clustering. Transformed from Python sources (Machine Learning in Action book)