Coder Social home page Coder Social logo

Data Brewery

Long short-term memory (LSTM) unit is a building unit for layers of a recurrent neural network (RNN). A RNN composed of LSTM units is often called an LSTM network. A common LSTM unit is composed of a cell, an input gate, an output gate and a forget gate. The cell is responsible for "remembering" values over arbitrary time intervals; hence the word "memory" in LSTM. Each of the three gates can be thought of as a "conventional" artificial neuron, as in a multi-layer (or feedforward) neural network.

An LSTM is well-suited to classify, process and predict time series given time lags of unknown size and duration between important events. LSTMs were developed to deal with the exploding and vanishing gradient problem when training traditional RNNs. Source: Medium.

Components of LSTMs

  • Forget Gate “f” ( a neural network with sigmoid)

  • Candidate layer “C"(a NN with Tanh)

  • Input Gate “I” ( a NN with sigmoid )

  • Output Gate “O”( a NN with sigmoid)

  • Hidden state “H” ( a vector )

  • Memory state “C” ( a vector)

  • Inputs to the LSTM cell at any step are Xt (current input) , Ht-1 (previous hidden state ) and Ct-1 (previous memory state).

  • Outputs from the LSTM cell are Ht (current hidden state ) and Ct (current memory state)

ling-jun's Projects

ccxt icon ccxt

A JavaScript / Python / PHP cryptocurrency trading API with support for more than 120 bitcoin/altcoin exchanges

flask icon flask

The Python micro framework for building web applications.

flask-ml-azure-serverless icon flask-ml-azure-serverless

This project builds a Continuous Integration pipeline using GitHub Actions, and a Continuous Delivery pipeline using Azure Pipelines for a Machine Learning Application.

ml-cicd-githubactions icon ml-cicd-githubactions

You can automate the process of building, testing, delivering, or deploying your Machine Learning models into production using GitHub Actions

mlflow icon mlflow

Open source platform for the machine learning lifecycle

python-3d-analysis-libraries icon python-3d-analysis-libraries

Repository for the code used in the Medium articles about Python libraries for 3D analysis, visualization and manipulation of point clouds and meshes

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.