Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 565 Bytes

File metadata and controls

21 lines (16 loc) · 565 Bytes

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.