3
$\begingroup$

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?

$\endgroup$
1
  • $\begingroup$ Is your network's input just the x and y coordinate, or an actual image? $\endgroup$
    – NikoNyrh
    Apr 8, 2022 at 20:59

1 Answer 1

0
$\begingroup$

If I understand your question, you want it to generalize to be conditioned on an image. If this is correct, you can do this via inserting a separate portion of the model that takes the image as an input, and compresses it into a dense feature vector (can be done many ways- most common is probably cnn) and then merge with the other inputs (in your case x,y pairs) and have the model train on that end-to-end.

$\endgroup$
1
  • $\begingroup$ If I understood correctly what you mean, you say insert the image as input along with the XY coordinates and the network output will be Is the coordinate inside the black part of the image? And what exactly is "dense feature vector"? Sorry for the ignorance, I'm really new to the field. $\endgroup$ Nov 5, 2021 at 6:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .