def fit_on_batch(self, xi, xv, y):
    feed_dict = {self.feat_index: xi, self.feat_value: xv, self.label: y, self.dropout_keep_deep: self.dropout_dep, self.train_phase: True}
    (loss, opt) = self.sess.run([self.loss, self.optimizer], feed_dict=feed_dict)
    return 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_deep: self.dropout_dep, self.train_phase: True}
    (loss, opt) = self.sess.run([self.loss, self.optimizer], feed_dict=feed_dict)
    return loss