acfr / RobustNeuralNetworks.jl

A Julia package for robust neural networks.
https://acfr.github.io/RobustNeuralNetworks.jl/
MIT License
49 stars 2 forks source link

Initialisation with `:cholesky` sometimes fails #81

Open nic-barbara opened 1 year ago

nic-barbara commented 1 year ago

When initialising DirectRENParams with the :cholesky option, an error sometimes occurs in the construction of H. Need a better method for initialisation.

nic-barbara commented 1 year ago

The change to the :cholesky initialisation in https://github.com/acfr/RobustNeuralNetworks.jl/pull/103 should make this error less frequent. Still not a perfect fix, we should add some logic to check a valid H-matrix is constructed.