adding plotting of precision and recall + documentation