Compute the average value of the entries in a row of a matrix
Declaring type: MatrixUtils
Namespace: MyMediaLite.DataType
Assembly: MyMediaLite
Collapse/Expand Syntax
C#
public static double RowAverage (
        Matrix<double> matrix,
        int row
) 
Parameters
matrix
the matrix
row
the row ID
Return Value
the average