Deep-ML is a free, open-source machine learning challenge platform. Practice ML coding problems, work with real datasets in labs, and learn through interactive articles.
Please enable JavaScript to use the full platform.
A model only understands numbers, but your data has a color column: red, green or blue. Write encode(color, all_colors): turn one color into a list of numbers the model can use.
encode(color, all_colors)