Giter Site home page Giter Site logo

lightnn's Introduction

Version Version Version Version

lightnn

The light(`light` means not many codes here) deep learning framework for study and for fun. Join us!

How to install

pip install

pip install lightnn

python install

python setup.py install

Package structure

lightnn
├── init.py
├── init.pyc
├── base
│   ├── init.py
│   ├── init.pyc
│   ├── activations.py
│   ├── activations.pyc
│   ├── initializers.py
│   ├── initializers.pyc
│   ├── losses.py
│   ├── losses.pyc
│   ├── optimizers.py
│   └── optimizers.pyc
├── examples
│   ├── NeuralNetwork.py
│   ├── init.py
│   ├── data
│   │   └── tiny_shakespeare.txt
│   ├── lm.py
│   └── mnist.py
├── layers
│   ├── init.py
│   ├── init.pyc
│   ├── convolutional.py
│   ├── convolutional.pyc
│   ├── core.py
│   ├── core.pyc
│   ├── layer.py
│   ├── layer.pyc
│   ├── pooling.py
│   ├── pooling.pyc
│   ├── recurrent.py
│   └── recurrent.pyc
├── models
│   ├── init.py
│   ├── init.pyc
│   ├── models.py
│   └── models.pyc
├── ops.py
├── ops.pyc
└── test
├── init.py
├── cnn_gradient_check.py
├── nn_gradient_check.py
├── rnn_gradient_check.py
└── test_activators.py

Modual structure

models

  • Sequential
  • Model

activations

  • identity(dense)
  • sigmoid
  • relu
  • softmax
  • tanh
  • leaky relu
  • elu
  • selu
  • thresholded relu
  • softplus
  • softsign
  • hard sigmoid

losses

  • MeanSquareLoss
  • BinaryCategoryLoss
  • LogLikelihoodLoss

initializers

  • xavier uniform initializer(glorot uniform initializer)
  • default weight initializer
  • large weight initializer
  • orthogonal initializer

optimizers

  • SGD
  • Momentum
  • RMSProp
  • Adam
  • Adagrad

layers

  • FullyConnected(Dense)
  • Conv2d
  • MaxPooling
  • AvgPooling
  • Softmax
  • Dropout
  • Flatten
  • RNN
  • LSTM
  • GRU

examples

  • MLP MNIST Classification
  • CNN MNIST Classification
  • RNN Language Model
  • LSTM Language Model
  • GRU Language Model

References

  1. Keras: a polular deep learning framework based on tensorflow and theano.
  2. NumpyDL: a simple deep learning framework with manual-grad, totally written with python and numpy.([Warning] Some errors in backward part of this project)
  3. paradox: a simple deep learning framework with symbol calculation system. Lightweight for learning and for fun. It's totally written with python and numpy.
  4. Bingtao Han's blogs: easy way to go for deep learning([Warning] Some calculation errors in RNN part).

lightnn's People

Contributors

l11x0m7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.