Skip to content

Conversation

@youdongguo
Copy link
Contributor

Change the update rule of HALS to matrix multiplication. It is the same equation as the old version but the old one update W and H element by element

Copy link
Collaborator

@timholy timholy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have any objections to this change.

function CoordinateDescentState{T}(X, W, H, violation, violation_init) where T
p, n, k = nmf_checksize(X, W, H)
new{T}(W * H,
new{T}(W * H,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line has trailing whitespace that would ideally be deleted. See https://bobbyhadz.com/blog/remove-trailing-whitespace-vscode for instructions about doing this automatically in vscode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants