Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Adaptive Linear Neuron (Adaline)

image.png

Step 0 - Get the Iris dataset

Loading...
Fitting a dataset with X: (100, 2) and y: (100,)
There are 50 examples of Iris-versicolor
<Figure size 960x720 with 1 Axes>

Step 1 - Define and fit Adaline class

<__main__.Adaline at 0x7f79c3b2bed0>
<Figure size 960x720 with 1 Axes>

Step 2: Plot decision boundary

<Figure size 960x720 with 1 Axes>

Step 3 : Train the Adaline model at different learning rates

<Figure size 960x720 with 1 Axes>

Step 4: See the benefit of feature scaling

<Figure size 960x720 with 1 Axes>

Step 5: Plot the decision boundary in scaled coordinates

<Figure size 960x720 with 1 Axes>