My tiny brain cannot comprehend yet .
Could it be because the reward being below 0? I have experienced this couple of times too but due to how KNN calculates stuff based of scores, it always have to be above 0. try clamping the wins, or perhaps lower the rate of giving punishments
i fixed the that not popping up, but now it just has nil for this
local min,max = scores[best[#best]],scores[best[1]]
local range = max-min
I know why the nets[best[1]] is nil
because nets is the GenNet Folder and it has 1 array only
if the value is higher than 1 then it will return to nil
i tried print(nets[1])
and it returns āGenNet_1ā
ā¦this is exactly why I am retiring this module. I made it before I discovered dictionaries and my use of arrays here is absolutely disgusting. The user shouldnāt have to guess what they are getting when they put a bunch of numbers into a 4 dimensional array.
Quick update on the new library! Iāve finally gotten past the main roadblock of the development (LSTM backpropagation) and am speeding through the remaining portions of the libraryās features.
Currently, this is what the package structure looks like:
Yes, genetic learning is next on the list.
Iāll soon post a thread where I want any NN enthusiasts to post any features they would like to see in the module as I do not want anyone to be left out. I will link the thread here when I make it.
EDIT: I posted the thread here.
Stay safe out there.
Iām hype for the new library so I can continue my project
Iām also hyped as Iām excited about this module.
Ik Youāre Working on a new module, But I have found out how to make a successful NN without it errorāing. Iāll send the place file. It works like Jabrils NN where the Ai controls a character thatās moving forward based on its direction. (I was gonna use coroutine but I donāt know a way to kill them) I also couldāve used better code. nn.rbxl (45.9 KB)
Wow this is amazing! definitely will be useful, thank you for this resource!
Forgot to write here that the second library was released a few days ago. Doesnāt seem like people are nearly as interested anymore but if you want to check it out, go ahead.