Validation and dimensionality reduction