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

Machine Learning Workflow

Data cleaning Missing data Outlier Others: duplicates, typos, special characters Strategy for missing data: imputation, mean, median...