Open in new window / Try shogun cloud
--- Log opened Thu Jul 31 00:00:38 2014
-!- kislay [~Abhijeet@] has quit [Read error: Connection reset by peer]00:13
-!- pickle27 [] has joined #shogun00:19
-!- pickle27 [] has quit [Remote host closed the connection]01:16
-!- mE\Ta [~rain@] has quit [Ping timeout: 245 seconds]02:37
-!- pickle27 [] has joined #shogun02:40
-!- travis-ci [] has joined #shogun03:26
travis-ci[travis-ci] it's khalednasr's turn to pay the next round of drinks for the massacre he caused in khalednasr/shogun:
-!- travis-ci [] has left #shogun []03:26
-!- pickle27 [] has quit [Remote host closed the connection]03:52
-!- pickle27 [] has joined #shogun03:53
-!- pickle27 [] has quit [Client Quit]03:54
-!- wiking [~wiking@huwico/staff/wiking] has quit [Quit: leaving]04:11
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun04:17
-!- mode/#shogun [+o wiking] by ChanServ04:17
-!- cheng [cb8fa5a2@gateway/web/freenode/ip.] has joined #shogun05:31
chengHi guys, anybody awake yet? As usual, I have a noob question about compilation on OSX.05:32
cheng2 issues: First, for some reason the variational_approx_example.cpp doesn't compile. It dies asking for a _main symbol. After removing it from CMakeLists.txt, compilation completes.05:33
chengSecond: with the python modular interface, import modshogun gives a segmentation fault.05:34
chengI'm guessing it is some sort of path problem, but I've looked at a few standard things, but nothing seems to help.05:35
chengI'm compiling the develop branch from github05:38
@wikingmmm hey05:39
@wikingcheng: what is your swig versio?05:39
chengSwig version 3.0.205:40
@wikingi have a bad nes for you05:40
chengI need some special swig version?05:41
@wikingyeah unfortunately until we dont find out what's happening05:42
@wikingyou would need swig205:42
@wikingif you want modular interface05:42
chengI see. I'll try to downgrade.05:42
@wikingsorry for the inconvenience...05:43
chengPrice for being bleeding edge. :-)05:44
chengDowngraded to swig 2.0.12. Still segfaulting. What's the right environment variable to set for lib on OSX?05:59
@wikingyou need to set PYTHONPATH06:14
@wikingand DYLD_LIBRARY_PATH06:14
chengHmm.. I have those environment variables right.06:42
chengmake install puts my python code into site-packages and not dist-packages, but I assume that with PYTHONPATH pointing to site-packages, then it should be ok.06:43
@wikingi.e. dist-packages = debian stuff06:44
@wikingeverywhere else it's site-packages06:44
chengby using python -v, it seems that I'm calling dlopen("./", 2);06:45
@wikingwhere's your PYTHONPATH pointing exactly?06:46
@wikinghow do you import shogun?06:55
chengfresh python terminal.06:55
@wikingcheng: can you plz paste the output of this: ls /Users/cong/lib/python2.7/site-packages06:56 is in /Users/cong/lib/python2.7/site-packages06:56
@wikingbtw how's winter over there? :)06:56
cheng$ ls /Users/cong/lib/python2.7/site-packages/ OptWok-0.4-py2.7.egg-infomodshogun.pyc _modshogun.sooptwok cartopyshogun06:56
chengWinter is pretty good in Australia. Temperature is 16C at the moment here in Canberra.06:57
@wikingis there anything in /Users/cong/lib/python2.7/site-packages/shogun ?06:57
@wikingcheng: what the heck r u doing in canberra again? :)06:57
cheng$ ls /Users/cong/lib/python2.7/site-packages/shogun/ ClassifierDistributionKernelMathematicsStatistics ClusteringEvaluationLatentModelSelectionStructure DistanceIOLossRegression06:57
@wikingokok that's the old shogun stuff...06:57
chengThey closed the lab down in Melbourne. Tough story...06:57
@wikingso you r in nicta on london circuit?06:57
chengBasically, bioinformatics was not that popular in NICTA.06:58
chengSo, now I'm back in the machine learning group.06:58
chengThe same one.06:58
@wikingthat was always pretty good @ nicta in canberra06:58
@wikingi've just relocated to singapore... if you happend to b around drop me a msg06:58
chengOh where to?06:58
@wikingah i'm just nowhere now06:59
@wikingi've come here coz of my wife06:59
chengI lived there for two years ages ago.06:59
@wikingso i'm now just hanging around... till i find something06:59
chengWhat type of job are you looking for?06:59
@wikingmmm anything :)06:59
chengI know a few people there.06:59
@wikinghappy to do anything if it's interesting06:59
@wikingyou know ML (possibly shogun) :P07:00
@wikingusual stuff :>07:00
chengSend me your resume:
@wikingehehh cool will do07:00
@wikingthnx heaps!07:00
@wikinglet's see your problem though07:00
chengThese path craziness is killing me. /usr/local/lib/python2.7/site-packages does not contain shogun.07:01
@wikingPYTHONPATH=/Users/wiking/shogun-latest-build/lib/python2.7/site-packages DYLD_LIBRARY_PATH=/Users/wiking/shogun-latest-build/lib ipython07:01
@wikingimport modshogun07:02
@wikingthat does it for me07:02
@wikingso i would say07:02
@wikingin your case07:02
@wikingPYTHONPATH=<the same one you've just pasted> DYLD_LIBRARY_PATH=/Users/cong/lib python07:03
@wikingi assume the libshogun.16.1.dylib is in /Users/cong/lib07:03
@wikingok  then try that07:03
chengHuh, that works!07:04
chengWhat in the world is wrong with my path?07:04
chengMaybe dist-packages?07:05
@wikingit's just that you haven't installed shogun07:05
@wikingto a default path07:05
@wikingthat's why you have to do these tricks07:05
@wikingyou can set -DDCMAKE_INSTALL_PREFIX=/usr/local07:05
chengAll those exports in .profile doesn't do it??07:05
@wikingi mean cmake -DCMAKE_INSTALL_PREFIX=/usr/local07:06
@wikingand that will then isntall shogun under /usr/local/lib...07:06
chengI did set INSTALL_PREFIX to /Users/cong/lib07:06
@wikingthen you have to set the right env variables07:06
@wikingah yeah07:07
chengI set environment variables in .profile07:07
@wikingyou can set then there07:07
chengcong:~ cong$ env | grep DYLD DYLD_LIBRARY_PATH=/Users/cong/lib: cong:~ cong$ env | grep PYTHONPATH PYTHONPATH=/Users/cong/lib/python2.7/site-packages:/usr/local/lib/python2.7/site-packages: cong:~ cong$ python Python 2.7.6 (default, Mar 27 2014, 09:59:51)  [GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import modshogun Segmentation fault: 11 07:08
chengOops, sorry for the lack of newlines.07:08
chengmaybe my python is not reading the environment variables?07:08
chengwhich python07:09
chenggives /usr/local/bin/python07:10
chengRed herring! Sorry, In the window with the paths set before calling python, I accidentally imported shogun, *not* modshogun.07:11
chengThat still segfaults.07:11
@wikingwhats your osx version?07:12
@wikingsame here :S07:12
chengcmake version 3.0.007:13
@wikinggotta run out for 30 mins07:13
@wikingif u r still around07:13
@wikingwe can debug it07:13
chengThanks for your patience @wiking!07:13
-!- kislay [~Abhijeet@] has joined #shogun07:37
-!- shogun-notifier- [] has joined #shogun09:55
shogun-notifier-shogun: Fernando Iglesias :develop * 30d89be / src/shogun/ui/GUIClassifier.cpp:
shogun-notifier-shogun: Use the correct guard (HAVE_EIGEN3 instead of HAVE_EIGEN) in GUIClassifier. This fixes broken test in cmdline static.09:55
shogun-notifier-shogun: Fernando Iglesias :develop * 5c91980 / src/shogun/ui/GUIClassifier.cpp:
shogun-notifier-shogun: Merge pull request #2436 from iglesias/fix/cmdline_static_classifier_lda_test09:55
shogun-notifier-shogun: Use the correct guard (HAVE_EIGEN3 instead of HAVE_EIGEN)09:55
shogun-buildbotbuild #3143 of deb1 - libshogun is complete: Failure [failed test]  Build details are at  blamelist: Fernando Iglesias <>10:00
-!- kislay [~Abhijeet@] has quit [Quit: Leaving]10:00
-!- PirosB3 [~pirosb3@] has joined #shogun10:02
-!- travis-ci [] has joined #shogun10:30
travis-ci[travis-ci] it's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun:
-!- travis-ci [] has left #shogun []10:30
@thoralfwiking: You pinged me yesterday.10:50
@thoralfI've got a few minutes now.10:51
-!- travis-ci [] has joined #shogun10:53
travis-ci[travis-ci] it's Fernando Iglesias's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun:
-!- travis-ci [] has left #shogun []10:53
@wikingthoralf: hey morning10:54
@wikingthoralf: yeh i was wondering about your idea about protobuf10:54
@thoralfwiking: Well, HeikoS said he wants to get rid of out home-grown serialization stuff and wants to use boost for it.  I suggested to use protobuf, because we already have this dependency.10:56
@thoralfI discussed boost vs. protobuf once and I've been told that protobuf is more lightweight and less overengineered.10:57
@thoralfBut I don't have *strong* emotions on this.10:57
@thoralfMy main point was not to talk about boost as long as we don't know why to not use protobuf.10:58
@thoralfI also like the boost API.11:00
@thoralfIn any case... we have to check how to integrate this to shogun without writing each mapping by hand.11:01
@thoralfwiking: What do you think about this?11:01
@wikingjust a sec i had a call11:06
@wikingcouldn't read till now11:06
@wikingyeah but the thing is that it was till now a really good thing that having our own serialization engine11:08
@wikingwe could produce different outputs11:08
@wikingi.e. json, xml, protobuf11:09
@wikingand there are far better serialization libraries out there than protobuf11:09
@wikingcheck this for example:
@wikingor avro for that matter11:09
@wikingshogun-buildbot: force build --branch=develop 'deb1 - libshogun'11:43
shogun-buildbotbuild forced [ETA 5m11s]11:43
shogun-buildbotI'll give a shout when the build finishes11:43
-!- cheng [cb8fa5a2@gateway/web/freenode/ip.] has quit [Quit: Page closed]11:43
shogun-buildbotbuild #3144 of deb1 - libshogun is complete: Success [build successful]  Build details are at
@wikingshogun-buildbot: force build --branch=develop 'deb2 - static_interfaces'11:44
shogun-buildbotbuild forced [ETA 3m14s]11:44
shogun-buildbotI'll give a shout when the build finishes11:44
shogun-buildbotbuild #2260 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at
@thoralfwiking: I like avro a lot.12:17
@thoralfwiking: Still we have to see how to integrate all this stuff.12:17
@thoralfwiking: Anyway, I shouldn't put my opinion on this because I never used this serialization.  The whole discussion started with things to throw out with serialization as one example.12:18
@thoralfwiking: Then HeikoS said he wants to use boost serialization.12:19
@thoralfwiking: Then I said why not protobuf, because we already depend on this one.12:19
@thoralfNow we're here. ;)12:19
@thoralfAm, btw., the first point on our list was to put promote the nightly images so that we can offer "easy" installation of shogun for various distributions.12:20
-!- thoralf [] has quit [Quit: Konversation terminated!]12:22
-!- rajul [~rajul@] has joined #shogun12:27
-!- thoralf [] has joined #shogun12:28
-!- mode/#shogun [+o thoralf] by ChanServ12:28
@besser82thoralf, wiking:  Workshop Videos are online, now!  See the mailinglist for an announcement && links... ^^12:48
@besser82wiking, do we want to make a torrent, too?12:48
-!- rajul [~rajul@] has quit [Ping timeout: 260 seconds]12:52
-!- shogun-notifier- [] has quit [Quit: transmission timeout]12:56
@wikingno that's fine if its' on youtube13:10
-!- HeikoS [] has joined #shogun13:12
-!- mode/#shogun [+o HeikoS] by ChanServ13:12
@besser82HeikoS, g' morning! ^^13:13
@besser82HeikoS:  Workshop Videos are online, now!  See the mailinglist for an announcement && links... ^^13:13
@HeikoSbesser82: i just saw them13:13
@HeikoSbesser82: nice! thanks13:13
@besser82HeikoS, np yw!  :D13:13
@HeikoSbesser82: bit of a pityy with the sound13:13
@besser82HeikoS, why?13:13
@besser82HeikoS, like clipping?13:14
@besser82HeikoS, or you talking about the side-noise...13:14
@HeikoSbesser82: like the mic input is too much13:16
@HeikoSbesser82:  not your fault13:16
@besser82HeikoS, *phew* then i'm a a bit released, now! ^^13:17
@besser82HeikoS, do we want to share them by bittorrent, too?13:17
@besser82HeikoS, I have enconded all vids with ogg/theora in CATV airing quali;  yt somehow reprocesses them with a lousier quali...13:22
@HeikoSbesser82: could you share the raw data?13:23
@besser82HeikoS, you mean the disk_img from the sdcards?13:24
@besser82HeikoS, files on it isn't touched and are encoded as MPEG-2-streams...13:24
@besser82HeikoS, vids on yt are mainly untouched; just cut a bit at the beginning and the end...13:25
@besser82HeikoS, and I tried to get the 'noise' out from them as good as possible...13:26
-!- PirosB3 [~pirosb3@] has quit [Ping timeout: 250 seconds]13:26
@besser82HeikoS, or what do you mean by `raw` data...13:28
-!- mE\Ta [~rain@] has joined #shogun13:34
-!- HeikoS [] has quit [Quit: Leaving.]13:47
@lisitsynbesser82: so how was the workshop? ;)13:59
@besser82lisitsyn, *very* nice && good  ^^14:04
@besser82lisitsyn, how was your move to moscow?14:04
@lisitsynbesser82: crazy :)14:05
@besser82lisitsyn, let's move query  ;)14:05
-!- soumyaC [uid15286@gateway/web/] has joined #shogun14:20
-!- PirosB3 [~pirosb3@] has joined #shogun14:31
PirosB3Hi all, I have a list of 10 parameters of a function. Each parameter is a boolean value. As the function needs to be very performant, I need to find an intelligent way of caching. Each set of paramenters has a unique output that can be cached. Said this, it probabily is better to cached the most used common parameters first, and the less common used latest (I'm thinking of a sort of decision tree). Is there any algorithm you can suggest to handle this14:35
PirosB3problem? thanks!14:35
@lisitsynPirosB3: hey, it looks like something similar to tree in huffman coding14:55
@lisitsynso its like decision tree yes14:55
PirosB3but how can I encode it?14:55
PirosB3how can I find the best split14:56
PirosB3I have a list of all occurrancies for each parameter14:56
@lisitsynok let me think14:56
@lisitsynso you have like 101010101014:56
PirosB3ex: ('(False, False, False, True, False, True, True, True, True, False)', called 9398 times),14:56
@lisitsynahh ok14:56
PirosB3('(False, True, False, False, False, True, True, False, False, True)', 6020),14:56
PirosB3called 6020 times14:56
@lisitsynyeah got it so you need to optimize for this frequent cases14:57
PirosB3it's a cool problem, and probably an overkill for what I'm doing14:57
@lisitsynthen you need some kind of prefix tree but still not clear how to split it14:57
PirosB3what about if I write a cost fn14:57
PirosB3where cost == number of times called14:57
PirosB3but then, once I write that, I still don't know how to split :D14:58
@lisitsynPirosB3: what's pretty clear is that you'd need some kind of tree each node of which checks multiple bits at the moment15:07
@lisitsynI mean basic tree won't make it faster for you15:07
PirosB3what I could do15:08
PirosB3is actually encode the "cost" in between transitions15:09
PirosB3from one state to another state15:09
PirosB3each decision makes a split15:09
PirosB3then just use some optimizer15:09
-!- parijat [75c7d150@gateway/web/freenode/ip.] has joined #shogun15:15
-!- parijat [75c7d150@gateway/web/freenode/ip.] has quit [Ping timeout: 246 seconds]15:19
-!- sonne|work [] has quit [Ping timeout: 272 seconds]15:23
-!- sonne|work [] has joined #shogun15:23
@wikingsonne|work: ping :)15:29
sonne|workwiking: pong15:31
@wikingsonne|work: no news yet?15:33
-!- lambday [7aa773d8@gateway/web/freenode/ip.] has joined #shogun15:37
sonne|workwiking: they are asking for some tax id which we don't have and I told them so...15:41
@wikingso we are now hanging in the air :)15:41
-!- PirosB3 [~pirosb3@] has quit [Quit: PirosB3]15:42
-!- PirosB3 [~pirosb3@] has joined #shogun15:52
-!- yorkerlin [81617cb4@gateway/web/freenode/ip.] has joined #shogun15:52
lambdaywiking: hi!15:57
lambdaywiking: can we merge linalg to develop now?15:57
lambdaywiking: I too needed to add a few methods there15:57
-!- PirosB3 [~pirosb3@] has quit [Quit: PirosB3]15:59
@wikinglambday: no not yet16:16
@wikinglambday: i want to test it on a machine16:16
@wikingbefore actually merging it16:16
lambdaywiking: yeah that would be the best16:16
@wikingwhich means we need a builtbot16:16
@wikingfor that16:16
@wikingwhich is actually under progress16:17
@wikingbut we dont know yet when it's going to be ready16:17
@wikingi hope this week16:17
lambdaywiking: so as of now I am working on feature/linalg branch only16:17
lambdayand send PRs there16:17
@wikingyeah i see that16:20
@wikingheiko pointed on gsomix as being me :DDD16:57
-!- yorkerlin [81617cb4@gateway/web/freenode/ip.] has quit [Ping timeout: 246 seconds]17:43
-!- khalednasr [~k.nasr92@] has joined #shogun18:33
-!- kislay [~Abhijeet@] has joined #shogun18:34
-!- kislay [~Abhijeet@] has quit [Remote host closed the connection]18:35
-!- kislay [~Abhijeet@] has joined #shogun18:36
-!- kislay [~Abhijeet@] has quit [Remote host closed the connection]18:37
-!- kislay [~Abhijeet@] has joined #shogun18:38
-!- kislay [~Abhijeet@] has quit [Read error: Connection reset by peer]18:39
-!- parijat [75c7daa3@gateway/web/freenode/ip.] has joined #shogun18:47
-!- khalednasr [~k.nasr92@] has quit [Quit: Leaving]18:56
-!- kislay [~Abhijeet@] has joined #shogun18:57
-!- kislay_ [~Abhijeet@] has joined #shogun19:06
-!- kislay [~Abhijeet@] has quit [Ping timeout: 255 seconds]19:09
-!- HeikoS [] has joined #shogun19:13
-!- mode/#shogun [+o HeikoS] by ChanServ19:14
-!- parijat [75c7daa3@gateway/web/freenode/ip.] has quit [Ping timeout: 246 seconds]19:14
-!- HeikoS [] has quit [Client Quit]19:15
@besser82HeikoS, you got my mail about the different torrents?19:15
@besser82HeikoS, so you can pick the one which fits what you want and leech it...19:16
-!- HeikoS [] has joined #shogun19:16
-!- mode/#shogun [+o HeikoS] by ChanServ19:16
@besser82HeikoS, you got my mail about the different torrents?19:16
@besser82HeikoS, so you can pick the one which fits what you want and leech it...19:16
-!- HeikoS [] has quit [Client Quit]19:17
-!- kislay_ [~Abhijeet@] has quit [Ping timeout: 255 seconds]19:30
-!- rajul [~rajul@] has joined #shogun19:57
-!- parijat [75c7daa3@gateway/web/freenode/ip.] has joined #shogun20:10
-!- princearora [~princearo@] has joined #shogun20:33
-!- kislay_ [~Abhijeet@] has joined #shogun21:38
-!- princearora [~princearo@] has quit [Ping timeout: 272 seconds]21:41
-!- rajul [~rajul@] has quit [Quit: Leaving]21:43
-!- kislay_ [~Abhijeet@] has quit [Read error: Connection reset by peer]21:45
@wikingy u no build22:27
-!- pickle27 [] has joined #shogun23:36
-!- pickle27 [] has quit [Remote host closed the connection]23:44
-!- parijat [75c7daa3@gateway/web/freenode/ip.] has quit [Quit: Page closed]23:56
--- Log closed Fri Aug 01 00:00:39 2014