Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.3.0: Towards better abstraction #4

Open
3 tasks
chaosprint opened this issue Mar 30, 2022 · 0 comments
Open
3 tasks

v0.3.0: Towards better abstraction #4

chaosprint opened this issue Mar 30, 2022 · 0 comments

Comments

@chaosprint
Copy link
Owner

chaosprint commented Mar 30, 2022

  • Perhaps I should wrap all the Glicol code as some specific task, and let users run everything exactly the same as gym.
    For example:
env = rf.make("sin-perc-tunner")
observation = env.reset()
action = env.action_space.sample()
print(action)
observation, reward, done, info = env.step(action) # reward is calculated with mean squared error
plt.plot(observation) # make your own import matplotlib
print(reward, done, info)
  • On top of that, I will provide APIs for defining an env:
    rf.def_env(code, total_step, step_len, target, action_space)
  • Still, to better explain all these, the docs should include Glicol interactive editor.
@chaosprint chaosprint changed the title Better abstraction Better abstraction for 0.3 Mar 30, 2022
@chaosprint chaosprint changed the title Better abstraction for 0.3 v0.3.0: Towards better abstraction Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant