First on Chain – LSTM Neural Nets Coming to the GNY Machine Learning Wallet

Quick Takeaways:

  •  The latest two GNY on-chain contracts mimic the way the human brain operates. The second of these to be deployed will be GNY’s LSTM Neural Network.

  • The learning framework of LSTM makes it capable of learning long-term dependencies, with the ability to carry forward reasoning about previous events to inform later ones.

  • The neural net will have the ability to predict how an online retailer could more efficiently scale staffing for delivery needs, plus optimize routes, vehicle types, and options to increase the efficiency of delivery services.

  • Another potential use case concerns how a national groundwater information system could efficiently predict both the demands on water and the changing resources available to meet those needs. Extending these predictions into the future would allow the Governmental bodies to predict when shortages will occur and develop plans that can prepare individuals and businesses accordingly.

Immediately following the launch of GNY Mainnet, the GNY machine learning team will add two fresh neural nets to the ML wallet. In our previous post we detailed our soon to be released word vector neural network. Now within this latest post we will focus on our upcoming LSTM neural network and propose some hypothetical use cases where we believe it will be extremely useful. Similar to the word vector neural nets, our LSTM neural network will be a world’s first to be decentralized directly onto our blockchain.

LSTM stands for Long Short Term Memory networks. This is a special kind of recurrent neural network, capable of learning long-term dependencies.

A schematic representation of a Long Short-Term Memory (LSTM) cell

If a data sequence is long enough then traditional feed-forward neural networks can end up missing out on vital information from earlier in the ML process. As an example, imagine you want to classify what kind of weather event is happening each day in a course of a year across the Paris metropolitan area. It is not clear how a traditional neural network could use its reasoning about January’s weather events in the region to inform its classification of July’s ones.

Data sets that are best suited for LSTM feature seasonality. LSTM is capable of capturing the patterns of both long-term seasonality such as a yearly pattern and short-term seasonality such as weekly patterns. Additionally, single major events can be accounted for as they will have an expanded time impact on a system. For example- where people would book more days of accommodation in order to attend a sports event. LSTM neural networks have the ability to triage the impact patterns from different categories of events.

So LSTM models are recurrent neural networks capable of learning long-term time series dependencies, specifically tuned for series data. The different gates inside LSTM boost its capability for capturing non-linear relationships for forecasting. This is crucial because causal factors generally have non-linear impact on demand and demand predictions. When these factors are used as part of the input variable, the LSTM neural networks learn the nonlinear forecasting relationships.

To best explain the power of LSTM neural networks the GNY team selected the following two hypothetical use cases put forth by our community.

Hypothetical Client #1 – Amazon Delivery Services.

The dilemma – How can Amazon delivery optimize efficiency of delivery services.

The solution – Use GNY’s LSTM neural net to better understand delivery requirements based on different annual, seasonal, and specific date driven patterns to optimize staffing, and delivery efficiency.

How it would work – The most recent three years of delivery and general conditions data would be taken for the training dataset, and one year of data will be used for the test set. The GNY LSTM would then predict future events based on different time-scale seasonalities. With these predictions Amazon could more efficiently scale staffing for delivery needs, plus optimize routes, vehicle types, and options to increase the efficiency of delivery services.

Hypothetical Client #2 – The Australian Department of Agriculture’s NWI Groundwater Information System.

The dilemma – How can data help the Australian authorities, business, and homeowners more effectively respond to drought conditions and national water needs.

The solution – Use GNY’s LSTM neural network to better understand the multiple systems that converge in ground water systems. These include weather patterns, domestic and industrial water usage, non-weather climate events (ie. wildfires) and the efficiency of the various water delivery systems for domestic and industrials parties. The LSTM could efficiently predict both the demands on water and the changing resources available to meet those needs. Extending these predictions into the future would allow the Department of Agriculture’s NWI to predict when shortages will occur and develop plans that can prepare individuals and businesses accordingly. Better prediction of different annual, and seasonal patterns would increase preparedness and extend the amount of time available to respond meaningfully to potentially life threatening challenges.

Let us know in our Telegram chat group what you think of our potential use cases for GNY’s LSTM Neural Network. Please feel free to add your ideas for other areas you believe will benefit from this on-chain contract.

Privacy Policy

Who we are

Our website address is:


When visitors leave comments on the site we collect the data shown in the comments form, and also the visitor’s IP address and browser user agent string to help spam detection.

An anonymized string created from your email address (also called a hash) may be provided to the Gravatar service to see if you are using it. The Gravatar service privacy policy is available here: After approval of your comment, your profile picture is visible to the public in the context of your comment.


If you upload images to the website, you should avoid uploading images with embedded location data (EXIF GPS) included. Visitors to the website can download and extract any location data from images on the website.


If you leave a comment on our site you may opt-in to saving your name, email address and website in cookies. These are for your convenience so that you do not have to fill in your details again when you leave another comment. These cookies will last for one year.

If you visit our login page, we will set a temporary cookie to determine if your browser accepts cookies. This cookie contains no personal data and is discarded when you close your browser.

When you log in, we will also set up several cookies to save your login information and your screen display choices. Login cookies last for two days, and screen options cookies last for a year. If you select “Remember Me”, your login will persist for two weeks. If you log out of your account, the login cookies will be removed.

If you edit or publish an article, an additional cookie will be saved in your browser. This cookie includes no personal data and simply indicates the post ID of the article you just edited. It expires after 1 day.

Embedded content from other websites

Articles on this site may include embedded content (e.g. videos, images, articles, etc.). Embedded content from other websites behaves in the exact same way as if the visitor has visited the other website.

These websites may collect data about you, use cookies, embed additional third-party tracking, and monitor your interaction with that embedded content, including tracking your interaction with the embedded content if you have an account and are logged in to that website.

Who we share your data with

If you request a password reset, your IP address will be included in the reset email.

How long we retain your data

If you leave a comment, the comment and its metadata are retained indefinitely. This is so we can recognize and approve any follow-up comments automatically instead of holding them in a moderation queue.

For users that register on our website (if any), we also store the personal information they provide in their user profile. All users can see, edit, or delete their personal information at any time (except they cannot change their username). Website administrators can also see and edit that information.

What rights you have over your data

If you have an account on this site, or have left comments, you can request to receive an exported file of the personal data we hold about you, including any data you have provided to us. You can also request that we erase any personal data we hold about you. This does not include any data we are obliged to keep for administrative, legal, or security purposes.

Where we send your data

Visitor comments may be checked through an automated spam detection service.

GNY ERC-20 contract code:


GNY ERC-20 contract code:


This website uses cookies to ensure you get the best experience on our website. See GNY’s cookie policy for more information.