Machine Learning, Artificial Neural Network.
as an input and when predicting sequences this approach is used. Following is a simple example I found on YouTube ( https://www.youtube.com/watch?v=ZzWaow1Rvho ) which is great to understand the concept. There are 2 kinds of flowers as red and blue and we have given some sample data about their