def fit_on_batch(self, Xi, Xv, y):
    feed_dict = {self.feat_index: Xi, self.feat_value: Xv, self.label: y, self.dropout_keep_fm: self.dropout_fm, self.dropout_keep_deep: self.dropout_deep, self.train_phase: True}
    (out, loss, opt) = self.sess.run((self.out, self.loss, self.optimizer), feed_dict=feed_dict)
    return (out, loss)
def fit_on_batch(self, Xi, Xv, y):
    feed_dict = {self.feat_index: Xi, self.feat_value: Xv, self.label: y, self.dropout_keep_fm: self.dropout_fm, self.dropout_keep_deep: self.dropout_deep, self.train_phase: True}
    (out, loss, opt) = self.sess.run((self.out, self.loss, self.optimizer), feed_dict=feed_dict)
    return (out, loss)