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__

Method generated by attrs for class GraphRegConfig.

__ge__

Method generated by attrs for class GraphRegConfig.

__gt__

Method generated by attrs for class GraphRegConfig.

__le__

Method generated by attrs for class GraphRegConfig.

__lt__

Method generated by attrs for class GraphRegConfig.

__ne__

Method generated by attrs for class GraphRegConfig.