A missing data approach to validate nonlinear PCA