On Sun, Apr 14, 2013 at 9:10 AM, Samuel Tardieu <s...@rfc1149.net> wrote: > > > > 2013/4/14 Boyko Bantchev <boyk...@gmail.com> >> >> On 14 April 2013 15:03, Samuel Tardieu <s...@rfc1149.net> wrote: >> > If you start with a sequence of length 6, how do you split it into 4 >> > slices? >> > 1 1 1 3? 2 2 2 0? 3 2 1 0? >> >> I would think of 2 2 1 1, which is monotonically non-increasing and >> has minimal variation. > > > My point was that there isn't a one-suits-them-all solution for grouping an > arbitrary sized sequence into a fixed number of slices.
Yeah, good point. Say we limit the input to sequences of length n^2. Then there should be a one-suits-them-all solution. Just not sure what it is. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk