Machine learning algorithm to find similar or matching records?

1.2k Views Asked by At

I have a data-set which contains records/Configuration of a particular Laptop(Ex Ram,Hard disk). Now i want to create an algorithm that can tell me which laptop/desktop in the current year is closest to that configuration. I want to give 3 recommendation based based on the closest match? Which ML algorithm should i use and whats the best way to approach ?

1

There are 1 best solutions below

0
boozy On

Depending on your data, you can use clustering. Kmeans is just an example. https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html

You can also use KNN classification by setting the number of neighbors as you want: https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KNeighborsClassifier.html