ncem.models.ModelLinear
- class ncem.models.ModelLinear(input_shapes, l2_coef=0.0, l1_coef=0.0, use_source_type=False, use_domain=False, scale_node_size=False, output_layer='linear', **kwargs)[source]
Model class for linear model, baseline and spatial model.
- Attributes:
args (dict): training_model:
- Raises:
ValueError: If output_layer is not recognized.
Methods
- Parameters
l2_coef (float) –
l1_coef (float) –
use_source_type (bool) –
use_domain (bool) –
scale_node_size (bool) –
output_layer (str) –