Moving course1 to course1 subdir.

This commit is contained in:
2017-02-12 08:17:57 +00:00
parent f26649af32
commit 0f459c597c
143 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
function centroids = kMeansInitCentroids(X, K)
%KMEANSINITCENTROIDS This function initializes K centroids that are to be
%used in K-Means on the dataset X
% centroids = KMEANSINITCENTROIDS(X, K) returns K initial centroids to be
% used with the K-Means on the dataset X
%
% You should return this values correctly
centroids = zeros(K, size(X, 2));
% ====================== YOUR CODE HERE ======================
% Instructions: You should set centroids to randomly chosen examples from
% the dataset X
%
% =============================================================
end