Skip to content

question about l2 norm in softmax_Anfany.py #1

@rainneko

Description

@rainneko

In softmax_Anfany.py line 47,
is the code l2norm = np.sum(0.5 * np.dot(self.weights.T, self.weights) / len(x))
missing the lambda for L2 norm?
since the default lambda being 0.002,
is it ought to be l2norm = np.sum(0.5 *0.002* np.dot(self.weights.T, self.weights) / len(x))?

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