RelationalDatasets.jl

Overview

RelationalDatasets.jl: A library to load benchmark datasets for relational learning—but in Julia.

GitHub release (latest by date) GitHub codecov Ubuntu/macOS/Windows


Basic Usage

The main use is loading training and test folds. For example, we could load fold 2 of webkb:

1
2
3
using RelationalDatasets

train, test = load("webkb", fold=2)

It also tries to help bridge the gap with vector-structured data by providing methods to convert standard datasets:

1
2
3
4
5
6
using RelationalDatasets

data, modes = RelationalDatasets.from_vector(
  [0 1 1; 1 0 2; 2 2 0],
  [0, 0, 1],
)

Installation

The latest stable version can be installed with Pkg:

] add RelationalDatasets