There are several factors which affect the price of a stock. Some of them are daily news articles, volume of that stock traded, sentiment in the market, profit of the company etc. Due to the advancement in technology a large amount of data about the stocks is generated every day in the form of news articles, analyst reviews, twitter data etc. The increasing amount of data is making it increasingly difficult to manually analyse the data to make strategic decisions. We implemented and compared the results of three classification algorithms (1) Naïve Bayes (2) Random Forest.
- Programming Languages: Python, HTML, CSS, PHP
- Tools: phpMyAdmin, MySQL Database, Wamp Server
This project assumes a Unix-like environment. You may need to modify some instructions below (and perhaps also modify some scripts) for it to work on Windows.
Install the required python 3 packages if you don't already have them:
$ pip install -r requirements.txt
WampServer
- It is important to install Wamp Server in the computer and initialize before to run this project successfully on the Internet Browser.
- After installing Wamp Server, go the the installed location, and find the 'www' folder.
- In this 'www' folder, create a new project folder and save all the project files in it.
- To execute this project, use this given path to use in the internet browser.
PATH: http://localhost/(projectFolderName)/template/main.html
WEKA (Waikato Environment for knowledge Analysis)
- Weka is a popular suite of machine learning software written in java, developed by University of Waikato, New Zealand.
- Weka is a free software available under GNU General Public License.
phpMyAdmin:
- Use this given path to access MySQL Database with Username: root & Password: root
PATH: http://localhost/phpmyadmin/
- In MySQL database, create a database and then create a table as directed in the manual.