Re multiple return values, you can write (call-with-values (λ () (values 1
2 3)) list)

Because this problem bugs me, I've also written a package adjutor that
includes values->list, list->values, and for/fold/define:
http://docs.racket-lang.org/adjutor/index.html

-Philip

On Wed, Jul 26, 2017 at 3:00 AM, Daniel Prager <daniel.a.pra...@gmail.com>
wrote:

> Actually, I only use multiple values because that's what for/fold returns.
>
> Is there a way to convert from values to a list without going through
> define-values or similar?
>
> Dan
>
>
> On 26 Jul. 2017 09:40, "Zelphir Kaltstahl" <zelphirkaltst...@gmail.com>
> wrote:
>
> I've come to the conclusion, that not assuming binary classification makes
> no sense, since every n-class classification problem can be split into n
> binary classification problems.
>
> When assuming classes 0 and 1, the performance increases and I get to:
>
> cpu time: 608 real time: 605 gc time: 68
>
> For finding the best split.
>
> Daniel's solution makes use of multiple return values, which were new to
> me. I am using a struct for this, which might be unnecessary and later
> removed in favor of returning multiple values like in Daniel's solution.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to