Optimal Learning Theory and Approximate Optimal Learning Algorithms