Create Your Own Artificial Neural Network for Multi-class Classification (With Python)

Philip Mocz
Level Up Coding
Published in
10 min readJul 23, 2023

--

In today’s recreational coding exercise, we will build an Artificial Neural Network from scratch and train it to classify galaxies. In machine learning, the multi-class classification problem is the problem of classifying objects into one of three or more classes. In this example, we will classify images of galaxies as Elliptical, Spiral, or Irregular.

You may find the accompanying artificial neural network Python code on GitHub.

--

--

Computational Physicist. Sharing intro tutorials on creating your own computer simulations! Harvard ’12 (A.B), ’17 (PhD). Connect with me @PMocz