This web application allows users to predict smoking status (Smoker or Non-Smoker) based on biometric and clinical data input. The prediction is powered by machine learning models trained on health datasets. You can visit the online demo for a quick review.
- Input Form (No. 1)
- Model Selector (No. 2)
- Submit Button (No. 3)
- Clear Button (No. 4)
- Fill Sample Button (No. 5)
- Prediction Result (No. 6)
- Reference Info (No. 7)
Location: Top section of the page
Enter biometric and medical data of the subject/patient.
These include:
- Age (in 5-year intervals)
- Height (cm)
- Weight (kg)
- Waist circumference (cm)
- Eyesight (Left & Right)
- Hearing (Left & Right)
- Blood pressure (Systolic & Diastolic)
- Fasting blood sugar (mg/dL)
- Cholesterol (Total, HDL, LDL, Triglyceride)
- Hemoglobin (g/dL)
- Urine protein level (0–4)
- Serum creatinine (mg/dL)
- Liver enzymes (AST, ALT, GTP)
- Dental caries (0 = no, 1 = yes)
Refer to the reference section below for valid value ranges.
Location: Dropdown below the form
Choose a trained machine learning model to perform prediction.
Available options include models like:
- Logistic Regression
- Random Forest
- XGBoost
Label: Submit
Click this to send the input data to the selected ML model.
The model will return a prediction of whether the subject is a Smoker or Non-Smoker.
Label: Clear
This button will clear all fields in the form.
Useful if you want to reset the form before entering new data.
Label: Fill with Example
Click this to autofill the form with a random sample from the dataset.
This is helpful for testing the app or demoing predictions.
Note: It will exclude the actual smoking
status during prediction.
Location: Below the Submit button
- If the model predicts
Non-Smoker
, the result box will appear green. - If the model predicts
Smoker
, it will appear red.
Use this prediction to guide further analysis or decision-making.
Located: At the bottom of the page
Provides:
- Dataset origin: Binary Prediction of Smoker Status using Bio-Signals | Kaggle
- Field descriptions: What each input represents and how it relates to smoking status
- Target: The goal is to predict the
smoking
status (0 = Non-Smoker, 1 = Smoker) - Outlier Handling: Backend has safeguards for invalid inputs
Created as part of the Smoker Status Prediction Project — Machine Learning Batch 7