Reinforcement Learning, Artificial Intelligence, Machine Learning, Data Science, Statistics.
state is picked up from the contructor. if x_t_1[1]<6: d_t = self.demand(x_t_1[1]+1) else: d_t = self.demand(0) obs2 = self.transition(obs, a_t_1, d_t) #next_state reward = self.reward(x_t_1[0], a_t_1, d_t) return obs2, reward def reset(self): return self.state Greedy episode def