naywhayare 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/
< sumedh__>
first result is produced in about 324 iterations...
< sumedh__>
second goes beyond 2000...
< naywhayare>
add math::RandomSeed(0) before each call to amf.Apply(), so that the random initialization returns the same points
< sumedh__>
okay... lets check..
< sumedh__>
yup... worked like a charm...
< sumedh__>
So the problem is in RandomInitialization...
< naywhayare>
no, it's not a problem -- it's random initialization
< naywhayare>
so it's possible you will sometimes get good initial positions and sometimes bad ones
< sumedh__>
yes... but everytime the first one is good and second one is bad??
< sumedh__>
at least there should be some randomness...
< naywhayare>
that's because when your program is compiled, the random seed is set statically and it's the same every time you run the program
< naywhayare>
you could add math::RandomSeed(std::time(NULL)) (or something like that) at the beginning of the program to ensure that the random seed is different every time the program is called
< sumedh__>
with time seed I am getting way better results...
< sumedh__>
avg around 5.0*e-11....
< naywhayare>
yeah; you will probably get some random spurious results where the initialization was very bad
< naywhayare>
but they will probably be fairly uncommon
< sumedh__>
yes... Thats why I computed average its around 5... wait if you will be free in like 15 mins I will give you a detailed results :)
< marcus_zoq>
sumedh__: Btw, I've set the correct header for your blog post, so that we actually see the post :)
< sumedh__>
Ohh sorry... what did I do wrong??
< naywhayare>
sumedh__: I'll still be here for probably two more hours before dinner, so I'm happy to look at results when you get them
< naywhayare>
I added a link to the gsoc blog on the mlpack homepage
< naywhayare>
the homepage is getting cluttered... lots of links. maybe time for a redesign? not sure... don't have time to do a redesign soon, either way
< sumedh__>
Ohh okay... Thanks :) I will do that from next time...
< marcus_zoq>
naywhayare: Great, I like the design, just as it is :)
< marcus_zoq>
sumedh__: Maybe, when I have the time I'll go and add a script that creates automatically the header ...
< sumedh__>
marcus_zoq: haha... That would be great...
< andrewmw94>
I like how I start writing comments and try to end my sentences with a semicolon
< naywhayare>
andrewmw94: that's a good thing, because I'll crash trying to read them otherwise
< sumedh__>
naywhayare: The results are not constant... Too much random... not able compare... :(
< naywhayare>
you could try one of the other initialization schemes
< naywhayare>
RandomAColInit I think is one
sumedh__ has quit [Ping timeout: 240 seconds]
sumedh__ has joined #mlpack
< sumedh__>
naywhayare: Sorry I checked your msg just now. okay... I will try it with RandomAColInit...
andrewmw94 has quit [Quit: andrewmw94]
< jenkins-mlpack>
Starting build #1929 for job mlpack - svn checkin test (previous build: SUCCESS)