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