# demtrain

## Purpose

Demonstrate training of MLP network.

## Synopsis

    demtrain

## Description

`demtrain` brings up a simple GUI to show the training of an MLP network on classification and regression problems. The user should load in a dataset (which should be in Netlab format: see `datread`), select the output activation function, the number of cycles and hidden units and then train the network. The scaled conjugate gradient algorithm is used. A graph shows the evolution of the error: the value is shown `max(ceil(iterations / 50), 5)` cycles.

Once the network is trained, it is saved to the file `mlptrain.net`. The results can then be viewed as a confusion matrix (for classification problems) or a plot of output versus target (for regression problems).

## See Also

`confmat`, `datread`, `mlp`, `netopt`, `scg`

Pages: Index

Copyright (c) Ian T Nabney (1996-9)