Closed kevmal closed 1 month ago
The signature for Seq.weightedMean is off. For example:
Seq.weightedMean
#r "nuget:FSharp.Stats" open FSharp.Stats let values = [1.0; 2.0; 3.0; 4.0; 5.0] let weights = [1.0;2.0;1.0;2.0;1.0] Seq.weightedMean weights values
Result:
val values: float list = [1.0; 2.0; 3.0; 4.0; 5.0] val weights: float list = [1.0; 2.0; 1.0; 2.0; 1.0] val it: (float -> float)
Expecting a float.
The signature for
Seq.weightedMean
is off. For example:Result:
Expecting a float.