项目作者: AhmetHamzaEmra

项目描述 :
My Deep learning Module
高级语言: Python
项目地址: git://github.com/AhmetHamzaEmra/Something.git
创建时间: 2017-11-20T04:20:07Z
项目社区:https://github.com/AhmetHamzaEmra/Something

开源协议:MIT License

下载


Something

Machine Learning Module

  • Machine Learning and Deep learning algorithms written with python and numpy.
  • Perfect for every environment including Raspberry Pi

Example

  1. import numpy as np
  2. from something.train import train
  3. from something.nn import NeuralNet
  4. from something.layers import Linear, Tanh
  5. from something.datasets import get_xor
  6. # Load the dataset
  7. inputs, targets = get_xor()
  8. net = NeuralNet([
  9. Linear(input_size=2, output_size=2),
  10. Tanh(),
  11. Linear(input_size=2, output_size=2)
  12. ])
  13. train(net, inputs, targets)
  14. for x, y in zip(inputs, targets):
  15. predicted = net.forward(x)
  16. print(x, predicted, y)

Stay tuned! Nothing is also coming :D

References

CS231n: Convolutional Neural Networks for Visual Recognition

Coursera Neural Networks and Deep Learning