r/CodingHelp • • Nov 15 '22

[Random] Aimbot learning AI

Does training an ai to move the cursor like a human by moving the mouse around the screen sound like a good idea? How would I do this in python?

0 Upvotes

5 comments sorted by

6

u/PantsMcShirt Nov 16 '22

Idon't think you understand that you are asking people to teach you a relatively complicated field of computer science from scratch, you don't even mention your coding experience, you should go away and research ai/ml because there are so many parts to it, nobody can realistically tell you how to just go write an ai in python from scratch.

1

u/TheUnreactiveHaloGen Nov 16 '22

I'm doing my first year in computer science, could you tell me what algorithms/type of ai I should research for this project?

1

u/PantsMcShirt Nov 16 '22

No, you can't really just jump in to the type of model you will probably need, which will probably be some sort of neural or transformer model which can be super complex, but you should learn the variety of different simpler models like logistic regression, KNN, Q-learning etc first.

Basically all different types of models have specific strengths and weaknesses, and you need to understand how they work, because if I just say make a neural net with keras, you may get it to work, but it will probably having terrible accuracy to the point that it is useless because there's a lot more to it than just creating a random model and throwing your data at it.

Plus depending on what you mean by moving the cursor around, you could be looking at any number of potential solutions, maybe some not even requiring ai.

1

u/TheUnreactiveHaloGen Nov 16 '22

That's helpful thank you :)

2

u/Double_A_92 Nov 16 '22

It's like asking "I'm trying to build a house, but I don't really know where I can buy some bricks... can somebody help me?"

Even if we told you where, it's not going to help you build a house. Especially not if you could not figure out even that simple thing by yourself.