Machines learning techniques explained for newbies.

MLamine Guindo
unpack
Published in
3 min readMar 8, 2021
Top 5 Machine Learning Projects for Beginners | Hacker Noon

This post will take a tour of the different machine learning techniques, but before going more in-depth, it’s always good to define machine learning for newbies.

According to Arthur Samuel, the term Machine learning means the ability of computers to learn on their own.

Of course, it’s crazy how a computer can learn by itself?

In other words, Machine learning is just a branch of artificial intelligence (AI) that allows computers to “learn” from some experience and develop on their own without having to be directly programmed.

  • Learning for humans means finding knowledge either by going to school and being trained by a teacher, either by self-training.

The computer also uses the same way to learn; it must find data that need to be trained by someone(supervised) or can train itself(unsupervised).

Machine learning algorithms are often classified as supervised or unsupervised learning.

  • Supervised learning means to be trained by a teacher; in other words, the computer program needs to learn from the data and its target.
  • Unsupervised learning means the computer doesn’t need to be trained by someone (Self-training). In this case, the computer program learns from data without a target.
  • Reinforcement Learning means the computer will learn from the mistakes of different trials. It’s like when a child doesn’t go to school and doesn’t learn independently but keeps taking the exam. Of course, there is 100% that he will continue to fail unless he is a genius or a gifted one. However, he can learn from the different exams he has taken and maybe finally pass the exam.

Let’s have a look at Machine learning techniques.

Supervised Learning

As we have seen previously, supervised needs data and its target; therefore, based on the specific target, two types of supervised learning exist Regression and Classification.

Regression is used when we want to predict a continuous outcome, while classification is used when the target is a class; below are some most used techniques or algorithms.

·Support-vector machines.

· Linear regression.

· Logistic regression.

· Random Forest

· Naive Bayes.

· Linear discriminant analysis.

· Decision trees.

· K-nearest neighbor algorithm.

Ensemble approaches are models made up of several weak models that are individually trained and whose predictions are merged to produce the overall forecast. Much work is being made to combine the forms of vulnerable learners and the contexts they can combine. This is an advantageous technique and is very common as such.

  • Boosting
  • Bootstrapped Aggregation (Bagging)
  • AdaBoost
  • Weighted Average (Blending)
  • Stacked Generalization (Stacking)
  • Gradient Boosting Machines (GBM)
  • Gradient Boosted Regression Trees (GBRT)
  • Random Forest

Real-life application of classification:

Malware classification (malware or not malware)

Email classification (spam or not spam)

Customer behavior classification (Good, Excellent or Bad Customer)

Classification image (dog or cat)

Real-life application of regression:

Weather prediction

Stock price prediction

Blood pressure prediction

Unsupervised Learning

We don’t have any outcome variables to forecast in this methodology. The machine is trained with unmarked results. Unsupervised methods tend to discover hidden mechanisms, such as finding clusters of images, but they are a little difficult to execute and not as commonly used as supervised learning.

Example of Unsupervised learning

· k-Means

· k-Medians

· Expectation Maximisation (EM)

· Hierarchical Clustering

Real-life application of unsupervised learning:

Anomaly detection

Biology gene grouping

Grouping

Other machine learning techniques

Dimension reduction: This method helps to reduce the data into a small dimension.

  • Principal Component Analysis (PCA)
  • Principal Component Regression (PCR)
  • Partial Least Squares Regression (PLSR)
  • Sammon Mapping
  • Multidimensional Scaling (MDS)
  • Projection Pursuit
  • Linear Discriminant Analysis (LDA)
  • Mixture Discriminant Analysis (MDA)
  • Quadratic Discriminant Analysis (QDA)
  • Flexible Discriminant Analysis (FDA)

--

--

MLamine Guindo
unpack
Writer for

I am GUINDO, passionate abou data science ,machine learning ,spectroscopy , chemometrics, connect with me