It looks like we missed the unary minus operator when adding operators to the Deedle framework! Along with the unary minus, the rest actually works already.
So you can just change -log(...)to -1.0 * log(...):
let minusLogOfOneLess (x:Frame<_, _>) = -1.0 * (log (1.0 - x))
frame [ "A" => series [1=>0.5; 2=>0.4]]
|> minusLogOfOneLess
source
share