parameters: (data_path=None)
return_statement: return load_csv_with_header(
        data_path,
        target_dtype=np.int,
        features_dtype=np.float)
docstring: Load Iris dataset.
  
    Args:
        data_path: string, path to iris dataset (optional)
  
    Returns:
      Dataset object containing data in-memory.
docstring_summary: Load Iris dataset.
docstring_tokens: Load Iris dataset .
function: def load_iris(data_path=None):
    """Load Iris dataset.
  
    Args:
        data_path: string, path to iris dataset (optional)
  
    Returns:
      Dataset object containing data in-memory.
    """
    if data_path is None:
      module_path = path.dirname(__file__)
      data_path = path.join(module_path, 'data', 'iris.csv')
    return load_csv_with_header(
        data_path,
        target_dtype=np.int,
        features_dtype=np.float)
function_tokens: def load_iris ( data_path = None ) : if data_path is None : module_path = path . dirname ( __file__ ) data_path = path . join ( module_path , 'data' , 'iris.csv' ) return load_csv_with_header ( data_path , target_dtype = np . int , features_dtype = np . float )