Harpreet Sahota πŸ₯‘ Profile picture
I create content about deep learning| #DevRel Manager @deci_ai | The DevRel and Deep Learning Dude | 60k+ on LinkedIn
Jan 6, 2023 β€’ 8 tweets β€’ 2 min read
Skip connections are one of the most important innovations in the history of deep learning.

You need to understand the problems it solves and how it helps us build deep networks.

Let me break it down for you in this thread πŸ‘‡πŸ½πŸ§΅

#deeplearning #machinelearning Skip connections are a common feature in modern CNN architectures. They create an alternative path for the gradient to flow through, which can help the model learn faster.
Jan 6, 2023 β€’ 9 tweets β€’ 2 min read
The hardest part of data science is keeping track of and measuring the right things.

And you do that with metrics.

Most data scientists don't know what makes a good metric.

In this thread, I'll teach you what makes a good metricπŸ“ˆ A good metric has four qualities; it's...
1) Comparative
2) Understandable
3) A ratio or rate
4) Changes in behaviour
Jan 6, 2023 β€’ 7 tweets β€’ 5 min read
The convolution operation q fundamental concepts in deep learning.

Most people know how to perform it.

But far fewer understand what it means.

These five πŸ–πŸ½ resources will help you grok one of the most important concepts in deep learning πŸ‘‡πŸ½

#deeplearning #machinelearning 1) Convolution vs cross correlation

You must understand the difference between convolution and cross-correlation in order to understand backpropagation in CNNs.

This will help.

glassboxmedicine.com/2019/07/26/con…
Jan 5, 2023 β€’ 10 tweets β€’ 1 min read
Accuracy, precision, recall, and F1-score are a few ways you can measure the performance of your classification model.

Most people get them confused.

Use this thread as a cheat sheet and remind yourself what they meanπŸ‘‡πŸ½πŸ§΅ Accuracy: This is the number of correct predictions made divided by the total number of predictions.
Jan 5, 2023 β€’ 12 tweets β€’ 8 min read
Here's how I would study deep learning if I had to do it all over again.

#deeplearning #machinelearning
πŸ‘‡πŸ½ 🧡 1) Skip the math

I’d ignore the math when first starting out.

Looking at equations will demotivate you.

Instead, look for applications of deep learning.

Clone the
@ultralytics
Yolov5 repo and run the usage on the command line.

See the magic happen.

Get inspired.
Jan 4, 2023 β€’ 10 tweets β€’ 2 min read
Back propagation is the secret sauce for training neural networks.

You need to understand how it works.

I break it down for you in this thread πŸ‘‡πŸ½πŸ§΅

#deeplearning Here's the lowdown: the output of a neural network is calculated with the πŸ‹πŸ½ weights πŸ‹πŸ½ of the edges that connect the nodes in the network.

So, you gotta find the optimal values of weights to minimize the final error on training data examples.
Jan 4, 2023 β€’ 6 tweets β€’ 4 min read
You shouldn't evaluate the performance of a deep learning model solely on accuracy.

You're missing the whole picture if that's all you're looking at.

There are 3 other factors you should consider when evaluating the performance of your model πŸ‘‡πŸ½

#deeplearning #ai Flops (floating point operations)

This measures of the amount of computation required to train and run a model.

More complex models often require more flops, which can make them more expensive to use.
Jan 3, 2023 β€’ 13 tweets β€’ 7 min read
🀯 Say goodbye to lifeless textbooks and hello to an exciting way to learn statistics! πŸ’ͺ

I have a masters degree in statistics, but these 11 books taught me more about how statistics in the real world than any course I've taken.

Have you read any of them?πŸ‘‡πŸ½πŸ§΅

#66DaysOfData πŸ“šπŸ§ Who says learning statistics has to be boring?!

πŸ€“ The Manga Guide to Statistics makes it fun and easy to learn all the basic concepts, with entertaining examples and applications.

Get it here:nostarch.com/mg_statistics.…
Jan 2, 2023 β€’ 8 tweets β€’ 3 min read
You don't need a bootcamp to get started in machine learning.

All you need are the right resources, discipline, and time.

Here are 6 of my favourite FREE resources to get you started. 1/ edX's Machine Learning with Python: A Practical Introduction

This course will give you all the tools you need to get started with supervised and unsupervised learning.

Time commitment: 4 hours a week and you're done in 2 weeks.

edx.org/course/machine…
Jan 2, 2023 β€’ 7 tweets β€’ 3 min read
The curse of dimensionality is a major roadblock for machine learning practitioners.

But most don't fully understand it.

Don't be left in the dark - join me in this thread as I clarify and demystify this concept πŸ‘‡πŸ½πŸ§΅ The Curse of Dimensionality (let's just call it "The Curse") refers to problems that occur when you try to use statistical methods in high-dimensional space.
Jan 1, 2023 β€’ 7 tweets β€’ 3 min read
If I had to learn data analysis with Python in 2023, here's how I would do it.

