Does feeding new data when running predict() update the predictor?


#1

Question

In the context of this exercise, does feeding new data when running predict() update the predictor?

Answer

No, when we feed in new data samples using the predict() method of our KMeans model, the predictor does not get changed or updated.

When running the predict() method, it will return its best guess, based on what it learned in the previous steps. When we pass in the new data samples and obtain its predictions, we do not explicitly tell the predictor whether its guess was correct or not, so there is no way for it to update itself based on its guesses. Once it has been fitted to its sample test data, it will not be able to update itself to new data, unless we redo the fitting process.