Zero to Hero in Machine Learning: Part 1 by Perera Ravindu
Author:Perera, Ravindu [Perera, Ravindu]
Language: eng
Format: epub
Published: 2020-05-23T16:00:00+00:00
You can use the python code below to get a RGB color matrix of an image.
If you try the above code with your own image file, then you can see it gives the RGB color code for each pixel. How many elements are there in that color matrix? Can you manually analyze them one by one? It’s a very hard task for you as well as for the computer.
So, we have to reduce the size of the matrix while keeping important characteristics which help to identify what that image contains. To do this, we can perform max pooling , min pooling , average pooling , etc. Reducing the size of the matrix helps to reduce the variance of the image and to reduce the computational complexity.
Max Pooling
Let's say we have a 4x4 matrix representing our image. And let’s say we need to reduce it to a 2x2 matrix. Then we have to divide the original matrix into 4 regions (because we need a 2x2 matrix as the output) and take the maximum value of each region to create the new matrix.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Weapons of Math Destruction by Cathy O'Neil(4269)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(3512)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(2448)
Descartes' Error by Antonio Damasio(2333)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(2310)
TCP IP by Todd Lammle(2269)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2086)
The Book of Numbers by Peter Bentley(2078)
The Tyranny of Metrics by Jerry Z. Muller(2071)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2068)
The Great Unknown by Marcus du Sautoy(1870)
Once Upon an Algorithm by Martin Erwig(1855)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(1830)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(1810)
Lady Luck by Kristen Ashley(1804)
Easy Algebra Step-by-Step by Sandra Luna McCune(1798)
Police Exams Prep 2018-2019 by Kaplan Test Prep(1758)
All Things Reconsidered by Bill Thompson III(1756)
Secrets of Creation, Volume 1: The Mystery of the Prime Numbers by Watkins Matthew(1654)