Skip to content
Open navbar menu
Sign UpLog In
Profile icon

JIAN JIAN

@lij12
Repls
Community
lij12
lij12
shared a Post
4 years ago
testt
def findClosestCentres(X,mu): finds the centre in mu closest to each point in X (k, n) = mu.shape # k is number of centres (m, n) = X.shape # m
Clustering-3
Python
lij12
lij12
shared a Post
4 years ago
def plotData(X,y): plots the data points with o for the positive examples and x for the negative examples. output is saved to file graph.png fig, a
Support Vector Machines-9
Python