FUNCTION REFERENCE

network

Neural network object created by feedforwardnet, fitnet, patternnet, cascadeforwardnet, selforgmap, narxnet, narnet or timedelaynet.

Neural network object created by feedforwardnet, fitnet, patternnet, cascadeforwardnet, selforgmap, narxnet, narnet or timedelaynet.

Syntax

net = feedforwardnet(hiddenSizes)

Syntax

y = net(x)

Holds layer sizes, weights, biases, transfer functions, data division settings and training configuration. Configure with configure(net, x, t), train with train(net, x, t), evaluate with net(x) or sim(net, x), and inspect weights with getwb and setwb.

Example

net = feedforwardnet(4); class(net)   % 'network'

Differences from MATLAB: Supports shallow feedforward, fitting, pattern-recognition, cascade-forward, self-organizing map and time-series networks; deep-learning DAG/dlnetwork layers are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.