AI In Graphics

Getting Intuition About Complex Math & More — AISeries — Episode #03

J3
Jungletronics
6 min readMay 7, 2021

--

Hi, this post just presents a collection of images, Graph, and Gifs to Make You Grasp New Concepts Faster of Artificial Intelligence, ML, and DL ;)

Why visualizing? Visualizations allow us to access simultaneously a rich amount of information that can help us jump quickly to insights that may be hard to decipher from numerical calculations.

Einstein used visualization throughout his life. At age 16, Einstein used visualization when he discovered that the speed of light was always constant. Einstein believed that visual understanding was the most important form of education and more important than knowledge.

So Welcome! Enjoy!

01# First, What are LL EXPLORER LANDSCAPES?

This app allows you to interact with landscapes created with dimensionality reduction techniques and real data. The app has a variety of features including automatic gradient descent mode, live control of the descent rate (similar to the learning rate), the possibility of drawing gradient descent trajectories, studying gradient data, saving snapshots of any perspective in a variety of styles in png format, etc.

https://ideami.com/

02# Second, What is Convolutional Neural Network?

Please, watch this awesome video:

Vid 1. Video from Denis Dmitriev (Tks, man! It is awesome!) Handwritten character recognition is a field of research in artificial intelligence, computer vision, and pattern recognition. Basically, the algorithm takes an image (image of a handwritten digit) as an input and outputs the likelihood that the image belongs to different classes (the machine-encoded digits, 1–9). MNIST is a database. The acronym stands for Modified National Institute of Standards and Technology. The MNIST database contains handwritten digits (0 through 9) and can provide a baseline for testing image processing systems. MNIST is the “hello world” of machine learning (database: http://yann.lecun.com/exdb/mnist/)

03#Next, Convolutional Neural Networks for Visual Recognition.

Please visit this page from stanford.edu:

Gif 1. Stanford Convolutional Neural Networks example. Source: stanford.edu

This network is running live in your browser, check it out!

04# how does the convolutional layer work?

There are the 3 key concepts of CNN (Convolutional neural networks):

Gif 2. CNN 3 Concepts: 1) Local Receptive Fields
2) Shared Weights and Biases
3) Activation & Pooling
Gif 3. 1 ) Local Receptive Fields
Gif 4. 3) Shared Weights and Biases
Gif 5. 3) Activation & Pooling

Please refers to this link, look for Q&A#12:)

05#This demo trains a Convolutional Neural Network on the MNIST digits dataset in your browser right in front of your eyes:)

Gif 6. 3) Check it out! https://cs.stanford.edu/people/karpathy/convnetjs/

06#This is Andrej Karparthy toy 2d classification with a 2-layer neural network. Just awesome, Check it out!

Gif 7.Go to: https://cs.stanford.edu/~karpathy/convnetjs/demo/classify2d.html

07#what is the best algorithm for prediction in machine learning?

Machines are now able to learn from and train on their own by using previous computations and underlying algorithms to produce high-quality, easily reproducible decisions and results.

What follows are tailor-made machine learning algorithms that allow businesses to identify potential hazards and growth opportunities.

Here are some of the most commonly used algorithms for gradient-based optimization categorized on the basis of their type of machine learning:

Gif 8. source: https://cs231n.github.io/neural-networks-3/
Gif 9. source: https://cs231n.github.io/neural-networks-3/
Gif 10. Gradient Descent (GD) Method; Source: https://towardsdatascience.com/a-visual-explanation-of-gradient-descent-methods-momentum-adagrad-rmsprop-adam-f898b102325c
Gif 11. Gradient Descent (cyan), Momentum (magenta), AdaGrad (white), RMSProp (green), Adam (blue). Source: https://towardsdatascience.com/a-visual-explanation-of-gradient-descent-methods-momentum-adagrad-rmsprop-adam-f898b102325c
Gif 12.Momentum (magenta) vs. Gradient Descent (cyan) on a surface with a global minimum (the left well) and local minimum (the right well); Source: https://towardsdatascience.com/a-visual-explanation-of-gradient-descent-methods-momentum-adagrad-rmsprop-adam-f898b102325c

08# what is the best framework for prediction in machine learning?

Fig 1. source: https://youtu.be/0VH1Lim8gL8

09#what is the best book to read for machine learning in python?

Fig 2. source: https://youtu.be/0VH1Lim8gL8

10#Is CPU or GPU more important for machine learning?

Fig 3. source: https://nl.pinterest.com/pin/657314508101526424/

References & Credits

Andrej Karpathy blog
https://github.com/karpathy
https://twitter.com/karpathy

Deep Learning State of the Art (2020) https://youtu.be/0VH1Lim8gL8

How Deep Neural Networks Work by freeCodeCamp.org — Full Course for Beginners https://youtu.be/dPWYUELwIdM.

Deep Learning State of the Art (2020) by Lex Fridman

Related Posts

00#Episode — AISeries — ML — Machine Learning Intro — What Is It and How It Evolves Over Time?

01#Episode — AISeries — Huawei ML FAQ — How do I get an HCIA certificate?

02#Episode — AISeries — Huawei ML FAQ Again — More annotation from Huawei Mock Exam

03#Episode — AISeries — AI In Graphics — Getting Intuition About Complex Math & More (this one:)

04#Episode — AISeries — Huawei ML FAQ — Advanced — Even More annotation from Huawei Mock Exam

05#Episode — AISeries — SVM — Credit Card — Start to Finished — A Complete Colab Notebook Using the Default of Credit Card Clients Data Set from UCI

06#Episode — AISeries — SVM — Breast Cancer — Start to Finished — A Complete Colab Notebook Using the Default of Credit Card Clients Data Set from UCI

07#Episode — AISeries — SVM — Cupcakes or Muffins? — Start To Finished — Based on Alice Zhao post

Online Demos

The limits of deep learning are still on the process of being figured out!

By Lex Fridman

--

--

J3
Jungletronics

Hi, Guys o/ I am J3! I am just a hobby-dev, playing around with Python, Django, Ruby, Rails, Lego, Arduino, Raspy, PIC, AI… Welcome! Join us!