newX -> X_weighted
newy -> y_weighted