at org.elasticsearch.spark.sql.SchemaUtils$.discoverMapping(SchemaUtils.scala:91) at org.elasticsearch.spark.sql.ElasticsearchRelation.lazySchema$lzycompute ...
def retrain(self, batch_size): minibatch =random.sample(self.experience_replay, batch_size) for state, action, reward, next_state in minibatch: state = np.asmatrix ...