You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it necessary to reorder the adjacency matrix like in the third line of the function bLP (i.e., x <- x[sample(c(1:NROW(x))),sample(c(1:NCOL(x)))]) or at all?
I already get classic cannot allocate vector of size errors at that stage with large-ish datasets.
The text was updated successfully, but these errors were encountered:
That's a good question. I think it is because Liu & Murata have a paragraph on the paper about random order for LP to avoid resonance/priority effect, which is most likely why I added this line (but I wrote that in early 2011, so I can't guarantee anything about my motivations).
Let me push some code that would (perhaps) allow to keep this in place.
1. If memory is an issue (see #2), then sparse matrices should be better. I
tested with a 100x100 matrix with 100 ones.
2. I replaced snow/snowfall by doMC and plyr. This will make it easier
to run the analysis on clusters. There is an example at the end.
Is it necessary to reorder the adjacency matrix like in the third line of the function bLP (i.e.,
x <- x[sample(c(1:NROW(x))),sample(c(1:NCOL(x)))]
) or at all?I already get classic
cannot allocate vector of size
errors at that stage with large-ish datasets.The text was updated successfully, but these errors were encountered: