neuralnet() — Neural networks

Stacks simple bending units into a flexible function.

neuralnet(hidden_units, X, y)

Key idea

Definition

a hidden unit
the activation that bends the input
weights learned by gradient descent

In plain words

Take a bunch of simple curved building blocks, slide and stretch each one, and stack them until they trace any shape you like.

Where you'd use it

Frequently asked questions

Do I need to scale the inputs?
Yes — and you usually need plenty of data; small sets overfit badly.