Latest videos

Generative AI
2,570,991 Views · 4 years ago

I was inspired to make these videos by this specialization: https://bit.ly/3SqLuA6

In this video we implement WGAN and WGAN-GP in PyTorch. Both of these improvements are based on the loss function of GANs and focused specifically on improving the stability of training.

Resources and papers:
https://www.alexirpan.com/2017..../02/22/wasserstein-g
https://arxiv.org/abs/1701.07875
https://arxiv.org/abs/1704.00028

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

GAN Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6IjfwIp8

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

OUTLINE:
0:00 - Introduction
0:27 - Understanding WGAN
6:53 - WGAN Implementation details
9:15 - Coding WGAN
15:50 - Understanding WGAN-GP
18:48 - Coding WGAN-GP
25:29 - Ending

Generative AI
2,837,031 Views · 4 years ago

In this tutorial we build a Sequence to Sequence (Seq2Seq) with Transformers in Pytorch and apply it to machine translation on a dataset with German to English sentences, specifically the Multi30k dataset.

People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

OUTLINE:
0:00 - Introduction
0:46 - Imports
1:56 - Data preprocessing
5:53 - Transformer network
15:50 - Setting up training phase
30:00 - Fixing errors
31:30 - Evaluating the model and BLEU score

Generative AI
3,089,343 Views · 4 years ago

In this video we will set up a Pytorch deep learning environment by installing Anaconda and PyCharm so that you have everything that you need so you can focus on the important stuff: coding and learning about machine learning! If you are just starting out then do not focus on the irrelevant parts, which is the IDE that you use etc. Just a small tip that I feel have benefited me :)

People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
2,822,961 Views · 4 years ago

In this video we go through a bit more in depth into custom datasets and implement more advanced functions for dealing with text. Specifically we're looking at a image captioning dataset (Flickr8k data set) with an image and a corresponding caption text that describes what's going on in the image. I think the general principles from this video can be utilized to any project you're working with when dealing with text data be it either translation, question answering, sentiment analysis etc. I also recommend taking a look at my Torchtext which can also be quite helpful and simplify the data loading process.

✅ Support My Channel Through Patreon:
https://www.patreon.com/aladdinpersson

Flickr8k Dataset used in the video:
https://www.kaggle.com/dataset..../e1cd22253a9b23b0737

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Github repository:
https://github.com/aladdinpers....son/Machine-Learning

OUTLINE:
0:00 - Introduction
2:05 - Overview of what we're going to do
4:05 - Imports
5:20 - Setup of Pytorch Dataset for loading Flickr
11:50 - Setup of Vocabulary and Numericalization
22:19 - Creating Collate for Padding of Batch
25:20 - Function for getting data loader
29:15 - Running code & fixing couple of errors
33:09 - Ending

Generative AI
2,407,498 Views · 4 years ago

In this video we learn about a very important object detection metric in Mean Average Precision (mAP) that is used to evaluate object detection models. In the first part of the video we try to understand how this method works and then move on to PyTorch to implement this from scratch.

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

Object Detection Playlist:
https://youtube.com/playlist?l....ist=PLhhyoLH6Ijfw0Tp

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

0:00 - Introduction
0:09 - Explanation of mAP
8:19 - Implementation in PyTorch

Generative AI
2,301,173 Views · 4 years ago

In this video we learn how to build much more flexible models using keras subclassing. Previously we've seen how to use Sequential and Functional API and hopefully the example demonstrated in the video shows the power of subclassing. I show how to build a ResNet-like model with skip connections which wouldn't even be possible using the Sequential API.

Watch this video to understand ResNet:
https://youtu.be/ZILIbUvp5lk

I learned a lot and was inspired to make these TensorFlow videos by the TensorFlow Specialization on Coursera. Below you'll find both affiliate and non-affiliate links, the pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
affiliate: https://bit.ly/3t3tgI5
non-affiliate: https://bit.ly/3kZgN5B

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

TensorFlow Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
2,472,044 Views · 4 years ago

In this video we go through how to code the LeNet architecture in Pytorch. Note that it isn't exactly identical as I've done some translation to a more modern architecture, like using relu instead of tanh.

Paper:
http://vision.stanford.edu/cs5....98_spring07/papers/L


People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
2,345,861 Views · 4 years ago

In this video we take a look at how to solve the super common problem of having an imbalanced or skewed dataset, specifically we look at two methods namely oversampling and class weighting and how to do them both in PyTorch.

Toy dataset used in video:
https://www.kaggle.com/dataset..../77934f795ab14e30431

People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
2,411,357 Views · 4 years ago

A walkthrough of how to code a convolutional neural network (CNN) in the Pytorch-framework using MNIST dataset. Explaining it step by step and building the basic architecture of the CNN.

People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
2,564,560 Views · 4 years ago

Simple solution to the #kaggle competition which obtains a final score of over 0.92 which would rank us in the top 1% of submissions! :)

