Replace knownpoints with train and test points.