Skip to content

Latest commit

 

History

History

knn_stock_prices

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

The kNN algorithm is a non-parametric algorithm that can be used for either classification or regression. Non-parametric means that it makes no assumption about the underlying data or its distribution.

For each data point, the algorithm finds the k closest observations, and then classifies the data point to the majority.

Source:

Using kNN Classifier to Predict Whether the Price of Stock Will Increase