K-Nearest Neighbor and Linear Regression to predict future prices of stock market. It takes 9 months data from past and try to predict 3 months future price.
Data is taken from Yahoo! Finace. Data consists of:
- Alibaba Group Holding Limited
- Apple Inc.
- IBM Common Stock
- Oracle Corporation
Results shows that Linear Regression was predicting with greater accuracy as compared to k-Nearest Neighbor