r/reinforcementlearning • • Oct 28 '24

RL solves hard problems, but also

7 Upvotes

17 comments sorted by

6

u/puppet_pals Oct 28 '24

But also: ? Explain!

-2

u/FriendlyStandard5985 Oct 28 '24

Lol the electron is learning to get to the proton

4

u/puppet_pals Oct 28 '24

That's fun. And the point is that its fun to solve a simple problem with RL?

-12

u/FriendlyStandard5985 Oct 28 '24

Yes it's annoying to hard-code such thing in my view

10

u/qu3tzalify Oct 28 '24

velocity_electron = ELECTRON_MAX_SPEED * normalize(position_proton - position_electron)

-7

u/FriendlyStandard5985 Oct 28 '24

That's it for following but this does prediction

14

u/qu3tzalify Oct 29 '24

velocity_electron = ELECTRON_MAX_SPEED * normalize((position_proton + velocity_proton * dt) - position_electron)

If you don't have the velocity of the proton, estimate it by the difference from the last position and current position.

4

u/johnsonnewman Oct 28 '24

What's the state space here

3

u/FriendlyStandard5985 Oct 28 '24

Last 16: {target_pos, player_pos}

1

u/Local_Transition946 Oct 29 '24

Is target pos the action? And whats the reqard function?

1

u/whatsinthaname Oct 28 '24

Is it following the target or just going to it?

2

u/FriendlyStandard5985 Oct 28 '24

To go to it

1

u/whatsinthaname Oct 28 '24

I would like to know more about your project, can we talk on dm?

2

u/Local_Transition946 Oct 29 '24

Wait is the gif trying to demonstrate rl lacking in some way or am i misreading the title

1

u/77de68daecd823babbb5 Oct 29 '24

What does that memetic hazard background mean?

1

u/raviwar Oct 29 '24

Kind of Predator prey mpe; increase electron by one or two. You will see the difference.

1

u/AISingularity2050 Nov 02 '24

The Red Ball needs more training to have smarter movements.