To use the Jupyter Notebook file:
-
Open the file named
ActivityMonitoring_01_08_16.ipynb
in Jupyter Notebook. -
Change the
data_path
, which is initially set to:data_path = "D:\\5th Semester\\ML\\ML Project\\bbh\\"
Change this path to where you have stored the files, up to
\\bbh\\
, which further contains thetraining
andtesting
directories.
To use the web app we have created in Flask for this project:
-
Open the project folder named
MLProjectWebApp
in an IDE or CMD. -
Make sure you have Python installed.
-
Activate the virtual environment:
-
For Linux/Mac:
source venv/bin/activate
-
For Windows:
venv\Scripts\activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Change the
data_path
:data_path = "D:\\5th Semester\\ML\\ML Project\\bbh\\"
Change this path to where you have stored the files, up to
\\bbh\\
, which further contains thetraining
andtesting
directories. -
Run the application:
python app.py
-
Access the application:
Open a web browser and go to
http://localhost:5000
to view our Flask application.