Train baseline ML model
Steps:
- Import libraries – bring in the necessary Python packages.
- Load dataset – use a sample dataset (Iris).
- Split dataset – divide into training and testing sets.
- Train model – fit a baseline model (Logistic Regression).
- Make predictions – test the model on unseen data.
- Evaluate accuracy – check performance using accuracy score.
