How to approach a Machine Learning project : A step-wise guidance
This article will provide a basic procedure on how should a beginner approach a Machine Learning project and describe the fundamental steps involved. In the problem, we will focus on the classification of iris flowers. You can learn about the dataset here.
Many teachers and websites take up this problem to demonstrate the various nuances involved in a Machine Learning project because –
- All the attributes are numeric and all the attributes are of same scale and units.
- The problem in hand is a classification problem and thus gives us an option to explore many evaluation metrics.
- The dataset involved is a small and clean and thus can be handled easily.
We demonstrate the following steps and describe them accordingly along the way.
Step 1: Importing the required libraries
Step 2: Loading the Data
Step 3: Summarizing the Data
This step typically involves the following steps-
a) Taking a peek at the Data
b) Finding the dimensions of the Data
c) Statistical summary all attributes
d) Class distribution of the Data
Step 4: Visualising the Data
This step typically involves the following steps –
a) Plotting Univariate plots
This is done to understand the nature of each attribute.
b) Plotting Multivariate plots
This is done to understand the relationships between different features.
Step 5: Training and Evaluating our models
This step typically contains the following steps –
a) Splitting the training and testing data
This is done so that some part of the data is hidden from the learning algorithm
b) Building and Cross-Validating the model
c) Visually comparing the results of the different algorithms
Step 6: Making predictions and evaluating the predictions
Reference – https://machinelearningmastery.com/machine-learning-in-python-step-by-step/
Please Login to comment...