Java library for software that learns