Classify dog and cat images with an easy numpy neural network

Crystal X
5 min readNov 17, 2023

So far, I have written two blog posts on how to use numpy to classify images of dogs and cats. In this blog post, I intend to show another way to classify images and I think the code is more simplistic, so it should be suitable for someone who does not want to be bogged down with lots of code.

A neural network is a method in artificial intelligence that teaches computers to process data in a way that is inspired by the human brain. It is a type of machine learning process, called deep learning, that uses interconnected nodes or neurons in a layered structure that resembles the human brain. It creates an adaptive system that computers use to learn from their mistakes and improve continuously. Thus, artificial neural networks attempt to solve complicated problems, like summarising documents or recognizing faces, with greater accuracy. Neural networks can help computers make intelligent decisions with limited human assistance. This is because they can learn and model the relationships between input and output data that are nonlinear and complex.

In this application of a neural network, I intend to explore the concept of computer vision. Computer vision is the ability of computers to extract information and insights from images and videos. With neural networks, computers can distinguish and recognize images similar to…

--

--

Crystal X
Crystal X

Written by Crystal X

I have over five decades experience in the world of work, being in fast food, the military, business, non-profits, and the healthcare sector.