Data set used: Smartphone Activity Study
docker-compose up -d
docker ps # get instance names
docker exec -it dis_spark /bin/bash
## In the container:
cd /app/src
sh setup.sh
sh start --import
sh start --train
sh start --predict
(assuming labels are available)
sh start --evaluate
(assuming labels are available)
sh start -itpe
The load_lrm.ipynb notebook will verify the saved model against whatever data you provide it.
- 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}:
-
Enter into browser:
http://localhost:8888/?token={token}
-
Open the work/load_lrm.ipynb notebook
-
Select "Run all cells"