Algebraic Geometry and Statistical Learning Theory