Principal Analysis by Conditional Expectation