Circular Mean
The circular mean function is used for analyzing directional data. It can be used to model periodic data or dealing with angular variables. The formal defintion is provided below.
where atan2
is a two-sided argument arctangent function
CircularMean(int[] calldata nums, uint[] calldata weights, uint8 precision)
returns the Circular Mean of nums with weights. Precision represents the number of decimal places and can be set between 0 and 18. It is applied to nums, weights and the output.
Under the hood, the following functions are utilized directly in the Neural client.
Last updated