1234567891011121314151617181920 |
- from lab import neural
- from copy import copy
- def train(inputNetwork, learnRate, epochs):
- """
- Create an improved network
- inputNetwork : the network to be trained
- epochs : the number of iterations
- return : a trained copy with improved performance
- """
- outputNetwork = copy(inputNetwork)
-
- return outputNetwork
|