I want to predict a text classification which is based on the correlation of the text in the training data set.
For eg. This is my training data: "Mouse M325", "Mouse for xyz M325", "M325 Mouse logitech", "Logitech mouse number M325"
As it is visible that Mouse and M325 definitely have a high correlation when compared with M325 and Logitech or others.
I want to use the correlations to predict a classification for the next dataset. For eg. If the next data is "Mouse used by Alex number is M325"...it should give me "Mouse M325" as text classifier and notify in a separate tab that the model has predicted this description but it was not something that Machine had seen earlier in trained data. Like,Result Model has predicted . How to solve this?