Train model script in python!