python:实现Sarsa算法(附完整源码)

python:实现Sarsa算法

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import time

ALPHA = 0.1
GAMMA = 0.95
EPSILION = 0.9
N_STATE = 6
ACTIONS = ['left'

你可能感兴趣的:(python算法完整教程,python,算法)