Releases: matlab-deep-learning/constrained-deep-learning
Monotonic Battery State of Charge Example
New example "Battery State of Charge Estimation Using Monotonic Neural Networks" added in BatteryStateOfChargeEstimationUsingMonotonicNeuralNetworks.md
This example shows how to train two monotonic neural networks to estimate the state of charge (SOC) of a battery, one to model the charging behavior, and one to model the discharging behavior. In this example, you train the networks to predict the rate of change of the state of charge and force the output to be positive or negative for the charging and discharging networks, respectively. This way, you enforce monotonicity of the battery state of charge by constraining its derivative to be positive or negative.
Fully Input Convex CNNs Example
The convex image classification example, TrainICNNOnCIFAR10Example.md
, has been updated. The example now uses the convolutional architecture built by buildConvexCNN
, instead of the fully-connected architecture from buildConstrainedNetwork
.
Fully Input Convex CNNs
The function buildConvexCNN
adds the capability to build fully input convex convolutional neural networks. The function trainConstrainedNetwork
has been updated to facilitate training these networks.
More Flexible Convex MLPs
-
The convex architecture produced by the
buildConstrainedNetwork
function has been modified. The positivity constraint on the weights of the skip connections has been removed, as it was unnecessary for maintaining convexity. -
The
PositiveNonDecreasingActivationFunction
name-value argument in thebuildConstrainedNetwork
function has been renamed toConvexNonDecreasingActivation
.
Initial Release
This initial release of the Constrained Deep Learning repository includes examples that demonstrate how to design and train multi-layer perceptions (MLPs) under the following constraints:
- Convexity
- Monotonicity
- Lipschitz Continuity
For further details, please refer to the README.