123456789101112131415161718192021 |
- # Generate neural network
- from lab import neural
- # Random generators
- def flat():
- return 0
- def uniform():
- # TODO
- return 0
- def gaussUnitDev():
- # TODO
- return 0
- # Network weight initialization
- def generate(activation, derivative, weightGenerator = flat):
- # TODO
- return neural.Network(activation, derivative)
|