Neural network on GML!
nn_create() - create neural netork, return id
nn_destroy(id) - destroy neural network
nn_add_neuron(id) - create new neuron in current network
nn_get_output(id, input_list) - launch neural network and return list with output
nn_train_train(id, train_id) - train neural network
nn_get_neuron_number(id) - return number of neurons in network
train_create() - create information for training neural networks, return train_id
train_add_input(train_id, val, val, ...) or train_add_input_list(train_id, input_list) - add input signals for training
train_add_output(train_id, val, val, ...) or train_add_output_list(train_id, output_list) - add desired signals for comparison
train_destroy(id) - destroy current train
Some examples inside.
This is simple single-layer perceptron, I hope this example will help many people to understand that neural network is easy.
( Don't forget to rate :D )