Open in new window / Try shogun cloud
--- Log opened Fri Jul 20 00:00:05 2012
--- Day changed Fri Jul 20 2012
@sonney2kgsomix, nice!00:00
@sonney2kwiking, I think adding -L/usr/local/lib/gcc46 to linker flags could also solve it?00:00
wikingsonney2k: i'll try to fix it... that flag i've told u fixes this problem...00:00
@sonney2kwiking, if not then set LD_LIBRARY_PATH00:00
wikingsonney2k: good question... maybe when compiling the examples codes...00:00
gsomixsonney2k, ok, nite then :)00:00
wikingsonney2k: i'll check how's this handled usually in bigger projects, when u supply the non-standard compiler00:01
wikingsonney2k: the problem is the linking part of the code and afaik LD_LIBRARY_PATH won't help in that case00:02
@sonney2kwell rpath is a bad hack00:03
-!- gsomix [~gsomix@] has quit [Quit: Ex-Chat]00:03
@sonney2kso linking against the right libstd* can be done with -L/path/to/it00:03
@sonney2kand then when *running* examples one has to make sure that this lib can be found via LD_LIBRARY_PATH00:04
@sonney2kblackburn, why?00:04
blackburnsonney2k: can least squares be QP?00:04
blackburnI am going crazy - what I do looks mathlegal but it is not00:05
blackburnsonney2k: with given y is problem min_x (x-y)(x-y)' ~ of  problem min_x x*x' - 2*x*y'?00:06
@sonney2kyes x*y'00:07
blackburndid you discard 2?00:08
blackburnso it is ok to solve least squares using QP?00:08
@sonney2kjust the x*y typo00:08
@sonney2ksure why not?00:09
blackburnjust asking because before I tried to solve problem using v = x-y00:09
blackburnit was wrong00:09
blackburnwell mainly because of s.t. part, it was 0<x<1 and -y<v<1-y is wrong00:10
@sonney2kdroopy, please sing some good night song for me!00:38
@sonney2kdroopy, sing!00:39
droopyobwohl das kann anagram ja auch nicht!00:39
blackburnhmm interesting00:39
@sonney2kdroopy, nite!00:39
blackburnsonney2k: in libqp_gsmo constraint a'x = b is not used at ALL00:39
droopysonney2k:why to reduce dim anyway?00:39
blackburnhow can that work damn00:39
@sonney2ksounds like a bug...00:40
@sonney2kanyway bed time for me00:40
blackburndroopy: AKFA00:41
blackburndroopy: AKFA00:41
droopyblackburn: if we need to buy things, i shift it to someone else00:41
blackburndroopy: shift it to someone else?00:41
droopywhat i am saying is that someone residing on your network attacked one of my boxes!00:41
blackburnI am curious whether one can read log msg by msg00:42
-!- heiko1 [] has joined #shogun00:59
-!- heiko1 [] has left #shogun []01:01
blackburnsonney2k: not a bug - SMO01:31
wikingdroppy :)01:32
wikingdroopy: bot or not bot01:33
droopywiking: how many people are inside the chan?01:33
cwidmergood ol' SMO01:34
wikingdroopy: smo02:47
blackburndroopy: smo02:50
droopyhe logged off02:50
blackburnokay I'm out of power too :)02:51
-!- blackburn [~blackburn@] has quit [Quit: Leaving.]02:57
-!- pluskid [~pluskid@] has joined #shogun07:53
-!- pluskid [~pluskid@] has quit [Ping timeout: 260 seconds]08:38
-!- pluskid [] has joined #shogun08:38
-!- uricamic [~uricamic@2001:718:2:1634:edf7:de2d:589a:b8b1] has joined #shogun08:44
-!- gsomix [] has joined #shogun09:07
gsomixgood morning09:07
-!- gsomix [] has quit [Remote host closed the connection]09:46
-!- yoo [2eda6d52@gateway/web/freenode/ip.] has joined #shogun09:55
-!- uricamic [~uricamic@2001:718:2:1634:edf7:de2d:589a:b8b1] has quit [Quit: Leaving.]09:58
-!- uricamic [] has joined #shogun10:07
-!- uricamic [] has quit [Client Quit]10:07
-!- uricamic [] has joined #shogun10:16
-!- pluskid [] has quit [Ping timeout: 240 seconds]10:35
-!- pluskid [~pluskid@] has joined #shogun10:56
-!- pluskid [~pluskid@] has quit [Quit: Leaving]11:08
koen-shogungood morning11:15
-!- heiko [] has joined #shogun11:15
yooheiko: As I said, with n_fold values >2 the bug appear11:20
heikook I will do that, give me a second11:20
heikook I get a segfault11:21
heikoyoo, ok thats probably my code11:22
heikoI still owe a test11:22
yooheiko: another thing I have notice (but thats not a big deal) is when declaring a crossvalidation object: you can apparently call the constructor without passing the features in arguments, and then you get another seg fault11:24
yoowhen calling evaluate11:25
yooeven if the kernel is already init with the right features11:25
-!- uricamic [] has quit [Quit: Leaving.]11:26
heikoyoo, ok good to know, I will add an error message11:26
-!- blackburn [~blackburn@] has joined #shogun11:35
-!- uricamic [~uricamic@2001:718:2:1634:edf7:de2d:589a:b8b1] has joined #shogun11:42
-!- uricamic [~uricamic@2001:718:2:1634:edf7:de2d:589a:b8b1] has quit [Ping timeout: 248 seconds]11:46
CIA-18shogun: Sergey Lisitsyn master * rd5d5151 / src/shogun/lib/external/libqp_gsmo.cpp : Improved libqp GSMO solver -
-!- uricamic [~uricamic@2001:718:2:1634:b15e:17c1:5f16:ac5f] has joined #shogun12:38
heikoyoo, I fixed a few bugs, it now runs, but leaks memory12:39
heikoI dont know whether it did that before12:39
shogun-buildbotbuild #86 of cyg1 - libshogun is complete: Failure [failed compile]  Build details are at  blamelist: Sergey Lisitsyn <>12:49
blackburnheiko: argh why didn't you include shogun list13:07
heikoblackburn, there you go! :)13:07
wikingdroopy: yoyoyo wazza13:08
droopywiking: you know - the one i was making - 2d top down space simulator/arcade13:08
wikingdroopy: yeah i remember13:09
droopyin that case 4 should be ok!13:09
wikingblackburn: :DDDD i've seen the batman13:09
wikingchuck norris FTW13:09
wikingheiko: so what's your idea with the unit testing?13:12
heikowiking, I would like to have some kind of tests13:13
heikoand I would like to make it madatory for every patch that adds/changes code, to add a test which covers that code13:13
wikingheiko: can u maybe create a new branch in shogun?13:13
heikowith defined input/outpu13:13
wikingheiko: so that we can start adding some stuff13:13
heikofirst we have to discuss a framework etc ..13:13
wikingheiko: and when it's stable we merge it into the master13:13
wikingheiko: yeah well i think the best way to test pudding is to taste it13:14
heikotests should include memory leaks btw13:14
heikocurrently its horrible13:14
heikoso many leaks13:14
heikoand nobody knows where these come from13:14
wikingheiko: so that just start doing it and then we'll see what FW we end up using13:14
heikoalso one should only be allowed to commit if code is mem-clean and has tests13:14
heikoId like to discuss with soeren13:15
wikingheiko: i'm totally up for going with goog's framework13:15
heikoI like this google test thing13:15
heikobut its bsd13:15
wikingsonney2k: ping13:15
wikingheiko: i've commited bsd code within shogun13:15
wikingheiko: yep13:15
wikingheiko: that's homogeneous kernel map13:16
wikingheiko: that's a bsd code based implemenation13:16
heikois it allowed to re-distirbute under gpl?13:16
wikingheiko: i've just done the shogun wrappers for it13:16
heikothen it might be fine ...I will try to catch up with soren later today13:16
wikingheiko: in a way gpl3 superseeds bsd license13:16
heikowe also need to discuss how to do it etc13:16
wikingheiko: so bsd license basically allows you almost anything...13:16
heikoand also development would be slowed down13:16
heikowiking, yes, but it doesnt ensure that program is re-distributed freely13:17
heikoonly gpl does that13:17
wikingheiko: yes.. so?13:17
heikomatter of taste13:17
heikoI had something in mind that soeren didnt like that13:17
heikobut anyway, ill discuss13:17
wikingheiko: i mean anyhow u just will depend on an FW that is BSD licensed13:17
wikingheiko: you'll not add it into the project13:17
heikowiking, good point13:18
wikingheiko: and other libs in shogun deps are bsd licensed13:18
wikingfor sure13:18
CIA-18shogun: Heiko Strathmann master * r823ef52 / (6 files in 3 dirs): Merge pull request #661 from karlnapf/master (+5 more commits...) -
wikingat least one for sure:
wikingheiko: "BSD-style license"13:19
wikingand we depend on bzip213:19
wikingso tralalala13:19
wikingthe problemis solved :)13:19
heikoyeah you are probably right13:20
heikoanyway, gotta go to lunch :)13:20
heikosee you later13:20
blackburnwiking: one more
wikinghahaha yeah i'm getting the mails as well from the list :)13:23
heikoblackburn, argh!13:23
heikooh no!!!!13:23
wikingblackburn: that was a good gimp hack :)13:24
wikingdroopy: gimp us some lolcatz13:24
droopyno, not blaming you..13:24
CIA-18shogun: Heiko Strathmann master * rd80d9d3 / src/shogun/machine/KernelMachine.cpp : Merge pull request #662 from karlnapf/master -
CIA-18shogun: Heiko Strathmann master * r443bb05 / src/shogun/machine/KernelMachine.cpp : fixed segfault when data=NULL -
heikoblackburn, I have these moments of genius :)13:30
shogun-buildbotbuild #87 of cyg1 - libshogun is complete: Success [build successful]  Build details are at
wikingsonney2k: i've tried both LD_LIBRARY_PATH=/usr/local/lib/gcc46/ and -L/usr/local/lib/gcc46 and it won't do the job... it'll still use the other libstdc for linking...13:41
-!- uricamic [~uricamic@2001:718:2:1634:b15e:17c1:5f16:ac5f] has left #shogun []13:44
shogun-buildbotbuild #155 of deb2 - static_interfaces is complete: Failure [failed test libshogun]  Build details are at  blamelist: Heiko Strathmann <>13:56
koen-shogunwiking: I've missed the whole discussion, but it is my understanding that the gcc compiler will always use the version of libstc it was compiled against itself... so are you using gcc-4.6?13:57
CIA-18shogun: Heiko Strathmann master * rfab1560 / (3 files in 2 dirs): memory leak fixes -
CIA-18shogun: Heiko Strathmann master * r8484f8f / (3 files in 2 dirs): Merge pull request #663 from karlnapf/master -
wikingkoen-shogun: in my case it doesn not14:07
wikingkoen-shogun: it links against a libstdc that is for another gcc14:07
-!- blackburn [~blackburn@] has quit [Quit: Leaving.]14:09
koen-shogunhmmm... and I guess the old libstc is the system one?14:11
wikingkoen-shogun: yeps14:11
koen-shogunwhat if you explicitly pass the path to the libstc at linktime: -l/usr/local/lib/gcc46/ ? or does that only work when one does static linking (to .a)? and static linking is impossible with libstdc14:13
wikingkoen-shogun: i'm dynamic linking14:15
CIA-18shogun: Heiko Strathmann master * re2f0d12 / (2 files): added mkl multiclass cross-validation example -
CIA-18shogun: Heiko Strathmann master * re8a368e / examples/undocumented/libshogun/evaluation_cross_validation_multiclass_mkl.cpp : added assertion for result quality -
CIA-18shogun: Heiko Strathmann master * rd69d803 / (2 files): Merge pull request #664 from karlnapf/master -
shogun-buildbotbuild #180 of deb3 - modular_interfaces is complete: Failure [failed test libshogun]  Build details are at  blamelist: Heiko Strathmann <>14:28
koen-shoguna question I have myself: right now I cannot pass custom defines for the shogun compilation process14:51
koen-shogunbecause of the line14:51
koen-shogunDEFINES=" -DSWIG_TYPE_TABLE=shogun -DSHOGUN"14:51
koen-shogunin configure, the DEFINES environment variable will be overwritten. Does it make sense to replace the line with:14:51
koen-shogunDEFINES+=" -DSWIG_TYPE_TABLE=shogun -DSHOGUN"14:51
koen-shogunBecause then I can do:14:51
koen-shogunDEFINES="-D__STDC_CONSTANT_MACROS" ./configure14:52
koen-shogunand my custom define will be used during compilation14:52
shogun-buildbotbuild #181 of deb3 - modular_interfaces is complete: Success [build successful]  Build details are at
yooheiko: hi again. ok I can retrieve results I had with my home made xvalidation.15:02
yooheiko: great15:02
yooheiko: CModelSelectionOutput is of course not working when passing it into cross->evaluate method15:03
yooheiko: should be a warning message also before the crash :p15:04
yooheiko: Maybe I will now focus on ways to improve the results of multiclass machine (should be working with xval too) : something like EER would be nice15:06
yooheiko: see you15:06
wikingsonney2k: i think i've managed to solve the problem15:27
shogun-buildbotbuild #156 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at
wiking should fix things15:35
wikingalthough we still need to set the LD_LIBRARY_PATH to the good path for the buildbot15:36
-!- zxtx [] has quit [Ping timeout: 246 seconds]15:58
-!- blackburn [~blackburn@] has joined #shogun16:12
blackburnyoo: hey, around?16:14
yooblackburn: im here16:20
blackburnyoo: what is wrong with ModelSelectionOutput?16:21
yooblackburn: sec I ll reproduce the pb and send you a link16:21
-!- blackburn [~blackburn@] has quit [Quit: Leaving.]16:24
-!- blackburn [~blackburn@] has joined #shogun16:25
yooblackburn: this is an example from shogun heiko just added after modifications to make crossvalidation working with multiclass machine and mkl. I just added a CModelSelectionOutput in param of evaluate function16:32
yooblackburn: it is simply not supported yet I think16:32
blackburnshould work actually16:33
blackburnyoo: what is exact problem?16:34
yooblackburn: segfault with the above code16:35
blackburnhhmm bad16:39
blackburnok I will check later16:39
blackburnhave to leave16:39
-!- blackburn [~blackburn@] has quit [Quit: Leaving.]16:39
yoois there matrix operator+ and operator* available for SGMatrix<T> ?16:42
koen-shogunthere is SGMatrix<T>.matrix_multiply for *16:48
koen-shogunsorry: SGMatrix<T>::matrix_multiply(A,B)16:49
koen-shogunaddition does not seem to be available as an operation right now16:50
yooallright thanks16:51
yoogood evening17:21
-!- yoo [2eda6d52@gateway/web/freenode/ip.] has quit [Quit: Page closed]17:22
-!- gsomix [~gsomix@] has joined #shogun18:03
gsomixgood evening18:03
rieckgood evening18:10
rieckcheers droopy18:11
droopyi think stuxnet proved the internet is not needed to engage in cyber war?18:11
rieckdroopy: true :-|18:11
droopyrieck: and so not performed by too many :(18:11
wikingdroopy: where's sonney2k  and blackburn? :)18:31
rieck!seen blackburn19:21
droopyblackburn (~blackburn@ was last seen quitting from #shogun 2 hours, 41 minutes ago stating (Quit: Leaving.).19:21
-!- heiko [] has left #shogun []19:25
-!- cwidmer [8ca3fe9d@gateway/web/freenode/ip.] has quit [Ping timeout: 245 seconds]19:38
-!- rieck is now known as Guest2153519:45
-!- Guest21535 [~rieck@] has quit [Quit: ZNC -]19:52
wikingit knows20:15
@sonney2kwiking, so it works now?20:32
@sonney2kgsomix, hey there!20:32
CIA-18shogun: Viktor Gal master * r69d7578 / src/Makefile.template : LD_LIBRARY_PATH is overwritten in check-examples -
CIA-18shogun: Soeren Sonnenburg master * r7bafeba / src/Makefile.template : Merge pull request #665 from vigsterkr/fbsd -
wikingsonney2k: ok so now it should be able to work20:37
wikingif you set LD_LIBRARY_PATH=/usr/local/lib/gcc4620:37
wikingwhen you do the gmake of that bot20:37
wikingso imo you should do LD_LIBRARY_PATH=/usr/local/lib/gcc46 gmake instead of simple gmake on that bot20:37
wikingand then the libshogun examples should work20:38
wikingbut ok i'll check now with the new checked out code20:38
@sonney2kwiking, please try - if it works we change the bot20:41
wikingsonney2k: ok20:41
@sonney2kgsomix, PR in progress?20:41
wikingsonney2k: the bot is now working20:42
wikingsonney2k: so as soon as it finishes i'll try20:42
wikingsonney2k: but i've tried that patch on the machine and worked20:42
wikingso "it should work"20:42
wikingsonney2k: btw i've started to create the mock classes for shogun20:43
wikingsonney2k: i'll push the code into my repo and you can check it out whether u like it20:43
wiking(this is about unit testint)20:43
wikingmmm i've installed earlier SWIG on that machine but the configure script doesn't recognise it... i guess i'll need to make some changes about that as well :S20:46
-!- zxtx [] has joined #shogun20:48
wikingsonney2k: ok so this works: LD_LIBRARY_PATH=/usr/local/lib/gcc46/ gmake tests20:51
wikingalthouth there's this still:20:51
wikinggmake[3]: Leaving directory `/usr/home/wiking/shogun-buildbot/bsd1_-_libshogun/build/examples/undocumented/libshogun'running gmake[3]: .. ERRORrunning Entering .. ERRORrunning directory .. ERRORrunning `/usr/home/wiking/shogun-buildbot/bsd1_-_libshogun/build/examples/undocumented/libshogun' .. ERROR20:52
wikingbut the examples itself are all OK20:52
@sonney2kwiking, ??20:54
wikingsonney2k: i dont get these errors :)20:55
wikingi dont know why i get these actually20:56
wikingsonney2k: here's a partial output of gmake tests20:57
wikingi don't know why is that 4 "running" there... :)20:57
-!- shogun-buildbot [] has quit [Quit: buildmaster reconfigured: bot disconnecting]21:02
-!- shogun-buildbot [] has joined #shogun21:02
@sonney2kwiking, how many CPUs does your bsd buildslave have?21:03
wikingsonney2k: 821:03
wikingsonney2k: i mean 8 cores...21:03
wikingsonney2k: so you can for sure use 421:03
wikingfor building21:03
-!- rieck [~rieck@] has joined #shogun21:07
-!- shogun-buildbot [] has quit [Quit: buildmaster reconfigured: bot disconnecting]21:12
-!- shogun-buildbot [] has joined #shogun21:12
@sonney2kwiking, ok 4 cpus + tests enabled!21:13
@sonney2kwiking what does echo 'make: foo' | grep -v '^make'21:13
@sonney2kshow on the buildslave?21:13
wikingsonney2k: nothing21:15
wiking[wiking@sandbox ~/shogun-buildbot]$ echo 'make: foo' | grep -v '^make'21:15
wiking[wiking@sandbox ~/shogun-buildbot]$21:15
@sonney2khmmhh then I don't know why the error occurs21:15
@sonney2kshogun-buildbot, force build bsd1 - libshogun21:17
shogun-buildbotno such builder 'bsd1'21:17
@sonney2kshogun-buildbot, force build "bsd1 - libshogun"21:17
shogun-buildbotbuild #79 forced21:17
shogun-buildbotI'll give a shout when the build finishes21:17
@sonney2kwiking, so lets see...21:17
wikingp[wiking@sandbox ~/shogun-buildbot]$ echo 'make: foo' | grep -E '^make'21:18
wikingmake: foo21:18
wikingsonney2k: maybe you were looking for this?21:18
wikingsonney2k: ok cool lets see21:18
wikingok great i can see that it uses 4 cores \o/21:19
shogun-buildbotbuild #79 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at
wikingit doesn't like that LD_LIBRARY_PATH flag there i guess21:21
wikingsince if i run that cmd in ./build: LD_LIBRARY_PATH=/usr/local/lib/gcc46/ gmake -C src check-examples21:23
wikingit runs fine21:23
wikingdo you maybe need to specify it like this: /usr/local/bin/bash -c 'LD_LIBRARY_PATH=/usr/local/lib/gcc46/ gmake -C src check-examples'21:24
-!- shogun-buildbot [] has quit [Quit: buildmaster reconfigured: bot disconnecting]21:29
-!- shogun-buildbot_ [] has joined #shogun21:29
-!- shogun-buildbot_ [] has quit [Client Quit]21:29
-!- shogun-buildbot [] has joined #shogun21:30
@sonney2kshogun-buildbot, force build "bsd1 - libshogun"21:30
shogun-buildbotbuild #80 forced21:30
shogun-buildbotI'll give a shout when the build finishes21:30
shogun-buildbotbuild #80 of bsd1 - libshogun is complete: Failure [failed compile]  Build details are at
droopywiking, smart21:32
@sonney2kshogun-buildbot, force build "bsd1 - libshogun" "do it again!!!"21:37
shogun-buildbotbuild #81 forced21:37
shogun-buildbotI'll give a shout when the build finishes21:37
shogun-buildbotbuild #81 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at
@sonney2kwiking, I finally understand the error21:41
CIA-18shogun: Soeren Sonnenburg master * r6765c4d / examples/undocumented/libshogun/ : filter make line -
gsomixtime to refrigerator defrosting21:47
gsomixsonney2k, in progress. slow progress.21:47
gsomixlarge cleaning in room today :)21:47
wikinggsomix: :D21:48
droopynot bad21:48
gsomixbtw, my supervisor
gsomixtoday my summer practice for supervisor have ended. :)21:52
shogun-buildbotbuild #82 of bsd1 - libshogun is complete: Success [build successful]  Build details are at
wikingsonney2k: \o/21:54
@sonney2kwiking, heroic effort21:54
@sonney2kwiking, please fix the minor issues in your other PR such that I can merge21:54
wikingsonney2k: now i only will need to find out why swig is not detected by ./configure21:54
@sonney2kgsomix, not everyone can cope with vodka doses like the ones blackburn consumes daily :D21:56
wikingthis is why:21:57
wiking[wiking@sandbox /usr/ports/devel/swig20]$ ls -la /usr/local/bin/|grep swig21:57
wiking-rwxr-xr-x    1 root  wheel    57270 20 Jul 14:35 ccache-swig2.021:57
wiking-rwxr-xr-x    1 root  wheel  1547395 20 Jul 14:35 swig2.021:57
@sonney2kwiking, symlink to swig missing?21:57
wikingsonney2k: noup21:58
@sonney2kgsomix, any chance for a PR today?21:58
wikingsonney2k: afaik this is intentional by the freebsd people21:58
wikingsonney2k: i can make a symlink as doing an automated dectection for swig* is just stupid21:58
@sonney2kgreat job!21:58
wikingsonney2k: or maybe just add a configure flag that sets the swig binary name?21:59
gsomixsonney2k, yep.21:59
-!- heiko [] has joined #shogun22:09
gsomixflood, flood. water on over room :(22:09
gsomixstupid refrigerator22:10
-!- blackburn [~blackburn@] has joined #shogun22:45
blackburnsonney2k: typical person can cope only with 1% of my daily dose yeah \o/23:01
wikingblackburn: the tunnel is back :D23:04
blackburnwiking: that's cool23:04
blackburnwiking: okay actually I have one idea to make some baseline23:04
blackburnwiking: lets just do a histogram of colors23:04
wikingblackburn: ok23:05
wikingblackburn: actually do you have the login/passwd for the cluster?23:05
wikingblackburn: try ssh -p 2002 blackburn@categorizer.tmit.bme.hu23:05
blackburnwell IIRC you did create an acoount23:05
wikingbut dunno the passwd23:05
wikingi can reset it for you23:06
blackburnplease do23:06
blackburnjust 123 I will change it in a sec23:06
wikingdroopy: fix the nis server for me will ya?23:09
droopyholy shit23:09
blackburndroopy: can you do some cancer experiments for me?23:09
droopyblackburn: hehe23:09
* wiking is unittesting the shit out of shogun \o/23:09
gsomixdroopy, do you want to play dota2 a little bit? :]23:14
droopyanything is possible, more than once a phoenix has risen from a fire!23:14
-!- rieck [~rieck@] has left #shogun []23:47
-!- heiko [] has quit [Quit: Leaving.]23:47
-!- heiko [] has joined #shogun23:54
-!- zxtx [] has quit [Ping timeout: 246 seconds]23:57
--- Log closed Sat Jul 21 00:00:17 2012