morphir-elm icon indicating copy to clipboard operation
morphir-elm copied to clipboard

Morphir SDK Aggregation API Spark Transpilation - weighted averages

Open jonathanmaw opened this issue 2 years ago • 0 comments

i.e. the function Morphir.SDK.Aggregate.weightedAverageOf. Unlike the other aggregation functions, this one takes two arguments, one gets the value (like the others do), but an extra function to get the weighting.

The first part of doing this task is identifying how to do a weighted average in Spark.

jonathanmaw avatar Aug 05 '22 15:08 jonathanmaw