code: def load_amazon():
      
  
      dataset_path = _load('amazon')
  
      X = _load_csv(dataset_path, 'data')
      y = X.pop('label').values
  
      graph = nx.Graph(nx.read_gml(os.path.join(dataset_path, 'graph.gml')))
  
      return Dataset(load_amazon.__doc__, X, y, normalized_mutual_info_score, graph=graph)
docs: Amazon product co-purchasing network and ground-truth communities.
  
      Network was collected by crawling Amazon website. It is based on Customers Who Bought
      This Item Also Bought feature of the Amazon website. If a product i is frequently
      co-purchased with product j, the graph contains an undirected edge from i to j.
      Each product category provided by Amazon defines each ground-truth community.