Closed youngser closed 10 years ago
Why don't you add it yourself?
We can. It is just that there is a slight issue of the discrepancy between the representations in igraph and the current representation as matrices in our oos code, so we don't know how you want to handle it.
However, I will just use the implicit representation that a rectangular "submatrix" of a graph is a rectangular matrix in the function definition then.
Gabor, Could you please add this Minh's "oos" function to igraph? Note that he used the latest git clone (0.7.0-pre). For the earlier version than this, you have to uncomment the line of
## Xhat.insample <- Xhat.insample$V %*% diag(sqrt(Xhat.insample$D))
Thanks,