nsl.configs.GraphRegConfig

Contains the configuration for graph regularization.

neighbor_config A nsl.configs.GraphNeighborConfig instance that describes neighbor attributes for graph regularization. Defaults to nsl.configs.GraphNeighborConfig().
multiplier The multiplier or weight factor applied on the graph regularization loss term. This value has to be non-negative. Defaults to 0.01.
distance_config An instance of DistanceConfig to calculate the graph regularization loss term. Defaults to nsl.configs.DistanceConfig().

Methods

__eq__

Return self==value.

__ge__

Automatically created by attrs.

__gt__

Automatically created by attrs.

__le__

Automatically created by attrs.

__lt__

Automatically created by attrs.

__ne__

Check equality and either forward a NotImplemented or return the result negated.