gigl.src.common.modeling_task_specs.NodeClassificationModelingTaskSpec#

class gigl.src.common.modeling_task_specs.node_classification_modeling_task_spec.NodeClassificationModelingTaskSpec(is_training: bool = True, **kwargs)#

Bases: BaseTrainer, SupervisedNodeClassificationBaseInferencer

Methods

__init__

eval

infer_batch

init_model

score

setup_for_training

train

__init__(is_training: bool = True, **kwargs) None#
classmethod __init_subclass__(*args, **kwargs)#

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__subclasshook__()#

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__weakref__#

list of weak references to the object (if defined)