IRC logs of #shogun for Monday, 2013-02-25

--- Log opened Mon Feb 25 00:00:50 2013
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 255 seconds]00:47
-!- zxtx [~zv@c-24-18-130-24.hsd1.wa.comcast.net] has quit [Ping timeout: 245 seconds]01:44
-!- FSCV [~FSCV@189.139.135.83] has joined #shogun03:13
-!- FSCV [~FSCV@189.139.135.83] has quit [Ping timeout: 255 seconds]03:25
-!- FSCV [~FSCV@173.254.212.46] has joined #shogun03:25
-!- blackburn [~blackburn@85.114.170.181] has quit [Quit: Leaving.]03:50
shogun-buildbot_build #293 of nightly_default is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/29304:16
-!- FSCV [~FSCV@173.254.212.46] has quit [Quit: This computer has gone to sleep]04:17
-!- FSCV [~FSCV@189.139.135.83] has joined #shogun04:29
-!- FSCV [~FSCV@189.139.135.83] has quit [Ping timeout: 244 seconds]04:33
-!- votjak [~votjak@host-46-241-3-209.bbcustomer.zsttk.net] has joined #shogun05:57
-!- votjak [~votjak@host-46-241-3-209.bbcustomer.zsttk.net] has left #shogun []05:59
-!- blackburn [~lisitsin@mxs.kg.ru] has joined #shogun06:44
-!- hoijui [~hoijui@dslb-092-078-043-220.pools.arcor-ip.net] has joined #shogun08:19
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has joined #shogun09:11
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun09:52
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun10:12
-!- tp199911 [~thomaspr@2a02:2c40:100:a000:8c7:c933:3db4:f74d] has joined #shogun11:04
tp199911hey, I have a problem in µpython with labels11:05
tp199911it gives an error on modshogun.BinaryLabels([1,1,-1])11:05
n4nd0tp199911: hi there11:05
tp199911(or any list or array)11:05
n4nd0what error do you get?11:05
tp199911NotImplementedError: Wrong number or type of arguments for overloaded function 'new_BinaryLabels'.11:05
n4nd0tp199911: what version of shogun are you using?11:06
tp199911an then it gives me the list of the C prototypes11:06
n4nd0tp199911: and also the snippet where that error appears would be very useful11:06
tp1999112.0.0 I think, and it happens without context, like this in (i-python11:07
-!- FSCV [~FSCV@189.139.135.83] has joined #shogun11:07
-!- FSCV [~FSCV@189.139.135.83] has quit [Remote host closed the connection]11:08
n4nd0tp199911: ok, let me try out to do sth similar11:08
tp199911ok11:08
n4nd0tp199911: I have to build shogun for python so it might take a bit while11:11
n4nd0tp199911: what interface are you using btw? static or modular11:11
tp199911modular11:13
n4nd0that's nice :)11:13
tp199911I do what I can .)11:13
tp199911ok, I found the culprit11:18
n4nd0good11:19
n4nd0what was it?11:19
tp199911apparently a list or array of int doesn't get typed as float64 (a python2 thing?)11:19
tp199911so modshogun.BinaryLabels(array([1,-1,1], dtype=float64)) fixes it11:19
n4nd0oh yeah I have faced that before11:21
n4nd0not sure if it is just a python2 thing11:21
tp199911it's annoying, that's for sure11:29
blackburntp199911: thanks for pointing this out, there should be a convenient constructor for that I believe11:41
tp199911yes, that would be brilliant11:41
-!- heiko [~heiko@nat-166-213.internal.eduroam.ucl.ac.uk] has joined #shogun11:42
tp199911I'm sure I'm not the first one to bump into this11:42
blackburntp199911: well we do what we can.. actually this came from legacy thing - before we really stored it as floats11:43
tp199911I appreciate what you guys do though11:43
blackburnthat was here for generalization - output scores were of the same type with true labels11:43
tp199911and I'd help out if I was any good at C... .)11:43
blackburntp199911: I'll add a constructor in a few minutes11:46
tp199911blackburn: super!11:46
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun12:05
shogun-notifier-shogun: Sergey Lisitsyn :master * d04bb50 / src/shogun/labels/BinaryLabels.cpp,src/shogun/labels/BinaryLabels.h: https://github.com/shogun-toolbox/shogun/commit/d04bb506f95b24424ffb6fc90ff31bceec2446e112:05
shogun-notifier-shogun: Added convenience constructor for BinaryLabels12:05
blackburnargh github for windows sucks12:06
blackburntp199911: please try - should work now12:06
n4nd0hehe12:06
n4nd0blackburn: what are you using?12:06
n4nd0I have seen this git bash shell12:06
n4nd0that looked pretty linux-ish actually12:07
blackburnn4nd0: I tried that fancy 'github for windows' app12:08
blackburnno idea how it managed to do this type of commit12:08
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has quit [Ping timeout: 246 seconds]12:35
shogun-buildbot_build #832 of deb3 - modular_interfaces is complete: Failure [failed compile java_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/832  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>12:37
blackburnahh12:48
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun12:55
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has quit [Quit: leaving]13:11
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun13:15
-!- FSCV [~FSCV@173.254.212.46] has joined #shogun14:10
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 264 seconds]14:17
tp199911ok, let me rebuild14:23
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun14:25
tp199911@blackburn, I still get the error14:51
blackburntp199911: the same error?14:56
tp199911yes14:56
tp199911I just did: modshogun.BinaryLabels([1,-1,1])14:57
blackburntp199911: I will try to fix it this evening (in next 3-5 hrs)14:57
blackburnso for now please use either dtype=float6414:58
blackburnor 1.0, -1, 114:58
tp199911might it not be a better idea to change something in SGVector?14:58
blackburntp199911: nothing is wrong with sgvector14:59
tp199911slap me if I'm completely wrong, but it seems as though the same thing can happen with all parent and sibling classes of CBinaryLabels14:59
tp199911indeed, I get the same behaviour when trying to feed a list/array of ints to Multiclasslabels15:01
n4nd0it seems that it could be a matter of SGVector typemap?15:01
n4nd0but I don't think it is a problem with SGVector directly15:02
tp199911I think you have put it better, n4nd0, but that's indeed along the lines of what I meant15:03
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]15:05
blackburntp199911: your default int could be int6415:05
blackburnthat's why it could fail still15:05
tp199911ah, I assume it is, since I am working in a 64-bit environment15:06
tp199911let me try dtype = int15:06
tp199911it works with BinaryLabels(array([1,-1,1], dtype = int32))15:07
blackburnyeah so it requires both int32 and int64 constructors15:07
blackburnI put them once I get home today15:07
tp199911this makes me realise how I love duck typing in Python :-)15:08
blackburnbe back in a hour or so15:09
-!- blackburn [~lisitsin@mxs.kg.ru] has quit [Quit: Leaving.]15:09
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun16:08
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has quit [Ping timeout: 245 seconds]16:22
-!- hoijui [~hoijui@dslb-092-078-043-220.pools.arcor-ip.net] has quit [Read error: Operation timed out]16:42
-!- blackburn [~blackburn@185.6.239.70] has joined #shogun16:53
n4nd0blackburn: I pushed something for the constructors with int6417:17
blackburnlet me check17:30
blackburnokay thanks17:31
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun17:31
shogun-notifier-shogun: iglesias :master * fc7e2dc / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/fc7e2dcc1b70a9e8ba97df728f473e6c1566b66e17:31
shogun-notifier-shogun: + Added one more convenience constructor for BinaryLabels17:31
shogun-notifier-shogun: Sergey Lisitsyn :master * c1e89cb / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/c1e89cbed49000d1f312dc3d638ec7fed2b7428f17:31
shogun-notifier-shogun: Merge pull request #893 from iglesias/master17:31
shogun-notifier-shogun:17:31
shogun-notifier-shogun: Added one more convenience constructor for BinaryLabels17:31
n4nd0tp199911: you can try it out now17:33
n4nd0I checked and you shouldn't need the dtype any more17:33
shogun-buildbot_build #565 of cyg1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/565  blamelist: iglesias <fernando.iglesiasg@gmail.com>17:51
n4nd0lol my patched made the C++ compiler disappear17:52
shogun-buildbot_build #833 of deb3 - modular_interfaces is complete: Failure [failed compile java_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/833  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>17:54
-!- hoijui [~hoijui@141.23.95.39] has joined #shogun17:54
shogun-notifier-shogun: Sergey Lisitsyn :master * ddd10aa / src/shogun/labels/BinaryLabels.cpp,src/shogun/labels/BinaryLabels.h: https://github.com/shogun-toolbox/shogun/commit/ddd10aa2697a7a03211fb9f13646f4fee6f726cf17:56
shogun-notifier-shogun: Disabled recent constructors for java17:56
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has quit [Quit: leaving]18:12
shogun-buildbot_build #834 of deb3 - modular_interfaces is complete: Failure [failed compile java_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/834  blamelist: iglesias <fernando.iglesiasg@gmail.com>18:14
shogun-buildbot_build #566 of cyg1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/56618:18
shogun-buildbot_build #835 of deb3 - modular_interfaces is complete: Failure [failed compile java_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/835  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>18:29
shogun-notifier-shogun: Sergey Lisitsyn :master * 370a2ee / src/shogun/labels/DenseLabels.cpp,src/shogun/labels/DenseLabels.h: https://github.com/shogun-toolbox/shogun/commit/370a2eede7a01a1c38301fcd8fe3765f8baf6d0b18:44
shogun-notifier-shogun: Guarded conflicting method in dense labels18:44
-!- alexlovesdata [~binder@alex-tmp2.ml.tu-berlin.de] has joined #shogun18:55
shogun-buildbot_build #836 of deb3 - modular_interfaces is complete: Failure [failed compile csharp_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/836  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>19:19
blackburnhah okay19:19
shogun-notifier-shogun: Sergey Lisitsyn :master * 2dd4049 / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/2dd4049060a034920047a9ac467e0e54382fe26319:24
shogun-notifier-shogun: Same guards for c sharp19:24
shogun-buildbot_build #837 of deb3 - modular_interfaces is complete: Failure [failed compile csharp_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/837  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>19:54
shogun-notifier-shogun: Sergey Lisitsyn :master * 560bcf4 / src/shogun/labels/DenseLabels.h: https://github.com/shogun-toolbox/shogun/commit/560bcf47b52cbc538ad51b5b473278c67bd8c44119:57
shogun-notifier-shogun: Fixed typo19:57
-!- hoijui [~hoijui@141.23.95.39] has quit [Ping timeout: 252 seconds]20:29
shogun-buildbot_build #838 of deb3 - modular_interfaces is complete: Failure [failed test python_modular]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/838  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>20:41
-!- heiko [~heiko@nat-166-213.internal.eduroam.ucl.ac.uk] has left #shogun []20:50
-!- hoijui [~hoijui@141.23.95.39] has joined #shogun21:01
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun21:37
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun21:59
-!- hoijui [~hoijui@141.23.95.39] has quit [Read error: Operation timed out]22:00
-!- FSCV [~FSCV@173.254.212.46] has quit [Ping timeout: 255 seconds]22:28
-!- FSCV [~FSCV@173.254.212.46] has joined #shogun22:40
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]22:57
-!- hoijui [~hoijui@dslb-092-078-043-220.pools.arcor-ip.net] has joined #shogun23:10
-!- blackburn [~blackburn@185.6.239.70] has quit [Ping timeout: 252 seconds]23:17
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 255 seconds]23:32
-!- alexlovesdata [~binder@alex-tmp2.ml.tu-berlin.de] has left #shogun []23:48
--- Log closed Tue Feb 26 00:00:50 2013

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