CONSTRUCT HAM TRAINING DATA