Get ready to transform your data analysis skills with these highly recommended resources.

#66DaysOfData πŸ‘‡πŸ½πŸ§΅ 1/ Cognitive Class: Data Analysis with Python

You'll learn how to prepare data for analysis, perform statistical analyses, create data visualizations, predict trends from data, and more!

Spend 30 minutes a day, everyday, and you'll be done in 3 weeks.

cognitiveclass.ai/courses/data-a…
Dec 30, 2022 β€’ 7 tweets β€’ 3 min read
Feature selection is a crucial part of building a good machine learning model.

But most data scientists don't think before they select features.

The fact is: feature selection in machine learning is not always necessary.

Here are 5 situation when you don't need it πŸ‘‡πŸ½πŸ§΅ 1. You have a small dataset that doesn't have many features.

If the data you're using is small and doesn't have many features, you don't need to do feature selection.
Dec 29, 2022 β€’ 7 tweets β€’ 4 min read
Machine learning and Python go hand in hand.

Ready to take the first step towards a rewarding career in machine learning?

These 4 resources will help you learn Python and get started πŸ‘‡πŸ½πŸ§΅

#100DaysOfCode #66DaysOfData #DeepLearning 1/ Python Principles

I've never seen anything like this course.

This is a text based course with an interactive coding environment that will teach you all the basics of Python.

There's lots of challenges and exercises, too.

This should take 2 weeks.

pythonprinciples.com/lessons/
Dec 29, 2022 β€’ 9 tweets β€’ 3 min read
The number one cause of machine learning model failure is data set drift.

Yet most data scientists and machine learning practitioners don't know why their data sets are drifting.

Here are 6 of the most common reasons for data set drift in machine learning πŸ‘‡πŸ½πŸ§΅ What is dataset drift? It's when the statistical properties of a dataset change over time, which can negatively impact the performance of a machine learning model.
Dec 28, 2022 β€’ 6 tweets β€’ 3 min read
Calculus is the foundation of deep learning.

If you don't understand it, you won't get far in your journey.

Here are 3 resources that will quickly get you up to speed on the topic.

πŸ‘‡πŸ½πŸ§΅ 1/ The Essence of Calculus by 3B1B

This will take you three hours to get through and you'll develop an intuition for the subject and a lay of the land.

youtube.com/playlist?list=…
Dec 27, 2022 β€’ 6 tweets β€’ 4 min read
Linear algebra is the backbone and foundation of machine learning (especially deep learning).

If you don't know this stuff, you won't get taken seriously in the field.

You don't need to spend hours searching for the best resources, I have 4 of them here for you πŸ‘‡πŸ½πŸ§΅ 1/ Essence of Linear Algebra by 3B1B

Grant has a way of explaining topics in an easy to understand way. The animations make this intuitive and easy to grasp.

Spend 3 hours to go through the playlist and you'll have a good lay of the land

youtube.com/playlist?list=…
Dec 26, 2022 β€’ 9 tweets β€’ 4 min read
Want to get into machine learning in 2023?

Then you need to know statistics and probability.

If you don't know this stuff, you're just a data charlatan.

Here are four resources that will get you up to speed:

πŸ‘‡πŸ½πŸ§΅ First up is Khan Academy Statistics and Probability

Spend 7 hours a week on this you'll be done in 2 weeks and have a solid overview of the basics.

khanacademy.org/math/statistic…
Dec 6, 2022 β€’ 6 tweets β€’ 1 min read
import os or import pathlib...

That is the question.

Let's talk about what to use and why

πŸ‘‡πŸ½πŸ§΅ Ultimately using the os library or the pathlib library depends on your personal preference and the requirements of your project.

Both libraries provide similar functionality for working with file paths and directories, but they have some key differences.
Nov 6, 2022 β€’ 11 tweets β€’ 4 min read
Python is the most important language to learn for deep learning.

I learned it all wrong when I first started.

Here’s the path I’d take if I was to do it all over again…

🧡 1) Python principles

This is where I would go to first. It teaches the absolute fundamentals and basic principles of Python.

Lessons teaching it from the ground up + challenges that will help prep you for more difficult things.

Register for free: pythonprinciples.com
Nov 6, 2022 β€’ 9 tweets β€’ 1 min read
If I had to learn to code again, here’s how I would do it

🧡 /s 1) Skip all the languages and go straight to the source

Pick up a book on logic. Study it.

Then grok Boolean algebra.
Nov 5, 2022 β€’ 12 tweets β€’ 4 min read
In June of 2021, I read two books that lit a fire inside of me and changed the direction of my career forever πŸ“š

And since today is Book Lovers Day, I’d like to share those books with you.

πŸ‘‡πŸ½ Image πŸ“– One book made a complex subject – one that I was afraid of – come alive in a way that was accessible and understandable

It taught me the history of the ideas in deep learning and introduced me to the names of the people behind themπŸ§πŸ»β€β™‚οΈ