Learning with Noisy Labels through Learnable Weighting and Centroid Similarity