Generate a matrix then add a calculated column based on first column of matrix
Andres Fernandez <[email protected]>
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
Good night community, how can I achieve the following using Scala: a. generate random number mxn matrix (0 to 1) b. Add another column and segment the first column of the matrix created into 3 cohorts as A, B,C with cutting points on 1/3, 2/3. c. Use mapreduce functions to get stats from each segment (percentile, mean, count) Thanks in advance for this platform and the community. Andr'es -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.