Skip to content

Torch implementation of common ML and Statistics functions

Notifications You must be signed in to change notification settings

alirezag/mlutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Utilities for Torch

Torch implementation of some commonly used statistical functions such as correlation, covariance and norms (column-wise norm of a matrix).


Author: Alireza Goudarzi
Email: [email protected]

Example:

'''

require 'mlutils'
x = torch.randn(1000,10);
y = torch.randn(1000,10);
mlutils.corr(x)   -- correlation matrix of columns of x.
mlutils.corr(x,y) -- correlation matrix betwen columns of x and y
mlutils.cov(x)  -- covariance matrix
mlutils.norm(x) -- column-wise norm of a matrix
mlutils.norm(x,p) -- l_p norm of columns of x. 

'''

About

Torch implementation of common ML and Statistics functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages