Limit in covariance matrix library?
Is it possible to have a source code to reproduce the issue ?
Alain Verleyen #:
Is it possible to have a source code to reproduce the issue ?
Is it possible to have a source code to reproduce the issue ?
yes
int OnInit() { EventSetMillisecondTimer(44); return(INIT_SUCCEEDED); } void OnTimer(){ EventKillTimer(); matrix original; //original.Init(160,10);//works original.Init(16000,1000);//fails for(int r=0;r<original.Rows();r++){ for(int c=0;c<original.Cols();c++){ original[r][c]=((double)MathRand())/((double)32767.0); } } Print("Values filled"); matrix covariance_matrix=original.Cov(false); Print("DONE"); ExpertRemove(); } void OnDeinit(const int reason) { } void OnTick() { }
Is there a size limit on the covariance matrix library ?
948 features x 16000 samples