train and score in same cell