GestureLearnerStartTraining Method |
Namespace: RavingBots.MagicGestures.AI
public bool StartTraining( SpellData[] spells )
Important |
---|
The training process is asynchronous. This method will not block until the training is complete. |
This method creates a new neural network and trains it using the _backpropagation object. The network instance is assigned to _trainedMLP and is not used for recognition until the training completes.
Note that spells must contain all known spells, not just the most recently configured one, because a fresh network is being created every time this method is called.