This repository creates a Data Web App that enables users to interact with several hyper-parameters of Support Vector Regression algorithm from Sci-kit learn Python package. The created ML model is evaluated based on two performance metrics, namely: Coefficient of determination and mean squared error. The hyper-parameters are:
- kernel
- Regularization parameter C
- Epsilon
- Degree of polynomial kernel
- Kernel coefficient gamma
- Independent term
- Hard limit on iterations
- shrinking heuristic
- size of the kernel cache
- verbose output
- Tolerance
Regarding the default dataset, the concrete slump test measures the consistency of fresh concrete before it sets. It is performed to check the workability of freshly made concrete, and therefore the ease with which concrete flows. It can also be used as an indicator of an improperly mixed batch.
- First, we create a virtual Python environment called my_venv
python3 -m venv my_venv
- Then, we activate the virtual environment
source path_to_your_virtual_environment/bin/activate
- After getting to the virtual environment's file, install prerequisite packages
wget https://raw.githubusercontent.com/GeorgiosDolias/ML_app/main/requirements.txt
and
pip install -r requirements.txt
- Dowload and unzip contents from Github repo
Dowload and unzip contents from https://github.com/GeorgiosDolias/ML_app/archive/main.zip
- Launch the app
streamlit run ml-app.py
Package | Version |
---|---|
streamlit | 0.88.0 |
pandas | 1.1.3 |
sci-kit learn | 0.23.2 |