Ad

Friday, January 20, 2017

Machine Learning code pattern 01

Code pattern 01 numpy use array().T to get matrix transpose

Example:

X = [1,2,3]
XT = array(X).T


No comments:

Post a Comment

Visualize tensors - Machine Learning Deep Learning Cheat Sheet

Tensors are the basic units of deep learning frameworks, neural networks functions calculations. A one dimensional tensor is like a list of ...