Functions to train and analyze the accuracy of prediction algorithms using feed-forward artificial neural networks.