Module ml4opf.models.e2elr

Sub-modules

ml4opf.models.e2elr.e2elr

Classes

class EDE2ELRNeuralNet (config: dict,
problem: OPFProblem)

A basic feed-forward neural network.

Args

config : dict
Dictionary containing the model configuration.

optimizer (str): Optimizer. Supported: "adam", "adamw", "sgd".

loss (str): Loss function. Supported: "mse", "l1".

hidden_sizes (list[int]): List of hidden layer sizes.

activation (str): Activation function. Supported: "relu", "tanh", "sigmoid".

boundrepair (str): Bound clipping method. Supported: "none", "relu", "clamp", "sigmoid".

learning_rate (float): Learning rate.

problem : OPFProblem
The OPFProblem object.

Ancestors

Class variables

var modelEDE2ELRNN

Inherited members