Yesterday, there were no new commits to the svn repository.
Name:
Anonymous
2014-08-19 20:40
This is an unacceptably low level of activity.
You will improve your daily KLOC count immediately or disciplinary action will be taken.
Name:
Anonymous
2014-08-19 22:05
I have 0 LOC
Name:
Anonymous
2014-08-19 22:24
sloc my anus
Name:
Anonymous
2014-08-20 0:36
I'm scared /prog/ will bully me for my programs, which are all buggy, incomplete machine learning things or sepples stuff.
Name:
Anonymous
2014-08-20 0:39
I'm reading how to make a git converter factory factory.
Name:
Anonymous
2014-08-20 3:21
Yesterday, there were no new cummings in my anus.
This is an unacceptably low level of activity.
You will improve your daily CIMA count immediately or disciplinary action will be taken.
Name:
Anonymous
2014-08-20 5:56
I'm not a NEET. I'll upload something most weekends. I'm a weekend submitter.
Name:
sage
2014-08-21 1:30
cout << "I just improved my KLOC by 0.001" << endl;
Name:
Anonymous
2014-08-21 6:23
function xL_cluster(data, centers, iter)
n = size(data, 1);
m = size(data, 2);
x = randperm(n);
cents = data[x[1:centers],:];
tempdata = zeros(size(data,1), size(data,2));
tempvec = zeros(n,1);
dist = zeros(n,1);
dnow = ones(n, 1) * 500;
inow = zeros(n,1);
indexvec = [1:n];
for(counti = 1:iter)
for(countc = 1:centers)
tempvec[:] = countc;
tempdata = cents[tempvec[:], :];
subdata = data .- tempdata;
dist = sum(subdata .^ 2, 2);
ivec = dnow .> dist;
dnow[ivec] = dist[ivec];
inow[ivec] = countc;
xvec = inow .== countc;
dnow[xvec] = dist[xvec];
xindex = logic2index(xvec);
datax = data[xindex,:];
cents[countc,:] = mean(datax, 1);
end;
end;
return cents;
end;
function logic2index(logvec)
n = sum(logvec .== true);
i = zeros(n,1);
j=0;
##println("length $n")
for (iter = 1:size(logvec,1) )
if(logvec[iter] == true)
j = j+1;
i[j] = iter;
##println("$iter $j");
end;
end;
return int(i[:]);
end;
Newer Posts