Skip to content

KevinKelley/banned-license-plates

 
 

Repository files navigation

Banned license plates generator

This R code uses Keras to train a neural network on license plates that were banned by the Arizona Department of Transportation. It was my attempt at using neural networks to make something funny like the AI trained on band names, video game titles, and pokemon.

The code is based heavily on the RStudio text generation example.

The license plate corpus comes from a google search and is included in the repository, however I have a Public Records Request out for more recent data from the state.

The code is broken into three files:

  1. load_data_functions.R - this file has the functions that handle loading and formatting the data
  2. model_functions.R - this file has the functions that make the model and generate the license plates
  3. run_model.R - this script actually runs all the functions and generates a data frame of license plates

To run the code, first make sure your have keras and tensorflow installed on your computer. You can use the Rstudio guide to do this.

About

Using R and Keras to generate banned license plates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%