14. Supervised ML Modelling: a 14-Step Process

14. Supervised ML Modelling: a 14-Step Process


  1. Formulate Business Problem. Identify what you are trying to solve. Also identify how are you going to measure the success of your solution
  2. Load the data set and identify the dependent and independent variables. Split the data into training and test set, if not done already
  3. Check for missing values, features with zero variance, outliers etc. Handle the missing values, analyze the outliers. Remove features that have zero variance.
  4. Do a visual inspection of data by drawing charts (heatmaps etc.)
  5. Identify the scale. Are all features at the same scale? If not, then look at scaling
  6. Identify the categorical features. Do OneHotEncoding for the categorical variables
  7. Too many features? Look at dimensionality reduction techniques like PCA/LDA
  8. Train the model on the training set
  9. Measure the outcome on training set
  10. Predict the values on the testing set
  11. Check for overfitting? If yes, look at L1/L2 regularization
  12. Repeat 8 -11 for other algorithms (for e.g. you can consider Logistic Regression, Decision Trees, Random Forest etc.)
  13. Evaluate Ensemble models, if necessary
  14. Identify the important features and try to understand why the model is predicting a specific output



To view or add a comment, sign in

More articles by Subrat Mishra

  • 17. Word embeddings in NLP...

    Since neural networks don't process words and sentences as humans do, they must be transformed into a mathematical…

    1 Comment
  • 16. Use cases for Computer Vision

    After delving on Computer Vision and CNN Architecture in one of the previous editions, it is logical to look at some of…

  • 15. Visualize the inner workings of a neural network...

    While we've delved into artificial neuron and neural network concepts in previous editions, experiencing them in action…

  • 13. MLOps in an enterprise...

    MLOps (Machine Learning Operations) is a Machine Learning engineering discipline which focuses on optimizing and…

    1 Comment
  • 12. Neural Networks for NLP...

    Natural language processing (NLP) refers to the branch of AI concerned with giving computers the ability to understand…

  • 11. Neural Networks for Computer Vision...

    In the 10th edition, we had a 10,000 foot view of ANNs. We understood that these models are organized into distinct…

    2 Comments
  • 10. Artificial Neural Networks...

    Recap: In the 8th edition we saw a single artificial neuron as a linear binary classifier. We also saw some of the…

  • In pursuit of happiness...

    In today’s fast paced, hustle and bustle of life, man is so engrossed in fulfilling his basic and psychological needs…

  • 9. Biological Vs Artificial Neurons...

    Though scientists have drawn inspiration from the biological neurons in conceptualizing and building the artificial…

    2 Comments
  • 8. Artificial neurons...

    Artificial neural networks (ANNs) undergo machine learning process called deep learning to perform tasks, generally…

    3 Comments

Insights from the community

Others also viewed

Explore topics