Submitted by SpigotNerd t3_11oo58v in deeplearning

Hello,

I am trying to find out how to make a RL neural network in java, probably using PPO ig? The problem is, that I am too lazy to do it myself, so I tried to find some library, but I wasn't very successful with finding some examples how to use anything. This is my first time I am trying to make a neural network in java (I've used them in other languages, but I have to use java this time), so I am a total noob in this field. So, can you recommend me some libraries? I found DL4J, but I didn't find anything about how to use ppo to train networks with it.

Thanks for any response

0

Comments

You must log in or register to comment.

stillworkin t1_jbtoisd wrote

Huh? What are you trying to build? Is your primary interest RL or building a simple NN? What task are you trying to solve? I programmed in Java daily from 2002 - 2015, then switched to Python in 2015. I'd suggest you not use Java because you can get practice w/ the same fundamentals without having to write so much verbose code.

If your goal is to learn fundamentals, I'd suggest you start w/ just numpy and no additional libraries. If you're already very comfortable w/ PyTorch, then I'd suggest using JAX.

2

SpigotNerd OP t1_jbulrzc wrote

My primary interest is RL, because I need it for my project (I don't think, that standard NN would work, because the enviroment changes so rapidly, that I can't use multiple agents, bec the results won't be comparable). I know some basics - I used TensorFlow in python for few times and I've built my own simple NN using matrix multiplication in unity few years ago. I just don't know much about RL and I don't know anything about neural networks in java, but I am trying to mod a java game and I didn't want to write the project in two languages before asking if there is some less wired solution.

1

mmeeh t1_jbwcubc wrote

oh no, not java -_-

1