Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TGCCA #87

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix primal dual reporting
  • Loading branch information
GFabien committed Dec 14, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
sirtoobii Tobias Bossert
commit 779fcd6b0ccab435ad134c1b308bb9511b57afa4
2 changes: 1 addition & 1 deletion R/rgcca_outer_loop.R
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ rgcca_outer_loop <- function(blocks, connection = 1 - diag(length(blocks)),
primal_dual <- matrix("primal", nrow = N + 1, ncol = J)
primal_dual[which((sparsity == 1) & (nb_ind < matrix(
pjs, nrow = N + 1, ncol = J, byrow = TRUE
)))]
)))] <- "dual"

##### Computation of RGCCA components #####
for (n in seq(N + 1)) {