Skip to content

maxbilbow/7055CEM-dis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Intensive Systems Coursework Project

Data set used: Smartphone Activity Study

docker-compose up -d
docker ps # get instance names

1. Train the Data

Set up the environment

docker exec -it dis_spark /bin/bash
## In the container:
cd /app/src
sh setup.sh

Import Data into MongoDB

sh start --import

Train the model

sh start --train

Make predictions

sh start --predict

Evaluate predictions

(assuming labels are available)

sh start --evaluate

Run everything in one go

(assuming labels are available)

sh start -itpe

Run Jupyter Notebook

The load_lrm.ipynb notebook will verify the saved model against whatever data you provide it.

  1. Get the browser token
docker exec -it dis_jupyter /bin/bash
## (base) jovyan@3d3b4630e77a:~$
jupyter notebook list
# Copy the token from:
# http://0.0.0.0:8888/?token={token}:
  1. Enter into browser: http://localhost:8888/?token={token}

  2. Open the work/load_lrm.ipynb notebook

  3. Select "Run all cells"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published