Accounting for Training Data Error in Machine Learning Applied to Earth Observations