https://jython.pythonprogramminghelp.com/getting-smart-with-linear-discriminant-analysis/