Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'GroupCode'}) and 1 missing columns ({'Plant'}).

This happened while the csv dataset builder was generating data using

hf://datasets/azminetoushikwasi/SupplyGraph/Raw Dataset/Homogenoeus/Edges/Edges (Product Group).csv (at revision fc1b8e2d22ba5c0fb5db607a77dd823749c07284)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              node1: string
              node2: string
              GroupCode: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 599
              to
              {'Plant': Value(dtype='int64', id=None), 'node1': Value(dtype='string', id=None), 'node2': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1323, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 938, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'GroupCode'}) and 1 missing columns ({'Plant'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/azminetoushikwasi/SupplyGraph/Raw Dataset/Homogenoeus/Edges/Edges (Product Group).csv (at revision fc1b8e2d22ba5c0fb5db607a77dd823749c07284)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Plant
int64
node1
string
node2
string
1,901
ATWWP001K24P
ATN01K24P
1,903
AT5X5K
ATN01K24P
1,903
AT5X5K
MAR01K24P
1,903
AT5X5K
SE500G24P
1,903
AT5X5K
MASR025K
1,903
AT5X5K
ATN02K12P
1,903
AT5X5K
SE200G24P
1,903
AT5X5K
MAR02K12P
1,903
ATN01K24P
MAR01K24P
1,903
ATN01K24P
SE500G24P
1,903
ATN01K24P
MASR025K
1,903
ATN01K24P
ATN02K12P
1,903
ATN01K24P
SE200G24P
1,903
ATN01K24P
MAR02K12P
1,903
MAR01K24P
SE500G24P
1,903
MAR01K24P
MASR025K
1,903
MAR01K24P
ATN02K12P
1,903
MAR01K24P
SE200G24P
1,903
MAR01K24P
MAR02K12P
1,903
SE500G24P
MASR025K
1,903
SE500G24P
ATN02K12P
1,903
SE500G24P
SE200G24P
1,903
SE500G24P
MAR02K12P
1,903
MASR025K
ATN02K12P
1,903
MASR025K
SE200G24P
1,903
MASR025K
MAR02K12P
1,903
ATN02K12P
SE200G24P
1,903
ATN02K12P
MAR02K12P
1,903
SE200G24P
MAR02K12P
1,911
ATN02K12P
ATN01K24P
1,911
ATN02K12P
MAR02K12P
1,911
ATN02K12P
MAR01K24P
1,911
ATN02K12P
SE500G24P
1,911
ATN02K12P
ATWWP001K24P
1,911
ATN02K12P
MASR025K
1,911
ATN02K12P
AT5X5K
1,911
ATN02K12P
ATPA1K24P
1,911
ATN02K12P
MAP1K25P
1,911
ATN01K24P
MAR02K12P
1,911
ATN01K24P
MAR01K24P
1,911
ATN01K24P
SE500G24P
1,911
ATN01K24P
ATWWP001K24P
1,911
ATN01K24P
MASR025K
1,911
ATN01K24P
AT5X5K
1,911
ATN01K24P
ATPA1K24P
1,911
ATN01K24P
MAP1K25P
1,911
MAR02K12P
MAR01K24P
1,911
MAR02K12P
SE500G24P
1,911
MAR02K12P
ATWWP001K24P
1,911
MAR02K12P
MASR025K
1,911
MAR02K12P
AT5X5K
1,911
MAR02K12P
ATPA1K24P
1,911
MAR02K12P
MAP1K25P
1,911
MAR01K24P
SE500G24P
1,911
MAR01K24P
ATWWP001K24P
1,911
MAR01K24P
MASR025K
1,911
MAR01K24P
AT5X5K
1,911
MAR01K24P
ATPA1K24P
1,911
MAR01K24P
MAP1K25P
1,911
SE500G24P
ATWWP001K24P
1,911
SE500G24P
MASR025K
1,911
SE500G24P
AT5X5K
1,911
SE500G24P
ATPA1K24P
1,911
SE500G24P
MAP1K25P
1,911
ATWWP001K24P
MASR025K
1,911
ATWWP001K24P
AT5X5K
1,911
ATWWP001K24P
ATPA1K24P
1,911
ATWWP001K24P
MAP1K25P
1,911
MASR025K
AT5X5K
1,911
MASR025K
ATPA1K24P
1,911
MASR025K
MAP1K25P
1,911
AT5X5K
ATPA1K24P
1,911
AT5X5K
MAP1K25P
1,911
ATPA1K24P
MAP1K25P
1,912
SE500G24P
ATN01K24P
1,912
SE500G24P
ATN02K12P
1,912
SE500G24P
AT5X5K
1,912
SE500G24P
MAR01K24P
1,912
SE500G24P
ATWWP001K24P
1,912
SE500G24P
MAR02K12P
1,912
SE500G24P
MASR025K
1,912
ATN01K24P
ATN02K12P
1,912
ATN01K24P
AT5X5K
1,912
ATN01K24P
MAR01K24P
1,912
ATN01K24P
ATWWP001K24P
1,912
ATN01K24P
MAR02K12P
1,912
ATN01K24P
MASR025K
1,912
ATN02K12P
AT5X5K
1,912
ATN02K12P
MAR01K24P
1,912
ATN02K12P
ATWWP001K24P
1,912
ATN02K12P
MAR02K12P
1,912
ATN02K12P
MASR025K
1,912
AT5X5K
MAR01K24P
1,912
AT5X5K
ATWWP001K24P
1,912
AT5X5K
MAR02K12P
1,912
AT5X5K
MASR025K
1,912
MAR01K24P
ATWWP001K24P
1,912
MAR01K24P
MAR02K12P
1,912
MAR01K24P
MASR025K
1,912
ATWWP001K24P
MAR02K12P
End of preview.

SupplyGraph: A Benchmark Dataset for Supply Chain Planning using Graph Neural Networks


📌 TL;DR: This paper introduces a real-world graph dataset empowering researchers to leverage GNNs for supply chain problem-solving, enhancing production planning capabilities, with benchmark scores on six homogeneous graph tasks.


Abstract: Graph Neural Networks (GNNs) have gained traction across different domains such as transportation, bio-informatics, language processing, and computer vision. However, there is a noticeable absence of research on applying GNNs to supply chain networks. Supply chain networks are inherently graph-like in structure, making them prime candidates for applying GNN methodologies. This opens up a world of possibilities for optimizing, predicting, and solving even the most complex supply chain problems. A major setback in this approach lies in the absence of real-world benchmark datasets to facilitate the research and resolution of supply chain problems using GNNs. To address the issue, we present a real-world benchmark dataset for temporal tasks, obtained from one of the leading FMCG companies in Bangladesh, focusing on supply chain planning for production purposes. The dataset includes temporal data as node features to enable sales predictions, production planning, and the identification of factory issues. By utilizing this dataset, researchers can employ GNNs to address numerous supply chain problems, thereby advancing the field of supply chain analytics and planning.


Accepted in 4th workshop on Graphs and more Complex structures for Learning and Reasoning (GCLR Workshop), AAAI'24 (38th Annual AAAI Conference on Artificial Intelligence).



Citation:

@inproceedings{supplymap2023wasi,
      title={SupplyGraph: A Benchmark Dataset for Supply Chain Planning using Graph Neural Networks}, 
      author={Azmine Toushik Wasi and MD Shafikul Islam and Adipto Raihan Akib},
      year={2023},
      booktitle={4th workshop on Graphs and more Complex structures for Learning and Reasoning, 38th Annual AAAI Conference on Artificial Intelligence},
      url={https://github.com/CIOL-SUST/SupplyGraph/},
      doi={10.48550/arXiv.2401.15299}
}

or,
@misc{wasi2024supplygraph,
      title={SupplyGraph: A Benchmark Dataset for Supply Chain Planning using Graph Neural Networks}, 
      author={Azmine Toushik Wasi and MD Shafikul Islam and Adipto Raihan Akib},
      year={2024},
      eprint={2401.15299},
      archivePrefix={arXiv},
      primaryClass={cs.LG}
}
Downloads last month
61