Skip to content

Classification problem of 3 categories solved by a neural network

Notifications You must be signed in to change notification settings

danieljordan2/Multicategory-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Classification problem of 3 categories solved by a neural network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages