Principle of Learning Metrics for Data Analysis