The Right Mindset To Approach A Machine Learning Problem

A very prominent saying that I truly believe in is, “The more you learn, the more you earn”. It applies everywhere in every aspect of life. So be it in learning anything of/about machine learning.

In this article, I will share a different perspective of how you can apply the tactics to learn any concept of machine learning. Will also be showing it with an example of a simple algorithm.

Let us take a look at a few stats of learning and also the best way to learn.

THE BELAMY

We learn 10 percent of what we read, 20 percent of what we listen to, 30 percent of what we see, 50 percent of what we see and hear 70 percent of what we discuss with others 80 percent of what we personally experience 95 percent of what we teach others.

So the best way to learn any concept is understanding it yourself and then teaching it to someone else. With this you will be able to soak the most of the content that you have learned!

Now let us see how I would be doing it if I didn’t know anything about Support Vector Machine(SVM).

Note: Here even if you know the basics of SVM, it is still advised to read it up whole so as to give you a brief understanding of how you should reach a problem/concept in machine learning.

Understanding it better by revising SVM

So if I were to learn about SVM, I would proceed something like this.

Step 1: Basics are important

First I would start from its full form, that is support vector machine. Then would try to understand why it is called so? Well, I would keep that up for the last because to understand that I would be in a need to understand the intuition behind the same first.

Source: Wiki

I would read from the basics and understand that this algorithm supports both linear and non-linear regression. Also can be used for classification purposes.

The main aim of this is to get as many data points as possible while limiting the margin violations.

Source: Medium

Step 2: Learn by asking questions

Along with this, I would learn what is the difference between a separable class and inseparable class. Like in the image above we are able to understand that it is an easily separable case but what is the case is not linearly separable. Would study about how kernel tricks come into the picture?

Step 3: Learn by tweaking parameters

In SVM for classification, I would look at the terms that are used the most and would also understand the tuning parameters, like margin, kernel, regularisation parameter(c), gamma etc.

The example is shown in the image below.

Some images of different kernel parameters.

Source: Scikit learn

Step 4: Learn by implementing

Now when you have got a better understanding of the topic, learn by implementing whatever you have learned. By doing this you will learn from the mistakes you make. You can implement whatever you have learned by solving questions on classification where you can take the dataset from Kaggle or google datasets. With this, you will not only practice classification/regression-based problems but also would get a better idea of how to deal with different types of data.

Ask as many questions as possible whilst learning the intuition, because once you get into the sklearn’s inbuilt functions there’s hardly any growth there.

There are a lot of different points of SVM which were left untouched because this article is dedicated to telling you the way you have thought. The main plot is to benefit the readers with a new strategy than explaining them about SVM.

The crux of the article

Always ask the following question to yourself whilst learning anything.

1. Why is it important to learn?
2. Why is the name of the concept so?
3. What is it?
4. Where is it used?
5. How can I tune/engineer it?
6. Implementation
7. Finally this quote: “If you can’t explain it to a six-year-old, you don’t understand it yourself.”

Albert Einstein

Conclusion

This article was aimed to give you a brief idea on how to learn any concept in machine learning. It is taken into consideration to show it with an example which would help the readers understand better on how or should be using the same tactics which can benefit them the most. With this article, you have saved a lot of time as you have got a better understanding of how to ask questions to yourself whilst learning any new thing and also have got a revision of SVM both at the same time.

Rs. 299/month

More Great AIM Stories

The Dark Cloud in Microsoft’s Otherwise Bright Earnings Report

Understanding and building fathomable approaches to problem statements is what I like the most. I love talking about conversations whose main plot is machine learning, computer vision, deep learning, data analysis and visualization. Apart from them, my interest also lies in listening to business podcasts, use cases and reading self help books.

AIM Upcoming Events

Early Bird Passes expire on 3rd Feb

Conference, in-person (Bangalore)
Rising 2023 | Women in Tech Conference
16-17th Mar, 2023

Conference, in-person (Bangalore)
Data Engineering Summit (DES) 2023
27-28th Apr, 2023

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Utthunga CTO Rushendra Babu on how India can meet the demands of Industry 4.0

Utthunga offers a wide variety of industrial products and solutions such as OPC Suite, Simulators, Edge Softwares, Edge Device Management, Network Diagnostics, etc.

Everything you need to know about Amazon Style

Amazon Style will debut in Glendale, Calif., at The Americana at Brand, a retail mall.

Meet the winners of IndiaSkills 2021 Nationals

More than 500 candidates from 26 states/UTs participated at the IndiaSkills 2021 Nationals.

All you need to know about Graph Embeddings

Embeddings can be the subgroups of a group, similarly, in graph theory embedding of a graph can be considered as a representation of a graph on a surface, where points of that surface are made up of vertices and arcs are made up of edges

How can SMOTE technique improve the performance of weak learners?

In this article, we will discuss how SMOTE technique can be used to improve the performance of weak learners such as SVM.

CLIP vs Vision Language Pre-training Vs VisionEncoderDecoder

These seemingly similar models can be confusing to understand to decide which one will be the right choice to apply for a particular setting.

LaMDA is built by fine-tuning a family of Transformer-based neural language models specialised for dialog, with up to 137B model parameters.

Yann LeCun sparks a debate on AGI vs human-level AI

Yann LeCun claimed the word AGI should be retired and must be replaced with “human-level AI”.

Do economists make good data scientists?

What we refer to as coding skills for data science are in fact the ability to think logically and understand underlying data structures.

IBM sells parts of Watson Health; what are the repercussions?

IBM Watson Health was an ambitious project introduced to use the core AI platform to help healthcare professionals analyse large amounts of data and assist in cancer treatment.