Learning the Hypotheses Space from data Part I: Learning Space and U-curve Property