AI for Everyone - How AI Models Actually Work
What will this Python code output?
training_data = ['green', 'green', 'yellow']
counts = {}
for color in training_data:
counts[color] = counts.get(color, 0) + 1
print(counts)