Understanding Multiple Inputs in Neural Networks
dev.to·1d·
Discuss: DEV
📊Quantization
Preview
Report Post

In our earlier examples, we only had one input. But in reality, one input wouldn’t suffice as problems become more complex.

We can have a more complicated example with more than one input node and more than one output node. This example is about an Iris flower.

The two inputs are:

  1. Petal Width
  2. Sepal Width

With these inputs, we need to predict the species: Setosa, Versicolor, or Virginica. For now, we will keep it simple by using one output node: Setosa.

Visualizing in 3D

Since there are two inputs and one output, we need to draw a 3D graph of what’s going on.

  • Petal Width and Sepal Width each get an axis (X and Z).
  • The output, Setosa, gets the vertical axis (Y).

The inputs are scaled between 0 and 1 to keep things simple...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help