Latest videos

Generative AI
2,476,238 Views · 3 years ago

In this last video of these TensorFlow tutorials we are going to build a model that can classify if a skin lesion is either benign (unharmful) or if it is malignant (actually cancer). This is a great example of a beginner project in TensorFlow and I very much hope that after following these TensorFlow tutorials you feel you are ready to start tackling your own projects.

Download ISIC dataset:
https://challenge2019.isic-archive.com/data.html

Lectures by Andrew Ng on Imbalanced Datasets:
https://youtu.be/wGw6R8AbcuI
https://youtu.be/W5meQnGACGo

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

OUTLINE:
0:00 - Introduction
0:44 - Dataset overview
4:51 - Preprocess script
11:31 - Setup model and training
20:12 - Introducing better metrics
24:11 - ROC curve
27:06 - Evaluation and Ending

Generative AI
2,983,974 Views · 3 years ago

From scratch implementation of Naive Bayes Classifier in Python. In the video I explain the theory briefly and focus is on the actual implementation. Specifically this is implementation of Gaussian Naive Bayes Classifier.

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,504,945 Views · 3 years ago

In this video we use our implementation from the last video of naive bayes classifier to classify emails into spam and not spam using the Python programming language. Other words for this: Spam filtering and spam detection using Naive Bayes.

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,432,869 Views · 3 years ago

In this video I will show you methods to efficiently load a custom dataset with images in directories. Depending on how your dataset is structured the method that is the easiest could vary and the most common ways to load is either having structured subfolders, a csv with with annotations or simply all of the images in a single folder. We use the functions image_dataset_from_directory, ImageDataGenerator together with flow_from_directory for subfolders. Pandas togethor with from_tensor_slices when dealing with an annotation csv file and lastly list_files when having all inside a single image folder directory. Hope you find this tutorial useful!

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

OUTLINE:
0:00 - Introduction
0:29 - Images in subfolders
14:03 - Folder with annotation csv
19:15 - All in single folder
24:53 - Ending

Generative AI
2,212,127 Views · 3 years ago

In this video we look at ways to customize model behavior during training and testing using Keras Callbacks. Specifically we look at ways how to save model during training epochs, using a learning rate scheduler and an example of a simple custom callbacks.

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,201,887 Views · 3 years ago

In this video we learn how to use various parts of TensorBoard to for example obtain loss plots, accuracy plots, visualize image data, confusion matrices, do hyperparameter search with hparams, use the projector embeddings and also the tensorflow profiler. So far in this tutorial series the main emphasis has been on building models and setting up training, but of course visualizing our models is a very important aspect which is why we focus on it thoroughly in this video.

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

OUTLINE:
0:00 - Introduction and overview
5:52 - Starter Code
8:40 - TensorBoard Callbacks
14:02 - Plots in Scalars Tab
22:00 - Visualizing Images
33:40 - Confusion Matrix
45:24 - Graphs
49:36 - HParams
1:01:12 - Projector
1:15:59 - TensorFlow Profiler
1:22:30 - Ending & Outro

Generative AI
2,926,206 Views · 3 years ago

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

A clean, simple and readable implementation including pretrained weights available on the Github repository if you'd like to evaluate the model :)

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

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

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

Timestamps:
0:00 - Introduction
0:12 - Pix2Pix Summary
5:54 - Results of implementation
8:45 - Outline for implementation
9:25 - Discriminator model
20:18 - Generator model
34:55 - Dataset loading
44:30 - Train file
1:01:38 - Ending

Generative AI
2,803,682 Views · 3 years ago

In this video I show you 10 common Pytorch mistakes and by avoiding these you will save a lot time on debugging models. This was inspired by a tweet by Andrej Karpathy and that's why I said it was approved by him :)

Andrej Karpathy Tweet:
https://twitter.com/karpathy/s....tatus/10132443133276

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:21 - 1. Didn't overfit batch
2:45 - 2. Forgot toggle train/eval
4:47 - 3. Forgot .zero_grad()
6:15 - 4. Softmax when using CrossEntropy
8:09 - 5. Bias term with BatchNorm
9:54 - 6. Using view as permute
12:10 - 7. Incorrect Data Augmentation
14:19 - 8. Not Shuffling Data
15:28 - 9. Not Normalizing Data
17:28 - 10. Not Clipping Gradients
18:40 - Which ones did I miss?

Generative AI
2,357,299 Views · 3 years ago

#shorts #machinelearning #deeplearning

Generative AI
2,986,829 Views · 3 years ago

How I increased my testosterone levels from 380 ng/dl (first test), 480 ng/dl (second test) to 836 ng/dl in less than a year, naturally, so about a 2x increase. After reading a few studies on how testosterone is a hormone linked to greater resilience, higher drive, physical recovery, stress tolerance, and energy levels I was intrigued to do an experiment if it would help me. Note: I did not only introduce supplements, but also improved sleep etc at the same time. Causality is hard, but I do believe the supplements have helped increase my testosterone, my estimate is at least ~200 total increase from supplements. I encourage you to do blood test before and after to confirm that it works though as I am only n=1. Evaluating your own resilience, drive, energy level etc is a lot harder and what is even harder is determining causality. I am careful to say it has made any difference for me personally: I don't know, but at least I can say I am stronger in the gym :)

