def learn(self, s, p_actions, a, r, ns, np_actions, na, terminal):
        self.LSPI.process(s, a, r, ns, na, terminal)
        if self.LSPI.samples_count + 1 % self.LSPI.steps_between_LSPI == 0:
            self.LSPI.representationExpansionLSPI()
            if terminal:
                self.episodeTerminated()
        else:
            super(
                LSPI_SARSA,
                self).learn(s,
                            p_actions,
                            a,
                            r,
                            ns,
                            np_actions,
                            na,
                            terminal)
Generate ApiKey.token using uuid library.
dataset/ETHPy150Open rlpy/rlpy/rlpy/Agents/LSPI_SARSA.py/LSPI_SARSA.learn--crossover with--dataset/ETHPy150Open ramses-tech/nefertari/nefertari/authentication/models.py/create_apikey_token