Learning

Generative AI
2,345,854 Views · 3 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 · 3 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,552 Views · 3 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,472 Views · 3 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 · 3 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,985 Views · 3 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,847 Views · 3 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,093 Views · 3 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 · 3 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

Generative AI
2,286,572 Views · 3 years ago

In this video I show you how to set the seeds and what you need to do in order to obtain deterministic behavior from Pytorch (note this is not cross platforms). This is very useful when comparing changes you've made (to see that it actually does a difference) and debugging and so on!

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,069,624 Views · 3 years ago

This is my solution to costFunctionReg.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,379,749 Views · 3 years ago

An in-depth guide to tensorboard with examples in plotting loss functions, accuracy, hyperparameter search, image visualization, weight visualization as well as tensorboards visual embedding or projector.

The functions we look at from Pytorchs tensorboard are add_scalar, add_image, add_histogram, add_embedding and add_hparams.

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
2:08 - Initializing SummaryWriter
2:55 - Creating a loss and accuracy plot
5:40 - Doing Hyperparameter search
16:36 - Visualizing Dataset Images and Network Weights
20:55 - Tensorboard Embedding Projector

Generative AI
2,131,822 Views · 3 years ago

In this video I show you how to use and load the inbuilt datasets that are available for us through torchtext. In the example I show an example of machine translation using Multi30k dataset.

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

Generative AI
2,750,840 Views · 3 years ago

In this video I show you examples of how to perform transfer learning in various ways, either having trained a model yourself, using keras.applications or the TensorFlow hub. I also show how you can then pick out specific chunks of the pretrained models and remove specific layers, and then how you could freeze those layers, add layers on top and perform fine tuning.

Download TensorFlow Hub (w. pip it's pip install tensorflow-hub):
https://anaconda.org/conda-forge/tensorflow-hub

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,202,307 Views · 3 years ago

In this video I walk through the basics of the Vigenère cipher!

Link to Python implementation: https://www.youtube.com/watch?v=sxFObRNriUg

Link to read more about how to break the vigenere: https://crypto.interactive-mat....hs.com/kasiski-analy

Generative AI
2,743,938 Views · 3 years ago

#ZeroToDeployment

Building awesome apps from scratch completely open source.
Download on Playstore: https://play.google.com/store/....apps/details?id=com.

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

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

👋 CONNECT WITH ME:
Twitter ► https://twitter.com/aladdinperzon
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

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




Showing 202 out of 366