added training.stats.py