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