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(4617)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(3791)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(2621)
Descartes' Error by Antonio Damasio(2547)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(2526)
TCP IP by Todd Lammle(2432)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2307)
The Book of Numbers by Peter Bentley(2258)
The Tyranny of Metrics by Jerry Z. Muller(2256)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2255)
The Great Unknown by Marcus du Sautoy(2047)
Once Upon an Algorithm by Martin Erwig(2014)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(1985)
Easy Algebra Step-by-Step by Sandra Luna McCune(1963)
Lady Luck by Kristen Ashley(1948)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(1903)
Police Exams Prep 2018-2019 by Kaplan Test Prep(1896)
All Things Reconsidered by Bill Thompson III(1871)
Secrets of Creation, Volume 1: The Mystery of the Prime Numbers by Watkins Matthew(1777)
