Skip to content

Regularization is missing in Conv Layers #1

@MohamedAliRashad

Description

@MohamedAliRashad

You succeed in applying Regularization to fully connected layers like here,

self.dw = (1/m) * dZ @ self.X.T + (Lambda/m) * self.w # dw = dZ * X.T+(lambda/m) * w

but you failed in doing so in Convolution Layers, you returned the norm of the weights with zero and didn't use lambda in your backward function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions