added a simple script to learn a color model