Are you sure you want to delete this access key?
MLflow
Kubernetes
GitHub Actions
ArgoCD
Diabetes Checking Web App
git clone https://github.com/NutBodyslam053/BD528-software_engineering.git
conda create -n <env_name> python=3.9 -y
conda activate <env_name>
pip install -r requirements.txt
python app.py
Diabetes Prediction Web-UI: http://localhost:5000
docker run -dp 5000:5000 nutbodyslam053/bd528:v1
Diabetes Prediction Web-UI: http://localhost:5000
git clone <github_repository_url>
touch template.py
python template.py
conda create -p venv python=3.9 -y
conda activate venv/
pip install -r requirements.txt
src/mlProject/__init__.py
5.1 Update config.yaml
5.2 Update schema.yaml
5.3 Update params.yaml
5.4 Update the entity
5.5 Update the config
5.6 Update the components
5.7 Update the pipeline
5.8 Update the main.py
5.9 Update the app.py
Result: คุณไม่มีความเสี่ยงเป็นโรคเบาหวาน
{
"age": "50-59",
"gender": "male",
"family_diabetes": "no",
"highbp": "yes",
"physicallyactive": "one hr or more",
"bmi": 39,
"smoking": "no",
"alcohol": "no",
"sleep": 8,
"soundsleep": 6,
"regularmedicine": "no",
"junkfood": "occasionally",
"stress": "sometimes",
"bplevel": "high",
"pregancies": 0,
"pdiabetes": "no",
"uriationfreq": "not much"
}
Result: คุณมีความเสี่ยงเป็นโรคเบาหวาน
{
"age": "60 or older",
"gender": "male",
"family_diabetes": "yes",
"highbp": "yes",
"physicallyactive": "more than half an hr",
"bmi": 27,
"smoking": "no",
"alcohol": "no",
"sleep": 6,
"soundsleep": 5,
"regularmedicine": "yes",
"junkfood": "occasionally",
"stress": "sometimes",
"bplevel": "high",
"pregancies": 0,
"pdiabetes": "no",
"uriationfreq": "quite often"
}
For Unix-like shells (e.g., Bash, macOS Terminal):
export MLFLOW_TRACKING_URI=https://dagshub.com/NutBodyslam053/BD528-software_engineering.mlflow
export MLFLOW_TRACKING_USERNAME=NutBodyslam053
export MLFLOW_TRACKING_PASSWORD=b85bafd69d98861fee89f5bf70dc5f62cf41c2e5
For Windows PowerShell:
$env:MLFLOW_TRACKING_URI = "https://dagshub.com/NutBodyslam053/BD528-software_engineering.mlflow"
$env:MLFLOW_TRACKING_USERNAME = "NutBodyslam053"
$env:MLFLOW_TRACKING_PASSWORD = "b85bafd69d98861fee89f5bf70dc5f62cf41c2e5"
For Windows Command Prompt:
set MLFLOW_TRACKING_URI=https://dagshub.com/NutBodyslam053/BD528-software_engineering.mlflow
set MLFLOW_TRACKING_USERNAME=NutBodyslam053
set MLFLOW_TRACKING_PASSWORD=b85bafd69d98861fee89f5bf70dc5f62cf41c2e5
docker run -dp 5000:5000 \
-e MLFLOW_TRACKING_URI=https://dagshub.com/NutBodyslam053/BD528-software_engineering.mlflow \
-e MLFLOW_TRACKING_USERNAME=NutBodyslam053 \
-e MLFLOW_TRACKING_PASSWORD=b85bafd69d98861fee89f5bf70dc5f62cf41c2e5 \
nutbodyslam053/bd528:v1
MLflow tracking remote: https://dagshub.com/NutBodyslam053/BD528-software_engineering.mlflow
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?