Link to santander customer transaction prediction:
https://www.kaggle.com/c/santa....nder-customer-transa

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
Github - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Timestamps:
0:00 - Introduction to competition
1:50 - Get data
8:22 - Simple NN baseline
20:50 - First results 0.86 score
21:33 - Understanding the data
23:40 - Modifying our NN
28:10 - Improvement to baseline
29:00 - Feature engineering
44:54 - Modifying our NN v2
50:45 - Final result and submission
56:50 - Ending

Generative AI
2,711,473 Views · 4 years ago

Let's build awesome, useful and beautiful apps using deep learning and Flutter! This video quickly brings you up to speed to building apps using Flutter and we will build a simple digit identifier and deploy it to the appstore. What apps would you like to see me build next? #ZeroToDeployment

Download app on Playstore: https://play.google.com/store/....apps/details?id=com.
Github repository: https://github.com/aladdinpersson/HelloMnist
Zero to deployment playlist: https://youtube.com/playlist?l....ist=PLhhyoLH6Ijfwo42

The drawing part of the app was heavily inspired (copied) by Puzzleleaf so please check him out:
https://www.youtube.com/channe....l/UCQSqJJ48EBy_GO4n7

Awesome tflite flutter package used (Give him a ⭐) :
https://github.com/am15h/tflite_flutter_plugin

Links referred to in the video:
https://flutter.dev/docs/get-started/install (https://youtu.be/1ukSR1GRtMU)
https://www.flaticon.com/
https://flutter.dev/docs/deployment/android
https://developer.android.com/distribute/console

✅ Support the channel by becoming a member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

OUTLINE:
0:00 - Introduction
3:20 - Developing the model
26:40 - Developing the app
2:05:13 - Improvements and publishing to appstore

Generative AI
2,240,760 Views · 4 years ago

In this video we implement a neural network from scratch using Numpy!

Github repo: https://github.com/AladdinPerz....on/Machine-Learning-

Generative AI
2,846,990 Views · 4 years ago

This is my solution to predict.m function in Programming assignment 2 from the famous Machine Learning course by Andrew Ng.



Github: https://github.com/AladdinPerz....on/Courses/tree/mast

Generative AI
2,869,848 Views · 4 years ago

In this video we code my most loved algorithm from scratch, namely Logistic Regression in the Python programming language. Below I link a few resources to learn more about Logistic Regression as well as to the Machine Learning Github repository where you can also find the code!

Resources to learn Logistic Regression:
https://www.youtube.com/playli....st?list=PLNeKWBMsAzb
http://cs229.stanford.edu/note....s2020spring/cs229-no


People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf

Generative AI
3,491,096 Views · 4 years ago

This is my solution to lrCostFunction.m function in Programming assignment 3 from the famous Machine Learning course by Andrew Ng.

Github: https://github.com/AladdinPerz....on/Courses/tree/mast

Generative AI
2,936,750 Views · 4 years ago

In this video I show a more real example of how it might be where you would have collected your own data. Specifically we have machine translation task where we have two text files in english and german respectively and I show how to go from loading the text files to splitting it into training and test set to saving it as json and csv format. When we have it in JSON and CSV format the task becomes easy and the things we went through in tutorial 1 & 2 gets applied!

Dataset can be found here:
https://nlp.stanford.edu/projects/nmt/

Resources I used to learn about torchtext:
https://torchtext.readthedocs.io/en/latest/
https://anie.me/On-Torchtext/
https://github.com/bentrevett
https://towardsdatascience.com..../how-to-use-torchtex
https://mlexplained.com/2018/0....2/08/a-comprehensive

People often ask what courses are great for getting into ML/DL and the two I started with is ML and DL specialization both by Andrew Ng. Below you'll find both affiliate and non-affiliate links if you want to check it out. The pricing for you is the same but a small commission goes back to the channel if you buy it through the affiliate link.
ML Course (affiliate): https://bit.ly/3qq20Sx
DL Specialization (affiliate): https://bit.ly/30npNrw
ML Course (no affiliate): https://bit.ly/3t8JqA9
DL Specialization (no affiliate): https://bit.ly/3t8JqA9

GitHub Repository:
https://github.com/aladdinpers....son/Machine-Learning

✅ Equipment I use and recommend:
https://www.amazon.com/shop/aladdinpersson

❤️ Become a Channel Member:
https://www.youtube.com/channe....l/UCkzW5JSFwvKRjXABI

✅ One-Time Donations:
Paypal: https://bit.ly/3buoRYH
Ethereum: 0xc84008f43d2E0bC01d925CC35915CdE92c2e99dc

▶️ You Can Connect with me on:
Twitter - https://twitter.com/aladdinpersson
LinkedIn - https://www.linkedin.com/in/al....addin-persson-a95384
GitHub - https://github.com/aladdinpersson

PyTorch Playlist:
https://www.youtube.com/playli....st?list=PLhhyoLH6Ijf




Showing 244 out of 583