To draw a graph representing your class training datasets, you need to download the script from the following link or just copy the following text into a text file, save it as "train.sh" and then give execution access to it via the "chmod +x mac.train.sh" command.

download script for Mac: "mac.train.sh" ...
download script for Linux: "linux.train.sh" ...

The command works on Mac OS X and Linux having IPv4. To use it on IPv6 or Windows systems, you may need to apply some modifications.