parameters: ()
return_statement: return reader
docstring: UCI_HOUSING training set creator.
  
      It returns a reader creator, each sample in the reader is features after
      normalization and price number.
  
      :return: Training reader creator
      :rtype: callable
docstring_summary: UCI_HOUSING training set creator.
docstring_tokens: UCI_HOUSING training set creator .
function: def train():
      """
      UCI_HOUSING training set creator.
  
      It returns a reader creator, each sample in the reader is features after
      normalization and price number.
  
      :return: Training reader creator
      :rtype: callable
      """
      global UCI_TRAIN_DATA
      load_data(paddle.dataset.common.download(URL, 'uci_housing', MD5))
  
      def reader():
          for d in UCI_TRAIN_DATA:
              yield d[:-1], d[-1:]
  
      return reader
function_tokens: def train ( ) : global UCI_TRAIN_DATA load_data ( paddle . dataset . common . download ( URL , 'uci_housing' , MD5 ) ) def reader ( ) : for d in UCI_TRAIN_DATA : yield d [ : - 1 ] , d [ - 1 : ] return reader