Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Spiral Dataset

Decision boundary

Neural networks can be viewed as a universal approximation function. Let's use a simple dataset called Spiral to see how neural net can obtain a non-linear decision boundary.

Usage

Following are the commands used to train and test the model:

$ python spiral.py

Result

Following is the decision boundary obtained. We can observe that the network could fit the non-linear dataset.