Just another Perl shrine | |
PerlMonks |
Re: How best to fill missing values in a sparse matrix?by BrowserUk (Patriarch) |
on Mar 22, 2011 at 05:34 UTC ( [id://894710]=note: print w/replies, xml ) | Need Help?? |
The missing values are filled importantly from the next good value in a column. Following that criteria, your output for the sample input should be:
Which is quite different from the sample output you've provided? Ie:
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|