PIP Neural Networks
Classes
A standard Multi-Layer Perceptron (MLP) module. |
|
Neural Network model that uses PIPs as input features. |
- class molpipx.pipnn_flax.MLP(*args, **kwargs)[source]
Bases:
ModuleA standard Multi-Layer Perceptron (MLP) module.
- Variables:
features (Tuple[int]) – A tuple defining the number of neurons in each hidden layer.
act_fun (Callable) – The activation function applied after each hidden layer. Defaults to
nn.tanh.
- class molpipx.pipnn_flax.PIPNN(*args, **kwargs)[source]
Bases:
ModuleNeural Network model that uses PIPs as input features.
- Variables:
f_mono (Callable) – Function that returns the monomials.
f_poly (Callable) – Function that returns the polynomials.
features (Tuple[int]) – A tuple defining the number of neurons in each hidden layer of the MLP.
l (float) – Initial value of the Morse variables length scale parameter.
act_fun (Callable) – The activation function used in the MLP. Defaults to
nn.tanh.