<commit_before># pygta5
Explorations of Using Python to play Grand Theft Auto 5.

Pull requests welcome.

As time goes on, I will edit this with more useful information. 

The plan is to separate out the tutorial videos and "most up-to-date version." For now, I'm just exploring our possibilities of what we can actually do with Python and GTA V.

The files with "part" in them are from specific tutorials. 

The actual main files here are:

main.py - runs the program
directkeys.py - handles key inputs
draw_lanes.py - finds the two "most likely" lanes out of all of the lines.<commit_msg>More useful info.<commit_after># pygta5
Explorations of Using Python to play Grand Theft Auto 5.

Pull requests welcome. At the moment, we mostly need PID control. If you know how to help us there, please do!

Currently, to use the latest version of this AI, you will need to run first "create_training_data.py," then balance this data with "balance_Data.py."

Do this for as many files/training samples as you wish. I suggest 100K+ after balancing, but the more the merrier.

Next, Train the model with train_model.py.

Finally, use it with tesT_model.py. 
{'fraction_non_alphanumeric': 0.05318221447253706, 'fraction_numerical': 0.006102877070619006, 'mean_word_length': 4.035087719298246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '692244', 'n_tokens_mistral': 334, 'n_tokens_neox': 316, 'n_words': 182}