ncem.models.ModelLinear
- class ncem.models.ModelLinear(input_shapes, l2_coef: float = 0.0, l1_coef: float = 0.0, use_source_type: bool = False, use_domain: bool = False, scale_node_size: bool = False, output_layer: str = '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