Machine Learning

I am a complete beginner. and I would like to learn how to use and apply machine learning in games, how it works, and things I can do with it. I have seen games like vehicle simulator use machine learning for their AI cop cars and I want to do a similar thing.

2 Likes

Machine learning actually does relate to AI a lot. Machine Learning basically is letting a machine access and process data without human intervention. Iâ€™m not totally sure if this is possible on Roblox yet, but I guess you could try and find a way. Seems pretty advanced to me.

2 Likes
1 Like

Iâ€™m sorry to say, but thereâ€™s no easy way of doing this, especially for a complete beginner. Not many developers have gone into depths with Machine learning so I donâ€™t believe thereâ€™s any resources that can help.

Sorry for the let down.

2 Likes

Even that example looks like it uses pathfinding and some Boolean values to check when a player is going over 50 miles per hour, and if the player is in sight of the cop car. If this is what you think machine learning is, then pathfinding is used in it. From what Iâ€™ve read, machine learning is when computers are able to take and process data all by themselves, like an AI. Now, normal NPCs in Roblox I donâ€™t believe take in data by themselves, we as the programmers have to tell an NPC what to do, and when to do it. Machine learning (I believe. Donâ€™t take anything I say as true because I just looked it up when you wrote this topic because I was interested in it) is when an AI can take data all by itself, and then do something with that data, all by itself. This probably doesnâ€™t make any sense to you, and it really doesnâ€™t make much sense to me either. I suggest searching â€śmachine learningâ€ť in your browser like I did to get some more information on this.

2 Likes

Machine learning is just 3 or 4 arrays of values (depends on construction) with stored connections in it (for each value). The connections will contain also itâ€™s weight. (neural networks)
Weights will be modified every generation to get the best result. (this is an actual part of machine learning)
Example of NN â€świringâ€ť might look like
The â€śConnection_Strengthâ€ť means weight of it.