Interface describing regularization function for neural networks.
You can find more information in comments below.
template<class FLOAT>
class IRegularizeFunction
{
public:
virtual FLOAT Output(const FLOAT value) = 0; // Calculate output
virtual FLOAT Derivative(const FLOAT value) = 0; // Calculate derivative value
virtual bool IsDead(const FLOAT weight, const FLOAT new_weight) = 0; // Whether weight is not used anymore
};
Namespace: | nitisa::ai |
Include: | Nitisa/Modules/AI/Regularizers.h |