<< plot_boundary Visualization functions plotchar >>

NeuralNet >> Visualization functions > plot_weight

plot_weight

Plot the boundary for simple perceptron

Calling Sequence

plot_weight(w,b)

Parameters

w :

2-D weights (2 values)

b :

bias

Description

This function used to plot the boundary for simple perceptron with 2 inputs

Examples

w = [1 -1]; b = 0.1;
plot_weight(w,b)

Authors


Report an issue
<< plot_boundary Visualization functions plotchar >>