title: How to create amazon forecast?
body: <p>I am trying to create an amazon forecast that will predict the log-out time of a user based on the log-in time and based on log-in and log-out history of the users. My purpose is that by sending the user_id and log-in time i will be able to get the predicted log-out time. I have tried to create a dataset of all the logs for all the users, and each time a user logged in I assigned to it the value 1, and for each log-out I assigned 0.
  <a href="https://i.stack.imgur.com/Iqe8c.png" rel="nofollow noreferrer">I expect my graph to look something like this</a>.
  I have tried to create some predictions with amazon forecast but none of them gave me the right outcome.
  I would like to hear some advice on how to do something like that. Maybe I can do it without amazon and use an existing algorithm.</p>