train script for POSIX
remove the model file; user should run train.bat or train.sh first