Convenience functions
ERM implements the following utility functions.
EmpiricalRiskMinimization.matrix
— Method.Convert an n-vector to an nx1 array
EmpiricalRiskMinimization.sigm
— Method.Sigmoid function
EmpiricalRiskMinimization.findvalue
— Method.findvalue(s, lst)
: Find the first index of s
in a list lst
EmpiricalRiskMinimization.rms
— Method.compute the rms of a matrix or a vector
EmpiricalRiskMinimization.rowwise
— Method.Apply f to each row of a matrix. f should map vectors to vectors