Skip to content

Commit

Permalink
Merge branch 'branch-23.10' of github.com:rapidsai/cugraph into fea/d…
Browse files Browse the repository at this point in the history
…evcontainers
  • Loading branch information
trxcllnt committed Sep 21, 2023
2 parents 98a4d07 + a7047e3 commit 2eb38f4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/cugraph/cugraph/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
meta_path = Path(__file__).parent / "metadata"

cyber = Dataset(meta_path / "cyber.yaml")
dining_prefs = Dataset(meta_path / "dining_prefs.yaml")
dolphins = Dataset(meta_path / "dolphins.yaml")
email_Eu_core = Dataset(meta_path / "email_Eu_core.yaml")
karate = Dataset(meta_path / "karate.yaml")
Expand Down
23 changes: 23 additions & 0 deletions python/cugraph/cugraph/datasets/metadata/dining_prefs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: dining_prefs
file_type: .csv
description: Classic social networking dataset describes dining preferences for a dormitory in New York state.
author: J.L. Moreno
refs:
J. L. Moreno (1960). The Sociometry Reader. The Free Press, Glencoe, Illinois, pg.35
delim: " "
header: None
col_names:
- src
- dst
- wgt
col_types:
- string
- string
- int
has_loop: false
is_directed: false
is_multigraph: false
is_symmetric: true
number_of_edges: 42
number_of_nodes: 26
url: https://data.rapids.ai/cugraph/datasets/dining_prefs.csv
3 changes: 3 additions & 0 deletions python/cugraph/cugraph/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
)
from cugraph.datasets import (
cyber,
dining_prefs,
dolphins,
karate,
karate_disjoint,
Expand All @@ -42,6 +43,7 @@
UNDIRECTED_DATASETS = [karate, dolphins]
SMALL_DATASETS = [karate, dolphins, polbooks]
WEIGHTED_DATASETS = [
dining_prefs,
dolphins,
karate,
karate_disjoint,
Expand All @@ -51,6 +53,7 @@
small_tree,
]
ALL_DATASETS = [
dining_prefs,
dolphins,
karate,
karate_disjoint,
Expand Down

0 comments on commit 2eb38f4

Please sign in to comment.