PACE: Principal Analysis by Conditional Expectation