Skip to content
Sign upLog in
Profile icon

JIAN JIAN

@lij12
Repls
Community
lij12
lij12
shared a Post
3 years ago
2
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
3 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