toybani
Newbie level 3
Hi... i have two classes with 50 vectors each and i need to classify a new vector to one of them...
can somebody give me the simple steps that Least squares method uses....
for example for the k-NN algorithm you need to
1) calculate the Eucleidian distances between the vector you want to classify and the vectors of the two classes
2) take the k shortest distances and classify the new vector depending from witch class the shortest distances came from...
thanks in advance
can somebody give me the simple steps that Least squares method uses....
for example for the k-NN algorithm you need to
1) calculate the Eucleidian distances between the vector you want to classify and the vectors of the two classes
2) take the k shortest distances and classify the new vector depending from witch class the shortest distances came from...
thanks in advance