Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 1.04 KB

File metadata and controls

32 lines (16 loc) · 1.04 KB

Multicategory-classification

Context

The idea of this project is to classify 3 groups of 2-dimension data (x,y) linearly separables with a multi-output perceptron.

Objective

Build a neural network capable to classify 3 groups of data.

image

Fig.1 Three groups of 2 dimensional (x,y) points. Source: Samarasinghe S.[1]. Graphics by my own.

Results

A 2-3 neural network was built. After 20 epochs and a learning rate of 0.1 the equations of the three boundaries are:

f1(x) = 3.45x -1.33

f2(x) = -1.56x + 2.59

f3(x) = 0.16x + 0.1

image

Fig.2 The classification boundaries superimposed on the data. Source: own elaboration.

Case study and data source

[1] Samarasinghe, S. Neural Networks for Applied Sciences and Engineering. From Fundamentals to Complex Pattern Recognition, Auerbach Publications, pp.40-44, 2007.