qfeval_functions.functions.slope

slope(x, y, dim=(), keepdim=False)[source]

Returns the slope of correlation bewteen x and y.

NOTE: This is based on calculation of slope beta at: https://en.wikipedia.org/wiki/Simple_linear_regression

Return type:

Tensor