StevenReitsma / kaggle-national-data-science-bowl

National Data Science Bowl competition entry for the Best Whale Wow team of the Radboud University Nijmegen. We ended 68th.
1 stars 0 forks source link

Kmeans #11

Closed LucNies closed 9 years ago

LucNies commented 9 years ago

Implementation of kmeans for unsupervised feature learning

StevenReitsma commented 9 years ago

Look at your IDE's whitespace settings, cause they're doing something weird to some of the files. For Python it's better to use tabs instead of spaces for indentation anyway.

Oh and you should set your Git username and email to the same as you have on GitHub to have it link the commits to your account.

StevenReitsma commented 9 years ago

Oh by the way, @Lucivius, the n_iter as implemented right now in the MiniBatchKMeans doesn't work, so you should do this manually. A simple for loop that loops through the iteration count, placed around the for loop that loops through the batches should suffice.

LucNies commented 9 years ago

Oh yeah you said that yesterday. I'll change it late one (let's see how this works first). And i'll take a look at the white space settings. I'm using tabs though, but i did have some problems earlier when working in a file i made in notepad++

gzuidhof commented 9 years ago

It doesn't work without manually creating data/centroidskmeans folder, perhaps you could create this if it doesn't exist yet?

StevenReitsma commented 9 years ago

Alternatively just add the empty folder to the Git repo to keep the code clean.