experiments/tox21/plot_precision_recall.py
def clip_original_size(saliency, num_atoms):
        """`saliency` array is 0 padded, this method align to have original
        molecule's length
        """
        assert len(saliency) == len(num_atoms)
        saliency_list = []
        for i in range(len(saliency)):
            saliency_list.append(saliency[i, :num_atoms[i]])
        return saliency_list
`saliency` array is 0 padded, this method align to have original
        molecule's length
        
`saliency` array is 0 padded, this method align to have original
molecule's length
` saliency ` array is 0 padded this method align to have original molecule ' s length
def clip_original_size(saliency, num_atoms):
        assert len(saliency) == len(num_atoms)
        saliency_list = []
        for i in range(len(saliency)):
            saliency_list.append(saliency[i, :num_atoms[i]])
        return saliency_list
def clip_original_size ( saliency , num_atoms ) : assert len ( saliency ) == len ( num_atoms ) saliency_list = [ ] for i in range ( len ( saliency ) ) : saliency_list . append ( saliency [ i , : num_atoms [ i ] ] ) return saliency_list
`saliency` array is 0 padded, this method align to have original
molecule's length
` saliency ` array is 0 padded this method align to have original molecule ' s length
"""`saliency` array is 0 padded, this method align to have original
        molecule's length
        """
saliency
num_atoms