Ligand biological activity predicted by cleaning positive and negative chemical correlations