title: How to train a Keras sequential model without target data?
body: <p>I'm trying to use Keras to build a 1Dconvolution model for timeseries data. However, in this instance, I would like to use a Reinforcement Learning method. In this way, I do not need a target data because I use a custom loss function to calculate the loss based on the previous step's output. Then the optimizer will work on minimizing the custom loss.</p>
  
  <p>In my scenario, the epochs batch_size are equal to 1, the gradient will be backpropagated immediately after each sample input.</p>
  
  <p>Problem: model.fit() in Keras requires input and target output to calculate the loss and gradient, How can I skip target value and just feed in the input data and receive the output to pass to my loss function?</p>
  
  <p>Thank you</p>