Simplified Explanation of the Machine Learning Process

This is a short description of machine learning process including the training and testing phases. I may add more details during my machine learning journey. If you are more interested why I am back to this topic, I wrote about it on last month.

The main source is my own bachelor thesis, which I wrote in 2012. Here you can find also nice and simple explanation of the machine learning workflow:

A Simple Explanation of the Machine Learning Workflow

In that article testing phase is described as “putting model to the production”, which makes sense.

Steps of the Machine Learning Process

  1. Formulate your original problem into a learning problem
  2. Collect all data which is related to your learning problem
  3. Choose and plan the usage of learning method (ML algorithm)
  4. Training (=learning) phase
    • needs training data
    • train the algorithm to create right output
    • the output product is a model
  5. Testing phase
    • needs testing data which is different than training data
    • uses the model created in training phase
    • makes decision on classification of test data

Training Phase

  • labeled training data goes as an input to the feature extraction
  • output of the feature extraction is a feature vector
  • feature vector goes as an input to the learning process, where the model is build by using some machine learning algorithm
  • output is a model which will be used in a testing phase
Training process in Machine Learning

Both training & test data have to be processed in the same way from the begin to the feature extraction

Note to the training and testing phases

Testing Phase

  • unlabeled testing data goes as an input to the feature extraction
  • output of the featured extraction is a feature vector
  • feature vector goes as an input to recognition process
  • the model created by training phase is used for decision making
  • output of this phase is decision
Testing process in Machine Learning

Featured image by Markus Winkler on Unsplash.

Share on social media

Share on facebook
Share on twitter
Share on linkedin
Copyright 2024 © All rights Reserved. Created by Code for My Life.