Open in new window / Try shogun cloud
--- Log opened Sat Nov 16 00:00:26 2013
-!- BowKey [18b37219@gateway/web/freenode/ip.24.179.114.25] has joined #shogun00:34
-!- Boeke [~aboeke@24-179-114-25.dhcp.oxfr.ma.charter.com] has joined #shogun00:48
-!- BowKey [18b37219@gateway/web/freenode/ip.24.179.114.25] has quit [Quit: Page closed]00:49
Boekehello I recently installed shogun 3.0 with the modular python interface. I am unable to load any of the Labels modules. Looking at some of the support resources I suspect am missing something labels depends on. Can anyone help me out?00:52
shogun-buildbot_build #523 of nightly_all is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_all/builds/52303:23
-!- hushell [~hushell@8-12.ptpg.oregonstate.edu] has quit [Ping timeout: 260 seconds]03:49
-!- new_lido [~walid@41.218.175.30] has joined #shogun04:37
shogun-buildbot_build #619 of nightly_default is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/nightly_default/builds/61904:52
-!- hushell [~hushell@c-50-188-141-210.hsd1.or.comcast.net] has joined #shogun04:59
-!- hushell [~hushell@c-50-188-141-210.hsd1.or.comcast.net] has quit [Ping timeout: 245 seconds]05:17
@sonney2kBoeke, just do05:43
@sonney2kimport modshogun as msg05:43
@sonney2kx=msg.BinaryLabels(numpy.array([-1.0,1.0]))05:44
Boekehi thanks for the reply I get the error AttributeError: 'module' object has no attribute 'BinaryLabels'05:47
BoekeI have imported and run other modules but have not had any success  with BinaryLabels05:55
@sonney2kBoeke, not possible...06:32
@sonney2kBoeke, do you perhaps have multiple shogun installs around?06:32
@sonney2kBoeke, I mean an old version of modshogun still had modshogun.Labels06:33
BoekeI should clarify  I can load and run things like GaussianKernel, LibSVMOneClass,RealFeatures but can't get BinaryLabels, MultiClassLabels ect. to load06:40
@sonney2kBoeke, expected that06:43
@sonney2kBoeke, I just replied on the ML - can you import Labels?06:43
Boekeyes I can06:48
@sonney2kBoeke, so you still have an old modshogun installed06:48
@sonney2kfrom version 2.x or so!06:49
Boekeyes I am new to linux and kinda floundered around installing stuff. So I guess I should clean things up and reinstall right?06:50
@sonney2kBoeke, you did compile your own right?06:52
@sonney2kif so get rid of these files /usr/local/lib/python*/*packages/*shogu*06:52
Boekeyes and no I did grab an old pre compiled one and that looks to be a problem06:53
BoekeI'm going to uninstall and reinstall python  and shogun. Thanks for the help.07:03
-!- Boeke [~aboeke@24-179-114-25.dhcp.oxfr.ma.charter.com] has quit [Quit: Leaving]07:21
-!- naywhayare [~ryan@spoon.lugatgt.org] has quit [Ping timeout: 272 seconds]09:47
-!- naywhayare [~ryan@spoon.lugatgt.org] has joined #shogun09:48
-!- taylan [d5f4a885@gateway/web/freenode/ip.213.244.168.133] has quit [Ping timeout: 250 seconds]09:54
-!- naywhayare [~ryan@spoon.lugatgt.org] has quit [Ping timeout: 268 seconds]10:50
-!- naywhayare [~ryan@spoon.lugatgt.org] has joined #shogun11:13
-!- hushell [~hushell@c-50-188-141-210.hsd1.or.comcast.net] has joined #shogun11:52
-!- sonne|osx [~sonne@f053037142.adsl.alicedsl.de] has joined #shogun12:35
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun12:40
shogun-notifier-shogun: Soeren Sonnenburg :develop * 55a5a39 / src/shogun/io/SerializableAsciiReader00.cpp: https://github.com/shogun-toolbox/shogun/commit/55a5a3978cdcbc5543ed8f7f8c8c7a69025b52f112:40
shogun-notifier-shogun: fix compile error on powerpc, sparc and s39012:40
-!- sonne|osx [~sonne@f053037142.adsl.alicedsl.de] has quit [Quit: sonne|osx]12:40
-!- zxtx [~zv@64.134.67.0] has quit [Read error: Operation timed out]12:43
-!- new_lido [~walid@41.218.175.30] has quit [Ping timeout: 245 seconds]12:53
shogun-buildbot_build #320 of FCRH - libshogun is complete: Failure [failed configure]  Build details are at http://buildbot.shogun-toolbox.org/builders/FCRH%20-%20libshogun/builds/320  blamelist: Soeren Sonnenburg <sonne@debian.org>12:54
-!- new_lido [~walid@41.218.174.254] has joined #shogun13:05
shogun-buildbot_build #112 of clang34 - undefined behaviour analysis is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20undefined%20behaviour%20analysis/builds/112  blamelist: Soeren Sonnenburg <sonne@debian.org>13:39
shogun-buildbot_build #110 of clang34 - thread analysis is complete: Failure [failed test]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20thread%20analysis/builds/110  blamelist: Soeren Sonnenburg <sonne@debian.org>13:54
-!- zxtx [~zv@wsip-98-191-61-126.ri.ri.cox.net] has joined #shogun14:23
-!- zxtx [~zv@wsip-98-191-61-126.ri.ri.cox.net] has quit [Ping timeout: 260 seconds]14:35
shogun-buildbot_build #129 of clang34 - static analysis is complete: Failure [failed analyse]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang34%20-%20static%20analysis/builds/129  blamelist: Soeren Sonnenburg <sonne@debian.org>14:36
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]15:40
-!- Boeke [~alex@24-179-114-25.dhcp.oxfr.ma.charter.com] has joined #shogun16:11
@sonney2kBoeke, there is no binary shogun 3;x package yet16:42
@sonney2kBoeke, so you would have to compile manually!16:43
Boekeoh ok I had some trouble doing that16:45
@wikingBoeke: copy-paste your trouble16:47
Boekeok will do16:47
@wikingsonney2k: shouldn't we add debian package stuff to the repo?16:53
@wikingsame with the fedora script?16:54
@sonney2kwiking, distributions don't like that16:54
@sonney2kwiking, it is normal to do it externally16:54
@sonney2kbut it is just libshogun currently :/16:54
@sonney2kwe need a way to build the modular interfaces w/o having the shogun dir around16:55
@wikingsonney2k: only having -dev?16:58
@wikingright?16:58
@sonney2kwiking, yes exactly17:01
@sonney2kI mean we could in the worst case create some shogun symlink to /usr/include/shogun or so for the time being17:01
@sonney2kbut .cpp files are gone17:01
@sonney2kand we should not create a libshogun*so17:01
@sonney2kwiking, I didn't do debian packaging for a few years17:02
@sonney2klooking at it - it was a huge mistake to not have shogun available17:02
@sonney2kfor example17:02
@sonney2kshogun was more popular than weka debian package wise17:02
@sonney2kbut recently weka just skyrocketed17:02
@sonney2kwiking, http://qa.debian.org/developer.php?login=sonne%40debian.org17:03
@sonney2klook at the column Popcon17:03
@sonney2kweka has >800 installs now17:03
@sonney2kbut used to have around 10017:03
@sonney2kand shogun around 300 IIRC17:03
@sonney2kwiking, so if you can do it it would be *very* important17:04
@wikingyep i get it17:07
@sonney2kwiking, if we can complement that with nightly packages we should be back on track!17:09
@wikingwell nightly should be easy ;)17:12
@wikingjust another task + upload it somewhere17:13
@sonney2kwiking, the problem really is the packaging17:14
@sonney2kit took hours to write the copyright file17:14
Boekeso I installed form source  but now I get a new error17:27
Boeke ImportError: libshogun.so.14: cannot open shared object file: No such file or directory17:27
@wikingBoeke: i guess you did make install right?17:30
@wikingwhat do you get if u do ls -la /usr/local/lib/libshogun.so.1417:30
@wiking?17:30
@sonney2kBoeke, and also please do sudo ldconfig afterwards17:30
@wikingsonney2k: what we need actually is a cmake file which is similar to pkg-config17:31
@wikingsonney2k: so basically a way to detect whether libshogun is already installed or not17:32
Boekeoh sorry i get17:34
Boekelrwxrwxrwx 1 root root 17 Nov 16 11:22 /usr/local/lib/libshogun.so.14 -> libshogun.so.14.017:34
@wikingBoeke: ok so u you actually have it there.. well then do what sonney2k just wrote to u. that should do it17:35
Boekeok I did that and it worked. I loaded BinaryLabels. Thank you for all the help!17:36
@wikingsonney2k: btw: i guess we should do a version check as well, or?17:37
@sonney2kwiking, I think we don't need a version check17:37
@wikingsonney2k: i.e. if we detect a shogun 2.x and we have 3.x to generate the modular stuff, then i guess we should error17:38
@sonney2kwiking, or? I mean won't swig generate wrappers for any *.h's?17:38
@sonney2kwiking, yeah indeed - some includes won't be found so it won't work17:38
@sonney2kwiking, if we forget about version checking for the moment - how would we do it?17:49
@sonney2klet me think loudly17:52
@sonney2kso we need to basically do 2 things17:52
@sonney2krun swig17:52
@sonney2kcompile swig wrapper17:52
@sonney2kand link17:52
@sonney2kthat's it17:52
@wikingwell17:58
@wikingwe just run the whole modular thing of cmake17:58
@wikingonly that the include will not be from ./src/... but from /usr/....17:59
@wikingor wherever the detected installed version resides17:59
@wikingsame goes for -L flag17:59
@sonney2kwiking, so all we need is a detection for an already installed shogun - or maybe not a detection but some flag telling it to use that?17:59
@wikingboth18:00
@wikingbut18:00
@wikingwe still need to get like cflags from the config.h18:00
@sonney2kwiking, no no18:00
@wikingwhy?18:00
@sonney2kwe just need to link against libshogun18:00
@sonney2kand compile with -O018:00
@sonney2kremember libshogun is self contained18:00
@wikingyes but how do we compile the .cxx generated by swig?18:00
@sonney2kso no extra deps needed18:00
@sonney2kbut the defines!!18:01
@wikingi mean there are currently heaps of -D flags18:01
@wikingpassed18:01
@sonney2kwe need these yes18:01
@wikingso then18:01
@wikingwe need a config.h -> -D converter18:01
@wikingright?18:01
@sonney2kyes18:01
@sonney2k#define CONFIGURE_OPTIONS "TODO"18:02
@sonney2khaha :)18:02
@wikingand i already see the problem of HAVE_JBLAS in config.h18:02
@wikingas that's really fucked up18:02
@sonney2kand actually we also need18:02
@sonney2kstd=c++11 IIRC?18:02
@wikingbecause let's say the moment u've installed libshogun u did not have jblas but then u decided that u want java_modualr18:02
@wikingthen u'll install jblas18:02
@wikingand then what do u do with the config.h? :)18:02
@wikingthat's actually already installed18:03
@wikingand we suppose to do read-only on config.h18:03
@wikingsame goes for NARRAY_LIB18:03
@wikingand how do you want to enable swig directors? :)18:04
@wikingi mean u just cant18:04
@wiking:P18:04
@sonney2kforget directors18:04
@sonney2kand forget ruby / java for now18:04
@wikingkk18:04
@sonney2klets do the most important interface first18:04
@sonney2kpython18:04
@sonney2kwe don't have such issues there right?18:04
@sonney2k``only'' the c++11 thing18:04
@wikingwell that's ...18:05
@sonney2kwiking, well I could easily write some .py that creates the -DHAVE_HDF5 magic18:09
@sonney2kwiking, shall I?18:09
@wikingmmm18:09
@wikingnooo18:09
@sonney2kwe have python as build dep anyway so it won't matter?18:09
@sonney2kwiking, better ideas?18:09
@wikingeither we can write out into config.h the -D in another variable18:10
@wikinglike for compflags18:10
@wikingor just write a simple cmake script for doing it18:10
@sonney2kwiking, my cmake skills are limited wrt that the python thing I have done in 2 mins max18:11
-!- new_lido [~walid@41.218.174.254] has quit [Ping timeout: 245 seconds]18:12
@sonney2kwiking, I am sick now and cannot do much other than lying around coding so it would rather want to make progress now or never :)18:16
@wikinghehehe18:20
@wikingthere's this command in cmake18:20
@wikinghttp://www.cmake.org/cmake/help/v2.8.11/cmake.html#command:export18:20
-!- zxtx [~zv@ip65-46-187-134.z187-46-65.customer.algx.net] has joined #shogun18:22
-!- new_lido [~walid@41.218.175.173] has joined #shogun18:23
@sonney2kwiking, I don't see how this helps?18:26
@sonney2kwiking, can you help / work on this?18:46
-!- zxtx_ [~zv@ip65-46-187-134.z187-46-65.customer.algx.net] has joined #shogun19:08
-!- zxtx [~zv@ip65-46-187-134.z187-46-65.customer.algx.net] has quit [Read error: Connection reset by peer]19:08
-!- zxtx_ [~zv@ip65-46-187-134.z187-46-65.customer.algx.net] has quit [Ping timeout: 260 seconds]19:21
-!- sonne|osx [~sonne@f053037142.adsl.alicedsl.de] has joined #shogun20:02
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun21:34
-!- mode/#shogun [+o iglesiasg] by ChanServ21:34
-!- new_lido [~walid@41.218.175.173] has quit [Quit: Leaving]22:39
-!- lisitsyn [~lisitsyn@92-240-132-54.clients.tlt.100megabit.ru] has quit [Quit: Leaving.]22:50
--- Log closed Sun Nov 17 00:00:28 2013