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

K mean clustering sklearn best practice - Udacity Machine Learning Nanodegree Unsupervised Learning

There are three key k means clustering parameters in sklearn that you will need to pay attention to: Number of centroids, aka center of c...