generation of data for precision recall curve implemented