I built a basic neural network in MATLAB. The neural network classifies points on the X-Y axis system into two classes (0 and 1).

(I try to get the function that represents a shape from this photo)

enter image description here

Every so often the values ​​of the points change slightly and some of the points defined in class 1 become class 0, like in this photo.

enter image description here

Is there a way to update the neural network to fit the new data without the time required for retraining?