Machine learning java project