ForReal is a cloud-enabled and machine-learning-supported real estate prediction system. This project is now hosted on https://fierce-headland-66771.herokuapp.com/
- web_server.js
- folder --index.html --function.js --avg_per.csv --style.css --update.json --project.py --kc_house_data.csv --date_origin.csv --prediction_sample.csv
ForReal requires Node.js, MongDB to run. We also need to install Express and Body-Parser. Meanwhile, python 2.7, pandas and xgboost package are needed.
Install the dependencies and devDependencies and start the server.
$ cd app
$ npm install mongodb -g
$ npm install Express
$ npm install Body-Parser
$ node web_server.jsDerive the data from model training:
$ cd <path-public>
$ python project.pyImport the JSON to the Database:
$ cd <path-to-mongo-bin>
$ ./mongod
$ ./mongoimport --db mydb --collection customers --file updated.jso>Run the web server:
$ cd app
$ node web_server.jsThen go to the browser and type in "localhost:8000".