gli.task

gli.task module.

The gli.task module contains task classes allowed by GLI and utilities for loading them during runtime. Directly using the classes in this module is still experimental. Users are encouraged to use the gli.task.read_gli_task() to load tasks from files instead.

See details of GLI file-based task format in GLI Data and Task File Formats.

Base Class

GLITask

The basic GLI task class for creating graph learning tasks.

Utility Function

read_gli_task

Read a local GLI task file and return a task object.

Available Tasks

NodeClassificationTask

Node classification task, alias.

NodeRegressionTask

Node regression task, alias.

GraphClassificationTask

Graph classification task, alias.

GraphRegressionTask

Graph regression task, alias.

LinkPredictionTask

Link prediction task.

TimeDependentLinkPredictionTask

Time dependent link prediction task.

KGEntityPredictionTask

Knowledge graph entity prediction task.

KGRelationPredictionTask

Knowledge graph relation prediction task.