black-diamond123/intrusion-detection-system
0
intrusion-detection-dashboard
How to set up the project.
- Install python 3.8 or above if not available
- Create virtual environment name env in the project folder :
python -m venv .venv - Move to the project folder and activate virtual environment :
- in Mac and Linux :source .venv/bin/activate
- in Windows : run activate.bat file which is inside \.venv\Scripts folder by running
.venv\Scripts\activate - Install required libraries :
pip3 install -r requirements.txt - After stop the project, deactivate virtual environment : deactivate
Run project
- add your machine learning model to the
/modeldirectory. Name should befinalmodel.pkl.
streamlit run home.py
Save Dependancies
- Run
pip freeze > requirements.txtafter installing any pip package
