In the initial development of this code I was experimenting with the use of class decorators to add functionality, namely the concrete_regulariser. Coming back to this code several months later I realise that, although this works, it is not the nicest way of implementing a solution.
I would like to rework my implementation of the regularisation by making a base-class which accounts for the implementation, rather than requiring the user to wrap their model implementation with a pre-defined decorator.
In the initial development of this code I was experimenting with the use of class decorators to add functionality, namely the
concrete_regulariser. Coming back to this code several months later I realise that, although this works, it is not the nicest way of implementing a solution.I would like to rework my implementation of the regularisation by making a base-class which accounts for the implementation, rather than requiring the user to wrap their model implementation with a pre-defined decorator.