Better HN
topnewbestaskshowjobs
Log inSign up

mkeoliya

5 karma · joined Aug 26, 2022 (4y ago) · 2 submissions

Submissions

comment 8mo ago · link · parent

This is very cool work! I have a quick follow-up: in the biomarker prediction task, what horizon (ie. how far into the future) did you set for the predictions? Prediction is hard beyond an hour, so it'd be impressive if your model handles that.

comment 4y ago · link · parent

> of course, fold right is the more general operator, as you can implement fold left in terms of fold right.

The other way works too: fold right can be implemented in terms of fold left. Here's an approach using continuations in OCaml:

  let fold_right f z xs = (List.fold_left (fun kont x -> (fun y -> kont (f x y))) Fun.id xs) z;;