Closed lukesonnet closed 7 years ago
Should we just warn if lastkeeper > P, and advise they set to P?
rank(XX') should be at most P anyway so setting hard cap sound be fine.
On Sun, Aug 6, 2017 at 7:22 AM, Luke Sonnet notifications@github.com wrote:
Should we just warn if lastkeeper > P, and advise they set to P?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lukesonnet/KRLS/issues/13#issuecomment-320510014, or mute the thread https://github.com/notifications/unsubscribe-auth/AFVCyJTmZHADezSJEH-X-uIi3v5C4jj3ks5sVcwpgaJpZM4OuqM8 .
Okay, this currently sets max numvectors to try to P in the linear case and nrow(X) in all other cases. If for some reason it can't capture enough variance, it errors out and says that this should never happen but you can increase epsilon if you want.
Set this in numvectors