verne.freenode.net changed the topic of #mlpack to: http://www.mlpack.org/ -- We don't respond instantly... but we will respond. Give it a few minutes. Or hours. -- Channel logs: http://www.mlpack.org/irc/
trapz has joined #mlpack
kshitijk has joined #mlpack
kshitijk has quit [Ping timeout: 244 seconds]
zoq has quit [Ping timeout: 252 seconds]
decltypeme has quit [Quit: Konversation terminated!]
decltypeme has joined #mlpack
KTL has joined #mlpack
kshitijk has joined #mlpack
govg has quit [Quit: leaving]
kshitijk has quit [Ping timeout: 252 seconds]
kshitijk has joined #mlpack
zoq has joined #mlpack
decltypeme has quit [Ping timeout: 252 seconds]
witness has joined #mlpack
KTL has quit [Ping timeout: 252 seconds]
decltypeme has joined #mlpack
KTL has joined #mlpack
trapz has quit [Quit: trapz]
trapz has joined #mlpack
KTL has quit [Quit: Leaving]
kshitijk has quit [Ping timeout: 256 seconds]
zoq has joined #mlpack
syrius has joined #mlpack
stephentu has joined #mlpack
< naywhayare>
decltypeme: thanks for pointing that out; I'll have to think about the right way to fix this
< naywhayare>
(the const requirement on MetricType::Evaluate() for k-means, that is)
< decltypeme>
great I made it const and it compiled .. do not know if being static will work also or not
< naywhayare>
if it's static, that should be fine; and if it's not, that should be fine too
< naywhayare>
internally, the KMeans class will hold a MetricType object, and will call that
kshitijk has joined #mlpack
< decltypeme>
Do you have an idea how to cluster strings? I used hammingDistance as the distance metric and just made the features ASCII of chars?
< naywhayare>
take a look at src/mlpack/core/kernels/pspectrum_string_kernel.hpp
< naywhayare>
that uses a "fake" armadillo matrix so that when Evaluate() is called, what you get is the index of the strings to be compared
< naywhayare>
so if you had some string comparison function which was a metric, you could use the same type of technique
< naywhayare>
but... string datasets with mlpack are kind of... difficult, unfortunately
KTL has joined #mlpack
witness has quit [Quit: Connection closed for inactivity]