Meta review mentioned in video: https://www.mdpi.com/2673-396X/2/2/11/htm
Good video on testosterone: https://youtu.be/BtHg1AJwOzs

The exact supplements I take (I ordered from amazon DE):
Ashwaganda (500mg per capsule, 2x daily, once earlier in the day and once taken before bed): https://amzn.to/3UAWdJF
D Vitamin (5000 IU daily, taken with food): https://amzn.to/3E7T39b
Zinc Bisglycinate (25mg daily): https://amzn.to/3g4UGwl
Magnesium Bisglycinate (300mg, 2 capsules before bed): https://amzn.to/3TC344n
Creatine Monohydrate (5g a day): https://amzn.to/3UzPkrP
Fenugreek (650 mg a day, 2 capsules): https://amzn.to/3AeLNHj
Boron (6 to 9mg a day, 2-3 capsules): https://amzn.to/3hA3SJr
Fadogia Agrestis (300 to 600mg daily, 1-2 capsules): https://amzn.to/3UVqrqx
Tongkat Ali (500mg daily, 1 capsule): https://amzn.to/3EFJmR3

I also take these for improved sleep:
L-theanine (200-400mg, ~30 minutes before bed): https://amzn.to/3trKwsM
Melatonin (0.5mg, ~30 minutes before bed, I use maybe 3x a week): https://amzn.to/3Ah7HK9
Magnesium bisglycinate(~ 30 minutes before bed): mentioned above already
Apigenin (50mg, 1 capsule, ~ 30 minutes before bed): https://amzn.to/3gbSTFI

Others:
Omega 3 (4-5 capsules, 2-2.5gram EPA a day, note this is not triglyceride formula so take with foods and store in freezer/fridge): https://amzn.to/3hHZMPs
Icing testicles (free): 15 min/day before bed while reading. Lol :)

*Disclaimer: This video or video description contains affiliate links. That means that I am awarded a small commission for purchases made through them, at no added cost for you.

Timestamps:
0:00 - Introduction
1:09 - Bloodwork result
3:07 - Why do you want to increase it?
6:18 - General advice (Notes) from Huberman to increase it
7:45 - Thoughts on diet
9:30 - Supplements meta review
11:00 - Magnesium Bisglycinate
11:51 - Tonkat Ali (huberman talks a lot about this)
13:30 - Boron for lowering SHBG
15:23 - Ashwaganda
16:30 - Fenugreek
17:00 - Additional supplements that was not included in meta review
17:54 - Other interesting avenue, that's free :) (icing)
21:47 - Summary and why you (most likely) do not need lifelong TRT

Generative AI
2,516,613 Views · 3 years ago

In this video we look at an example of how to performs tranformations on images in Pytorch. This idea of expanding your dataset with transformed images is called data augmentation and is a very popular and effective method for achieving better performance.

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,191,868 Views · 3 years ago

In this tutorial we go through the essentials of neural style transfer and code it from scratch in Pytorch.

Paper:
https://arxiv.org/abs/1508.06576

Resources (Lectures by Andrew Ng):
https://youtu.be/R39tWYYKNcI (Part 1)
https://youtu.be/ChoV5h7tw5A (Part 2)
https://youtu.be/xY-DMAJpIP4 (Part 3)
https://youtu.be/b1I5X3UfEYI (Part 4)

Also looked at:
https://github.com/yunjey/pytorch-tutorial

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:49 - Explanation of NST (Neural Style Transfer)
5:21 - Coding NST from scratch
23:00 - Training and Results
23:34 - The reason you're here

Generative AI
2,140,430 Views · 3 years ago

In this video we try to understand and implement another very important object detection metric in non max suppression.

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

OUTLINE:
0:00 - Introduction
0:44 - Explanation of NMS
4:55 - Implementation in PyTorch

Generative AI
2,828,856 Views · 3 years ago

FP16 approximately doubles your VRAM and trains much faster on newer GPUs. I think everyone should use this as a default.

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

Generative AI
2,330,681 Views · 3 years ago

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

In this video we look at some of the impressive applications of GANs and really understand why these networks are awesome. We also understand and explain how GANs work and try to dissect the loss function which will together build a foundation so that we can start implementing these networks in upcoming videos.

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:49 - Why GANs are awesome
4:53 - How GANs work
11:45 - Ending

Generative AI
2,931,307 Views · 3 years ago

In this video I show you how to code DCGAN in TensorFlow. Code reference for the video: https://keras.io/examples/gene....rative/dcgan_overrid although honestly I pretty much changed all of the code...

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://youtube.com/playlist?l....ist=PLhhyoLH6IjfxVOd




Showing 240 out of 579