IRC logs of #shogun for Wednesday, 2011-07-27

--- Log opened Wed Jul 27 00:00:31 2011
blackburnsonney2k: could you please paste similar one for delete?00:02
blackburnah nevermind00:02
blackburnwill do it manually00:02
@sonney2kblackburn, what did the hooo* stand for?00:02
blackburnLTSA is ready00:03
blackburnand working00:03
@sonney2kyou did git clean -dfx w/o adding?00:03
@sonney2kSCNR ;-)00:03
blackburnthis time I will add00:03
blackburnsonney2k: could you please translate to german? :D00:07
blackburn"Hi, Chris00:07
blackburnToday I've finished implementing LTSA and finally learned german. Laplacian eigenmaps is on the way to be implemented."00:07
@sonney2kHi Chris,00:08
blackburnhe could be a little amazed with speed I do algos and languages haha00:08
@bettyboosmart ;D00:08
@sonney2kHeute habe ich endlich LTSA fertig implementiert und nun endlich auch deutsch gelernt.00:08
@sonney2kLaplacian Eigenmaps ist nun das nächste auf meiner Lister.00:09
@sonney2kListe00:09
@sonney2kblackburn, not exactly your words but mostly00:09
blackburn:D00:09
blackburnthanks00:09
blackburnour discussion become boring, I need to joke a little :D00:10
blackburnwith chris I mean00:10
@sonney2kargh00:12
@sonney2kit is past midnight00:12
@sonney2kI am getting hungry00:12
blackburnwhy?00:13
@sonney2kfor some reason the power plug doesn't provide me with enough energy00:14
@sonney2kand I tried...00:14
* sonney2k is on the way to the fridge00:15
blackburnhahaa google has indexed secret docs from gov.ru00:20
blackburnoh in one doc it is said that 29609000 roubles was stealen with 30219000 available00:26
blackburnmore than 90% stealen, awesome :D00:26
@sonney2kwhat a sign of competence ...00:28
blackburnin fact most of russian people wants to leave russia heheh00:29
blackburnand it makes no sense to any other country, I guess00:30
CIA-87shogun: Sergey Lisitsyn master * r5918132 / (5 files in 2 dirs): Introduced Local Tangent Space Alignment preprocessor - https://github.com/shogun-toolbox/shogun/commit/5918132d0383e371969afc9afb7593891bb08ba000:34
CIA-87shogun: Sergey Lisitsyn master * r16acbc2 / (2 files): SG_CALLOC usage for LLE and HLLE - https://github.com/shogun-toolbox/shogun/commit/16acbc2a648c7c522badba20e76849c0107e7ea000:34
blackburnsonney2k: one algo to go ;)00:36
blackburnhttp://dl.dropbox.com/u/10139213/shogun/ltsa-k12-2000.png00:36
@sonney2kblackburn, your best figure so far...00:40
blackburnno, HLLE is ~00:40
blackburnsonney2k: I guess it is the best a cat can get00:41
blackburn:D00:41
blackburnthe only thing - normalization00:41
CIA-87shogun: Sergey Lisitsyn master * rb61710c / (2 files): Fixed HLLE python example and added LTSA one - https://github.com/shogun-toolbox/shogun/commit/b61710c72ab5550c7a6b859a1f93e85ff65fc3b401:03
blackburnsonney2k: http://dl.dropbox.com/u/10139213/shogun/ltsa-k12-5000.png took 79s to compute01:15
@sonney2knice carpet01:15
blackburnwhen people asks me what I do in GSoC I tell them I'm unrolling swiss roll01:16
blackburnhey what's wrong with the weather? water in volga is +27C!!01:20
@sonney2k?!01:20
@sonney2khere it is cold01:20
blackburntoday was +3601:20
@sonney2kserialhex, awake?01:21
blackburntomorrow will be +3801:21
@sonney2kbut I guess at work...01:21
serialhexyes, whats up?01:21
@sonney2kserialhex, I am ruby wise nonfunctional01:21
@sonney2kI've loaded modshogun01:21
serialhexand it dosnt work?01:21
@sonney2kbut now how do I print any constant that is in this module?01:21
serialhexit should be:01:22
serialhexputs modshogun::Klass::c01:22
@sonney2kfor example I see01:22
@sonney2krb_define_const(mModshogun, "STRING_LEN", SWIG_From_int(static_cast< int >(256)))01:23
@sonney2kin the modshogun_wrap.cxx01:23
@sonney2kso I should be able to do puts modshogun::STRING_LEN ?01:23
serialhexerm... i think so01:23
serialhexi'm not too familiar with the C-side of ruby... hd on01:24
@sonney2kyes that works Modshogun::MSG_DEBUG01:24
serialhexok cool01:25
@sonney2khurray01:25
@sonney2kirb(main):015:0> gk=Modshogun::GaussianKernel.new()01:25
@sonney2k=> #<Modshogun::GaussianKernel:0x7f93977f67f0>01:25
@sonney2kirb(main):016:0> puts gk.get_width()01:25
@sonney2k1.001:25
serialhexfor some reason i'm unable to load the module, when i try it in  REPL session i get this error: https://gist.github.com/110595501:25
serialhexSWEET!!01:25
@sonney2kserialhex, I think you didn't do LD_LIBARY_PATH=pathtolibshogun.so01:26
serialhexquite possibly, i'll try that later01:26
@sonney2kserialhex, I can tell it works here now01:26
@sonney2kserialhex, sploving wrote some typemaps already so vectors / string lists could potentially work01:27
serialhexok cool... so when did Modshogun pop up?? that namespace wasn't there before01:27
@sonney2khe also did a bit of narray01:27
serialhexyes, i've been talking to him a bit01:27
@sonney2kserialhex, we merged all of shogun into one module -> modshogun01:27
serialhexnice... good idea!01:28
@sonney2know we don't have naming conflicts01:28
@sonney2kand it works under octave_modular too01:28
serialhexand sploving was having problems with finding narray.h right?01:28
serialhexi read that this am i think... it's been hardcoded IIRC01:29
serialhexi'll figure it out & post it.  NArray is a gem and thus shouldn't be too hard to parse out where it's hiding it's goods01:30
@sonney2kserialhex, is there any way to figure out which methods are defined for an object?01:34
@sonney2kfor example I do:01:34
@sonney2krequire 'modshogun'01:34
@sonney2kx = Modshogun::Labels.new01:35
@sonney2k=> #<Modshogun::Labels:0x7ff9481d1ca0>01:35
@sonney2ky = [1, 3, 5, 7]01:35
@sonney2kx.set_labels(y)01:35
@sonney2kcan I now figure out what methods x has?01:35
CIA-87shogun: Soeren Sonnenburg master * r91c9490 / (4 files): get the ruby examples to work again - https://github.com/shogun-toolbox/shogun/commit/91c9490d766564d8a82947f5b4cbc362319315b901:41
CIA-87shogun: Soeren Sonnenburg master * r8f5a9eb / (7 files in 3 dirs): get TRACE_MALLOCS to compile again (but still crashes for some reason) - https://github.com/shogun-toolbox/shogun/commit/8f5a9ebd403f0cedd97c21f95f385769ec532a3201:41
CIA-87shogun: Soeren Sonnenburg master * r9bb26bc / (9 files in 3 dirs): Merge branch 'master' of github.com:shogun-toolbox/shogun - https://github.com/shogun-toolbox/shogun/commit/9bb26bc315ab8d8645391df3ab87c2a3538985d201:41
@sonney2kserialhex, yay vector and matrix work again01:41
@sonney2keven narray vectors01:42
@sonney2kserialhex, I didn't manage to get your example to run 100% though - I don't understand the syntax01:42
@sonney2kit complains that sign is not defined on an Narray01:42
@sonney2kblackburn, good n801:42
@sonney2kI am tired...01:42
blackburnsee you01:43
blackburnme too01:43
-!- blackburn [~blackburn@109.226.76.87] has quit [Quit: Leaving.]01:46
serialhexsonney2k: to inspect / play around with ruby i use a tool called pry - https://github.com/pry/pry you can ls & cd around a program like a shell & do a bunch of other things.  you can also do things like x.methods (or x.methods(false) for singleton methods) and x.class02:41
serialhexand i'm working on my example... pulling out the parts that aren't nessisary & such02:42
-!- f-x [~user@117.192.194.0] has joined #shogun04:25
-!- gsomix [~gsomix@109.169.154.188] has joined #shogun05:44
-!- f-x [~user@117.192.194.0] has quit [Ping timeout: 260 seconds]06:29
@sonney2kf-x_, if you want you can overhaul your new[] / resize memory stuff now09:31
@sonney2kf-x_, I transitioned everything but I guess you can now use SG_REALLOC09:31
-!- sploving1 [~sploving@124.16.139.134] has joined #shogun09:57
sploving1sonney2k, any thing?09:57
@sonney2ksploving1, good morning :D09:57
@sonney2kcould you now run the ruby examples?09:58
sploving1yeap. except mini_svm09:58
sploving1others can run09:58
sploving1sonney2k, current upstream can work well?09:59
sploving1if that, I will pull it09:59
@sonney2kyeah good - I fixed them yesterday - so it makes sense to now just port a few examples like you did for lua and do some testing09:59
@sonney2ksploving1, yes09:59
@sonney2kif your examples run then you have latest upstream I think09:59
sploving1I changed it by myself09:59
sploving1okay. I will pull it10:00
@sonney2kI see - too bad then because I did the same thing too yesterday10:01
sploving1tonight we will have a meeting? 1:00?10:08
sploving1okay.10:08
-!- sploving1 [~sploving@124.16.139.134] has left #shogun []10:08
gsomixYeah. There are lists of applicants to my university. I'll see who will succeed me. :)10:09
@sonney2kgsomix, ?10:13
gsomixsonney2k, this is offtop.10:16
@sonney2kgsomix, I couldn't parse it...10:17
gsomixHm. Lists wishing to study at university. Samara State Aerospace University. Their show today.10:19
@sonney2kgsomix, but you are still there right?10:20
gsomixI'll be a long time.10:26
@sonney2kgsomix, which is good :) university time is one of the best in life :)10:26
gsomixI mean they will alternate me on "the first year".10:26
@sonney2kI don't understand - alternate you?10:27
gsomixThey will replace. Will be taught by people who taught me the first year.10:31
gsomixNever mind. I continue to speak bad.10:31
gsomix:)10:31
@sonney2kgsomix, :)10:33
@sonney2kgsomix, btw are you currently doing any shogun work / or want to do any?10:34
gsomixCover tree. Lisitsyn needs it.10:35
@sonney2kgsomix, ok great :)10:35
-!- f-x [~user@117.192.218.222] has joined #shogun11:03
@sonney2kf-x, did I talk to your twin f-x_ ?11:21
@sonney2kf-x, so did you see the lines above?11:21
@sonney2k<sonney2k> f-x_, if you want you can overhaul your new[] / resize memory stuff now11:21
@sonney2k<sonney2k> f-x_, I transitioned everything but I guess you can now use SG_REALLOC11:21
f-xsonney2k: possibly - he doesn't talk much11:21
@sonney2k?11:21
@sonney2kf-x, is that you manage to work 24h/ day ?11:21
f-xhadn't seen those - i didn't check f-x_'s session11:21
f-xi wish!11:21
@sonney2kok, so feel free to do those11:22
f-xsonney2k: sure.. it's a better system now11:22
f-xand btw11:22
f-xvw is working now11:22
f-x(but mostly using the default options)11:22
f-xsonney2k: i will test it some more and remove some unneeded functions11:23
-!- blackburn [~blackburn@109.226.76.87] has joined #shogun11:52
gsomix<offtop> I looked over the lists. Entrants have a great scores for the exams. There will be a strong study group. On my major I mean. </offtop>11:53
-!- heiko [~heiko@134.91.54.253] has joined #shogun11:55
-!- heiko [~heiko@134.91.54.253] has quit [Client Quit]11:55
-!- heiko [~heiko@134.91.54.253] has joined #shogun11:55
@sonney2kf-x, very nice11:56
@sonney2kf-x, I think this is the most intrusive change now still on the TODO11:57
@sonney2kf-x, then it is probably only clean / speed ups11:57
@sonney2kheiko, hi11:57
heikosonney2k, hi11:57
heikosorry that I wasnt there yesterday11:57
heikowill work on saturday instead :)11:58
heikofriends came visiting me spontaneously11:58
@sonney2kheiko, I see - I just wanted to hear your opinion11:58
@sonney2kbecause we did some intrusive change yesterday11:59
@sonney2k(you were not there to vote for or against )11:59
heikowhat did you do?11:59
@sonney2kbasically we removed all occurences of new[] / delete[]11:59
@sonney2kand replaced it with SG_MALLOC / SG_REALLOC11:59
@sonney2kSG_CALLOC11:59
@sonney2kSG_FREE11:59
heikodidnt you do the opposite recently?12:00
@sonney2kheiko, ? no12:00
heikommh12:00
heikook and why did you do it?12:00
heikoto catch errors and stuff?12:00
@sonney2kit has the big advantage that we can trace mallocs later easily12:00
* heiko checks out current git12:00
heikoyes, this is really good12:01
@sonney2kand that we have no interoperability issues with other libraries12:01
@sonney2kother C-libs always use malloc/free so we could never pass a ptr of a shogun object12:01
@sonney2kobject as in double* matrix12:02
heikook12:02
heikook then, why should I be against it?=12:02
@sonney2kheiko, it is just better when it is a community decision12:03
@sonney2knot just me doing random seemign changes12:03
@sonney2kseeming12:03
heikook, well then I think this is good12:03
heikotracing is always usefull12:03
heikoI still have the SGObject trace stuff on my TODO list12:03
heikohave a list of all allocated SGObjects would be cool12:04
@sonney2kheiko, it is there (but not working aka crashing) when you pass to configure  --enable-trace-mallocs12:04
@sonney2kheiko, the cool thing is that we can even make it like list all SG_MALLOC allocated things + the line nr where these where allocated12:05
@sonney2kheiko, for SGObjects I dont' see that it will work12:05
heikoyes, very good12:05
heikook but it would be good to have a list12:05
heikolike a DynArray of all allocated SGObjects12:06
heikothen you can check if the list is empty if valgrind reports leaks12:06
@sonney2kheiko, I think this would only work if we decide to introduce SG_NEW and SG_DELETE macros12:06
heikoand you can ask for the names of the objects to get a clue where the leak is12:06
heikofor SGObject these macros?12:06
@sonney2kwith such macro you could even get the file name + line nr where the memory got allocated12:07
heikowould be very useful12:07
@sonney2kheiko, for any C++ object the new() operator...12:07
heikowhen I wrote this tree set multiplication stuff, I really wished I had something like this12:07
@sonney2kwell heiko we could do this big change too12:11
@sonney2kI guess we should have a vote then again with blackburn and f-x ...12:12
heikook, sounds good12:13
@sonney2kthis would enable us only better debugging - right?12:13
heikoyes12:14
@sonney2kI mean we could display a table with sgobjects12:14
@sonney2kther ref-counts12:14
heikoyes exactly12:14
@sonney2kwhere these where allocated12:14
heikoand names12:14
@sonney2kand names12:14
heikoand it would be great to have access to the adresses of the objects12:14
@sonney2kand it would avoid global new operator overloading12:14
@sonney2kwhich is also good12:14
heikotrue12:15
@sonney2kheiko, the only disadvantage is that there might be 1000-2000 occurances of new()12:20
-!- f-x [~user@117.192.218.222] has quit [Ping timeout: 260 seconds]12:20
heikoyes, mmh, a lot of work12:20
heikoperhaps we do this a little bit later to have some more time for the hot stuff this week?12:21
@sonney2kheiko, new[] occurred ~1200 times12:21
heikosonney2k, did I mix up my fork again? or is the pull-request possible?12:21
@sonney2kno problem with some sed magic12:21
heikoI see patches from you12:21
@sonney2k?12:21
heikomy current pull request12:21
heikois it possible to merge it?12:21
@sonney2kno12:21
heikojust made a puosh12:22
heikopush12:22
@sonney2kwe didn't talk about it so I didn't merge12:22
heikoI had some trouble with git, and I think i made a mistake with all the rebasing12:23
heikowell it introduces support for multiple data types in model selection12:23
heikosonney2k, is it technically possible to merge it?12:36
heikobecause if not i have to reset my fork again, which is kind of annoying12:36
heiko(I have to check in all the changes again)12:36
@sonney2kyou just have to go to your master branch12:37
@sonney2kthen do git pull there12:37
@sonney2kthen go to your feature branch12:37
@sonney2kand then do git rebase master12:37
@sonney2kif there are conflicts - fix them12:37
@sonney2kand then go to master branch and git merge feature12:37
@sonney2kand git push12:37
-!- f-x [~user@117.192.210.213] has joined #shogun12:45
heikoyes, I know, but this is not working, because of some merge problems :(12:50
heikotried to solve it, but it does not work12:50
heikoand my commit list is growing ...12:51
heikowill reset fork12:51
blackburnbad way12:53
heikoyes12:53
heikobut I have no idea how to solve this12:54
@sonney2kheiko, OK wait let me try to do it from your request12:58
heikono12:59
heikoi think its even worse now12:59
heikobut i have it correct locally12:59
heikobut cannot push12:59
heikosais i have to pull before12:59
heikobut a pull destory my local changes, it does not ask to merge :(12:59
@sonney2kthe pull worked without problems13:00
@sonney2kpushing13:00
heikothink i got it now, the pull request is clean(er) now13:00
CIA-87shogun: Soeren Sonnenburg master * r440c5ef / (10 files in 4 dirs): Merge branch 'master' of git://github.com/karlnapf/shogun (+19 more commits...) - https://github.com/shogun-toolbox/shogun/commit/440c5efb2787654db9db583a44514cef20d8fc8113:00
heikoi just used push -f to overwrite changes in my fork13:01
heikoargh --13:01
heikoa HEAD is in the diff13:01
@sonney2khttps://github.com/shogun-toolbox/shogun/pull/233/files ?13:01
blackburn:D13:02
@bettyboohe blackburn13:02
blackburnlol13:02
heikogit push13:02
heikoah sorry13:02
@sonney2kheiko, ?!13:02
@sonney2kis master correct now or not13:03
@sonney2k?13:03
heikommmh13:03
heikoI will check13:03
@sonney2kto me it seems it included your original patch13:03
@sonney2kif it does I would suggest to do some git reset --hard <lastworkingversion>13:03
heikoyes13:04
heikoshogun-toolbox is ok now13:04
@sonney2kand push -f to your branch and then just merge from master13:04
@sonney2kheiko, master is not compiling though13:04
heikooh no :(13:04
heikoi will pull and fix13:05
@sonney2kI don't really get what the problem is thoguh13:07
@sonney2kohh I see13:08
heikoperhaps current pull request solves?13:10
heikoonly one line change but many commits13:10
heikoif not i will do a hard reset13:10
heikolibshogun compiles here btw13:10
blackburnthogun13:10
@sonney2kyeah but not the rest13:10
@sonney2kheiko, https://github.com/shogun-toolbox/shogun/pull/241/files ?13:11
heikocanceled13:12
heikoi will fix compile errors now13:12
heikosorry for the trouble, git makes me mad13:13
@sonney2kit compiles now13:13
@sonney2kheiko, relax13:13
CIA-87shogun: Soeren Sonnenburg master * r9df895b / src/shogun/lib/DataType.h : fix mistake in string data type - https://github.com/shogun-toolbox/shogun/commit/9df895b9b474c21f6d2486c547a3f5262e8316d513:14
@sonney2kheiko, you should check though if you have used any new[] or delete[]13:14
@sonney2k^ in your last patch I mean13:14
* sonney2k cries13:14
heikoi did, will change it13:14
heikowhats happening?13:15
@sonney2kmy 16GB memory won't work in this mainboard13:15
@sonney2kit just beeps :(((13:15
heikooh no :(13:15
@sonney2kbye bye build bot13:15
@bettyboosonney2k, sleep well13:15
@sonney2kheiko, anyway everything built ok now...13:18
@sonney2kso please just adjust your fork to it13:18
@sonney2kheiko, btw the only intrusive change now is this subset business right?13:18
@sonney2kthen it is basically all working or?13:19
* heiko will adjust his fork13:19
heikoyes, basically13:19
heikoand model storage for other machines than kernel machine13:19
@sonney2kheiko, there is only kernel / distance machine13:22
@sonney2kboth work the same way so it is copy & paste :)13:22
heikosonney2k, I thought about just adding this stuff to machine13:23
heikoor dont you think that is a good idea?13:24
@sonney2kheiko, which stuff?13:24
heikothe split train/train_kernel_machine and the setter to tell a machine to store its model13:25
@sonney2kbut a machine has no idea about a kernel...13:25
heikotrue, i mean the name could change,13:26
heikoI meant the call of store_model that is done automatically if the flag is set13:26
-!- gsomix [~gsomix@109.169.154.188] has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]13:35
-!- f-x [~user@117.192.210.213] has quit [Ping timeout: 260 seconds]13:38
-!- f-x [~user@117.192.219.5] has joined #shogun13:40
@sonney2kheiko, sorry I got distracted ordering different memory again...13:49
heikonp13:50
@sonney2kheiko, I think you need that do you?13:50
@sonney2kI mean how could you tell the machine to store it in memory otherwise?13:51
heikoehm what?13:51
heikoah ok13:51
heikono i meant13:51
heikoshould the possibility to tell a machine to store its model be part of CMachine instead of CKernelMachine?13:51
@sonney2kI mean otherwise you have to cast to kernelmachine13:51
@sonney2ketc13:51
@sonney2kso you need that option in machine for you model selection business13:52
heikowell yes, that is another problem13:52
heikothe cross-validation class only sees a CMachine13:52
heikoI added the flag in the example when the SVM was created13:52
heikobut that is no-good13:52
heikook, I will change this then.13:52
blackburnsonney2k: I didn't kernel PCA ;)13:53
@sonney2kblackburn, but you will do :)13:53
blackburnyeah, now I have to13:53
@sonney2kheiko, btw13:54
@sonney2k$ grep 'new .*(' shogun -r | wc -l13:54
@sonney2k102313:54
@sonney2kblackburn, btw what do you think about doing the same thing we did for new[] for new() ?13:55
blackburne.g?13:55
@sonney2knew -> SG_NEW13:56
blackburnSG_NEW(CFibonacciHeap)?13:56
@sonney2kwith the argument that we can enable debugging etc13:56
blackburnhow to pass params?13:56
heikosonney2k, do you think this works straight forward with sed?13:56
@sonney2knew KernelMachine(17) -> SG_NEW(KernelMachine(17))13:57
@sonney2kor alternatively13:57
@sonney2kSG_NEW KernelMachine(17);13:57
blackburnSG_NEW CLASS looks more attractive for me13:58
@sonney2khmhh not sure if that will work sufficiently well13:58
@sonney2kheiko, I see a couple of problems currently13:58
@sonney2kwhen we do SG_NEW CKernel()13:58
@sonney2kwe don't have access to the parameters13:59
@sonney2kso we cannot alloc the object and store meta data about it13:59
@sonney2kso we would need SG_NEW(CKernel(17,3,4,5))14:00
@sonney2kbut then the macro parser will think that it gets 4 arguments instead of 114:00
CIA-87shogun: Sergey Lisitsyn master * r34dfe53 / doc/pages/FAQ.mainpage : Removed note about octave crash from FAQ - https://github.com/shogun-toolbox/shogun/commit/34dfe53d8f3ec7eebbfd8cf6cd84aa5317a3ecc214:01
blackburnhehe14:01
blackburnsonney2k: I can't start translating doc to ru - it is OLD!14:01
@sonney2kblackburn, ohh so you will have to update the old doc too :D14:01
@bettyboo^_^14:01
blackburnsonney2k: chinese too?14:02
@sonney2kof course14:02
blackburn:D14:02
blackburnI guess we should add some questions to FAQ14:03
heikosonney2k, mmh, for debugging the parameter trees, I simply added something to the CSGObject ocnstructor14:04
heikobut that then only works for shogun objects14:04
@sonney2kblackburn, no idea which ones though14:05
@sonney2kheiko, I mean one more hack is to overload new() and delete()14:05
@sonney2k(we do this already)14:05
heikommh14:05
@sonney2kand then try a dynamic cast to CSGObject14:06
heikoanything against this?14:06
heikooh14:06
@sonney2kit is a global thing14:06
@sonney2kso bad when someone else relies on that too14:06
heikotrue14:06
-!- John_Langford [6c152263@gateway/web/freenode/ip.108.21.34.99] has joined #shogun14:06
blackburnwow14:06
heikobut, mmh,  also an advantage that you dont have to change your programming habits14:06
@sonney2kheiko, macros won't work for nicely with comma's14:08
@sonney2khttp://ingomueller.net/node/120314:08
@sonney2khorrible...14:08
heikoindeed14:09
heikoso then the new operator14:09
heikobut instead of a dynamic cast i would prefer adding something to the constructors14:09
@sonney2kheiko, the trace malloc business is already there14:09
-!- sploving1 [~sploving@210.77.14.219] has joined #shogun14:09
@sonney2kbut for some reason it is no longer working (crashing)14:09
sploving1serialhex, are you around?14:10
serialhexyes14:10
sploving1do you know ruby or narray has function that read numbers from a file?14:10
sploving1like fromfile/ loadtxt in numpy?14:10
sploving1I need write a load.rb,14:11
serialhexis each number on a different line?14:11
@sonney2kheiko, I suspect that there is an unwanted recursion going on...14:11
@sonney2kheiko, like to trace the malloc, we need another malloc which needs another or so14:12
sploving1no, every line have two numbers, serialhex14:12
@sonney2kserialhex, space separated14:12
-!- heiko [~heiko@134.91.54.253] has quit [Read error: Connection reset by peer]14:12
sploving1I use IO.readlines, it return "1 3\n"14:12
serialhexso it'd be a 2D matrix?  is that how you want it?14:12
-!- heiko [~heiko@134.91.54.253] has joined #shogun14:13
sploving1yeap. for instance, 1 314:13
serialhexso that would return [[1], [3]]14:13
serialhexok...14:13
sploving1serialhex, I want every line is a row of the matrix14:16
sploving1and the columes is 214:16
* heiko gets crazy with git14:16
@sonney2kheiko, so the downside of 'just' overloading new14:17
@sonney2kis that we cannot say '*in which line*' the object got allocated14:17
@sonney2kbut we can print refcount and ptr14:17
@sonney2kand name14:17
heikowell, ok14:17
sploving1for instance, 1 3, the seconde line is 5.3 7,  the third line is  8.8 6.6, then I want to return: [[1, 3], [5.3, 7], [8.8, 6.6]]14:18
@sonney2ksploving1, btw orico did some example translation - draft - for c# here https://github.com/shogun-toolbox/shogun/pull/238/files14:21
@sonney2kmaybe you can use this as a baseline later14:21
CIA-87shogun: Sergey Lisitsyn master * rec69179 / examples/undocumented/python_modular/graphical/dimreduct/swissroll.py : Added HLLE and LTSA to swissroll graphical example - https://github.com/shogun-toolbox/shogun/commit/ec69179210b7d8f4587de129f3ebb726daeeaf0114:21
-!- gsomix [~gsomix@109.169.154.188] has joined #shogun14:22
sploving1I know that. but they use jblas, not working now. I have no idea about C# libriary, that similiar to C#14:23
sploving1similiar to jblas.14:23
heikosonney2k, ok sounds good14:26
@sonney2ksploving1, I think we have no option but to just use nested arrays . so use their files as inspirations14:27
serialhexsploving1: i've got to get ready for work so i'll try and debug this later, butit's prettymuch along these lines: https://gist.github.com/110925114:27
serialhexso far it dosn't return floats, just strings... i'll see what ... hd on14:28
sploving1serialhex, thx. I will have a try14:28
serialhexsploving1: ok i figured out a (non-pretty) way to do it... i'll see if i can find something better later but i updated the gist and it works now14:29
serialhexif you like you can change the n.to_f to n.to_i for integers or whatever you want... maybe make a wrapper to catch each case or something14:30
sploving1serialhex, you give me is one row matrix14:31
sploving1not 2D matrix?14:31
sploving1updated? I saw that14:32
serialhexyeah, it's 2d...  or should be, it will mimmic the layout of the file14:37
-!- vojta [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has joined #shogun14:38
-!- vojta is now known as VojtechFranc14:38
serialhexi updated it again with my input file & my output...14:39
sploving1great serialhex, thx. I will try14:40
sploving1serialhex, do you know how to fix the bug  in the example14:41
sploving1classifier_libsvm_minimal_modular14:41
sploving1.rb14:41
sploving1what does class_eval mean in ruby?14:42
serialhexclass _eval isa metaprogramming thing, it lets you open up the class and add new methods or whatever.14:43
sploving1serialhex, it said undefined method `sign' for #<NArray:0xb5538210> (NoMethodError)14:43
sploving1then you mean we can define a method sign for NArray?14:44
serialhexyes we can!14:44
sploving1narray has a method mean, then we can remove it from the example! am I right? serialhex?14:46
serialhexyep14:49
serialhexand you can probably just put an "N" before Array.class_eval and everything should work14:49
sploving1okay.14:51
serialhexsploving1: it should work if you make it like this: https://gist.github.com/110930014:52
@sonney2k*lol* http://www.memo.tv/istevejobs14:56
-!- cwidmer [~quassel@connect.tuebingen.mpg.de] has joined #shogun14:56
@sonney2kshall we start?15:03
heikook for me15:03
cwidmergood to go15:04
-!- mikiobraun [~mikio@brln-4db90002.pool.mediaWays.net] has joined #shogun15:04
@sonney2kalright then15:04
@sonney2kletst start15:04
mikiobraunhello15:04
sploving1hello15:04
sploving1okay. start...15:04
@sonney2kso hello everyone to thi s(now for real) last month of GSoC15:04
@sonney2kwe have slightly more than 2 weeks until google recommends pencils down so this is the final sprint for features: do the most drastic changes now, i.e. this and next week - afterwards only additions please...15:05
@sonney2kto notify you about some bigger changes we did internally15:06
@sonney2kewer again use new[] / delete[] but instead SG_MALLOC/SG_CALLOC/SG_REALLOC/SG_FREE - this will enable us to interoperate more easily with libraries and also to trace memory allocations15:06
@sonney2kwe also did get rid of the multi-module swig interfaces but link everything into one big file 'modshogun' now - this resolved all the issues we had with the interfaces failing more or less randomly15:07
@sonney2kapart from that everyone should really focus on doing the intrusive things until end of next week15:08
@sonney2kadditions are OK15:08
@sonney2klater15:08
@sonney2kand polishing too of course15:08
@sonney2kdoes anyone have any concerns regarding this?15:08
@sonney2kbtw VojtechFranc where is alesis?15:08
cwidmerjust to clarify, so does this mean no more submodules, like shogun.Features etc?15:09
VojtechFrancno, idea I sent him email two days ago but no reply yet15:09
@sonney2kcwidmer, yes15:09
cwidmerfinally15:09
cwidmer:)15:09
@sonney2kcwidmer, it would be from modshogun import xxx15:09
cwidmerthat has caused me quite some pain in the past15:09
blackburnsonney2k: why "from shogun.Preprocessor import LandmarkMDS" works? :D15:09
@sonney2khowever to not screw users I added some compat wrappers emulating the old behavior15:09
@bettybooho?15:09
blackburnah15:10
@sonney2k^15:10
blackburnokay15:10
cwidmersonney2k, way to go15:10
blackburnI have a question about my preprocessors15:10
@sonney2kblackburn, shoot.15:10
blackburnmost of them doesn't support any out-of-sample extension for applying to some feature vector15:10
blackburne.g. it is not possible with classic mds15:10
blackburnit is possible with landmark mds but there is a need to store landmarks15:11
blackburnnow all of my preprocessors have SG_NOTIMPLEMENTED for apply_to_feature_vector15:12
blackburnI guess it is bad for release, right?15:12
@sonney2kblackburn, well just add a more meaningful SG_ERROR msg15:13
@sonney2kOK?15:13
@sonney2kanyone else?15:13
blackburnso it is okay to be gay^W^W just write it is not supported?15:13
@sonney2ksure it is ok to say that this particular function is not implemented because it is not possible or would be inefficient or...15:14
@sonney2kjust hint people what they should do15:14
blackburneveryone fell asleep15:14
heikonono :)15:14
cwidmersonney2k, ok with me15:15
serialhexZZzzzzzzZZZZZzzzzzzzZZZZZzzzzzzzz....15:15
cwidmerheh15:15
@sonney2kto continue: so to be able to have a release end of august we need to do bug hunts / cleanups and we need everyones help.15:15
@sonney2kso for example clean up tasks could be15:15
@sonney2keveryone compile with doxygen enabled and fix the documentation!15:15
@sonney2kdoxygen will issue warnings15:16
@sonney2kand these should *all* be gone before the release15:16
@sonney2kblackburn - would be great to have the russian documentation ready before release :)15:16
blackburnsonney2k: just after we fix english one15:16
@sonney2kthen please everyone check the NEWS file and add new features (I did add a few items -  please check for more)15:16
@sonney2kthen we will need some help to port examples to all supported languages15:16
@sonney2kand of course if you encounter compile warnings - fix them15:17
@sonney2kBTW, I saw some inefficient code in SGVector allocation appearing more often than just once15:18
heiko(we could treat warnings as errors )15:18
@sonney2kSGVector can be used like SGVector(length), SGMatrix(rows, cols) - will alloc vector / matrix. They need to be manually destroyed (matrix.destroy())15:18
@sonney2kheiko, every compiler has a different set of warnings - so it is dangerous to do this on the long run15:18
heikonow meant just for one time15:18
@sonney2kheiko, once we are down to 0 - it makes sense15:19
@sonney2kcurrently there are jsut too many and then no one would be able to do work15:19
heikook :)15:19
@sonney2kone more thing: it would be great if we internally (in object member variables) use SGVector/ SGMatrix etc whenever sth. needs to be serialized.15:20
@sonney2kand also return/pass SGVector etc only not the double*, len thing we did before (if possible)15:20
@sonney2kI know everyone is busy for the next 1.5 weeks but when you encounter such issues please attempt to fix them15:21
@sonney2kand of course - if you can test things, be it installing shogun on a mac / cygwin / different linux distributions with whatever language you are interested in - please do15:22
@sonney2kI suspect that we will have many small issues...15:23
@sonney2kso most important, test, test, test!15:23
@sonney2kThat's it from my side. Any comments, questions, concerns?15:23
heikonot from me15:24
heikooh15:24
heikothe CSGObject trace15:24
@sonney2kyes?15:24
heikoI will try to add it in the next week15:24
heikoso if anyone has debug problems: soon there will be a list of all allocated CSGObjects15:25
@sonney2kheiko, I think I should better do this - and you concentrate on the other 2 intrusive changes you need to do15:25
blackburnthis week I'll make a try getting all the java examples to work15:25
heikoor this way15:25
heikojust wanted to point out that this stuff will be there soon, because its useful15:25
@sonney2kheiko, it used to work already maybe a year back or so :)15:25
blackburngood thing about java_modular - I might add clojure and scala examples15:26
mikiobraunYou should know that I'll be on vacation soon, so any burning Java questions should be asked before Friday.15:26
blackburnwell I hadn't any ;)15:26
@sonney2kblackburn, we have enough things to polish right now - and the plan is to release end of august15:26
mikiobraunvery good ;)15:27
@sonney2kso better postpone these issues and do some tests/polishing15:27
blackburnsonney2k: okay15:27
blackburnit could be easy because both clojure and scala utilizes java things15:28
blackburnso we don't have to do another typemaps15:28
@sonney2kalright, I think everyone knows what to do?15:28
heikoyes :)15:28
@sonney2kthen shall we meet again say August 10, 13:00 UTC?15:29
mikiobraunblackburn: You can just use Java libraries from clojure/java, one could only think about some nice syntactic sugar15:29
mikiobraunI'll not be there on Aug 1015:29
@sonney2kmikiobraun, when are you back15:29
@sonney2k?15:29
blackburnmikiobraun: yes it is exactly what I'm talking about15:29
@sonney2kwell Aug16 is suggested pencils down date15:30
sploving1mikiobraun, enjoy your holiday. now I am working ruby, and next week I will try to support C#15:30
@bettyboo;>15:30
sploving1then the last week may fix some bugs15:30
mikiobraunWell, at least it shouldn't be public ;)15:30
@bettyboo:)15:30
@sonney2kso better lets meet on Aug 10 if possible15:30
@sonney2kis the date ok for the others?15:31
VojtechFrancyes, ok with me15:31
f-xit's good15:31
heikofor me ok15:31
blackburnoakya15:31
@sonney2kJohn_Langford, VojtechFranc cwidmer f-x heiko blackburn serialhex ?15:31
cwidmerk15:31
@sonney2kok15:31
sploving1k15:31
serialhexsounds good... i'm gonna do what i can to help the ruby stuff along15:31
@sonney2kserialhex, great!15:32
@sonney2kthen thanks everone for attending and please keep up the good work15:32
cwidmergreat, thanks sören15:32
@sonney2kkeep the patches coming and on Aug 10 we will discuss about who polishes what :)15:32
@sonney2kahh stop15:33
@sonney2kany of the mentors wanting to go to the mentors event?15:33
@sonney2kin october 21-23?15:33
@sonney2kat google hq?15:33
@sonney2kmikiobraun, cwidmer, John_Langford , VojtechFranc ?15:33
cwidmerI'd be interested to go15:34
VojtechFrancme not, sorry15:34
mikiobraunWould be interesting, but I don't think I can go.15:34
blackburn*it seems chris likes to travel ;)15:34
heikois this paid by google?15:34
@sonney2kmostly yes15:34
@sonney2kbut it is for mentors only15:34
cwidmerespecially to california ;)15:35
heikosad thing :)15:35
@sonney2kif any of you students want to be mentors next year - tell us :)15:35
sploving1beatiful place15:35
blackburnI want to be student next year hehe15:35
heikowould be cool :)15:35
heikobut i am in london busy studying next year15:36
@sonney2kalright that really is all from my side15:36
heikook, see you all!15:36
cwidmerok, bye all!15:36
VojtechFrancok, cheers15:36
-!- in3xes [~in3xes@180.149.49.227] has joined #shogun15:38
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun15:39

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!