--- 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 #shogun | 03:13 | |
-!- FSCV [~FSCV@189.139.135.83] has quit [Ping timeout: 255 seconds] | 03:25 | |
-!- FSCV [~FSCV@173.254.212.46] has joined #shogun | 03: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/293 | 04: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 #shogun | 04: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 #shogun | 05:57 | |
-!- votjak [~votjak@host-46-241-3-209.bbcustomer.zsttk.net] has left #shogun [] | 05:59 | |
-!- blackburn [~lisitsin@mxs.kg.ru] has joined #shogun | 06:44 | |
-!- hoijui [~hoijui@dslb-092-078-043-220.pools.arcor-ip.net] has joined #shogun | 08:19 | |
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has joined #shogun | 09:11 | |
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun | 09:52 | |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 10:12 | |
-!- tp199911 [~thomaspr@2a02:2c40:100:a000:8c7:c933:3db4:f74d] has joined #shogun | 11:04 | |
tp199911 | hey, I have a problem in µpython with labels | 11:05 |
tp199911 | it gives an error on modshogun.BinaryLabels([1,1,-1]) | 11:05 |
n4nd0 | tp199911: hi there | 11:05 |
tp199911 | (or any list or array) | 11:05 |
n4nd0 | what error do you get? | 11:05 |
tp199911 | NotImplementedError: Wrong number or type of arguments for overloaded function 'new_BinaryLabels'. | 11:05 |
n4nd0 | tp199911: what version of shogun are you using? | 11:06 |
tp199911 | an then it gives me the list of the C prototypes | 11:06 |
n4nd0 | tp199911: and also the snippet where that error appears would be very useful | 11:06 |
tp199911 | 2.0.0 I think, and it happens without context, like this in (i-python | 11:07 |
-!- FSCV [~FSCV@189.139.135.83] has joined #shogun | 11:07 | |
-!- FSCV [~FSCV@189.139.135.83] has quit [Remote host closed the connection] | 11:08 | |
n4nd0 | tp199911: ok, let me try out to do sth similar | 11:08 |
tp199911 | ok | 11:08 |
n4nd0 | tp199911: I have to build shogun for python so it might take a bit while | 11:11 |
n4nd0 | tp199911: what interface are you using btw? static or modular | 11:11 |
tp199911 | modular | 11:13 |
n4nd0 | that's nice :) | 11:13 |
tp199911 | I do what I can .) | 11:13 |
tp199911 | ok, I found the culprit | 11:18 |
n4nd0 | good | 11:19 |
n4nd0 | what was it? | 11:19 |
tp199911 | apparently a list or array of int doesn't get typed as float64 (a python2 thing?) | 11:19 |
tp199911 | so modshogun.BinaryLabels(array([1,-1,1], dtype=float64)) fixes it | 11:19 |
n4nd0 | oh yeah I have faced that before | 11:21 |
n4nd0 | not sure if it is just a python2 thing | 11:21 |
tp199911 | it's annoying, that's for sure | 11:29 |
blackburn | tp199911: thanks for pointing this out, there should be a convenient constructor for that I believe | 11:41 |
tp199911 | yes, that would be brilliant | 11:41 |
-!- heiko [~heiko@nat-166-213.internal.eduroam.ucl.ac.uk] has joined #shogun | 11:42 | |
tp199911 | I'm sure I'm not the first one to bump into this | 11:42 |
blackburn | tp199911: well we do what we can.. actually this came from legacy thing - before we really stored it as floats | 11:43 |
tp199911 | I appreciate what you guys do though | 11:43 |
blackburn | that was here for generalization - output scores were of the same type with true labels | 11:43 |
tp199911 | and I'd help out if I was any good at C... .) | 11:43 |
blackburn | tp199911: I'll add a constructor in a few minutes | 11:46 |
tp199911 | blackburn: super! | 11:46 |
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun | 12: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/d04bb506f95b24424ffb6fc90ff31bceec2446e1 | 12:05 |
shogun-notifier- | shogun: Added convenience constructor for BinaryLabels | 12:05 |
blackburn | argh github for windows sucks | 12:06 |
blackburn | tp199911: please try - should work now | 12:06 |
n4nd0 | hehe | 12:06 |
n4nd0 | blackburn: what are you using? | 12:06 |
n4nd0 | I have seen this git bash shell | 12:06 |
n4nd0 | that looked pretty linux-ish actually | 12:07 |
blackburn | n4nd0: I tried that fancy 'github for windows' app | 12:08 |
blackburn | no idea how it managed to do this type of commit | 12: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 |
blackburn | ahh | 12:48 |
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun | 12:55 | |
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has quit [Quit: leaving] | 13:11 | |
-!- n4nd0 [~nando@n150-p30.kthopen.kth.se] has joined #shogun | 13:15 | |
-!- FSCV [~FSCV@173.254.212.46] has joined #shogun | 14:10 | |
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 264 seconds] | 14:17 | |
tp199911 | ok, let me rebuild | 14:23 |
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun | 14:25 | |
tp199911 | @blackburn, I still get the error | 14:51 |
blackburn | tp199911: the same error? | 14:56 |
tp199911 | yes | 14:56 |
tp199911 | I just did: modshogun.BinaryLabels([1,-1,1]) | 14:57 |
blackburn | tp199911: I will try to fix it this evening (in next 3-5 hrs) | 14:57 |
blackburn | so for now please use either dtype=float64 | 14:58 |
blackburn | or 1.0, -1, 1 | 14:58 |
tp199911 | might it not be a better idea to change something in SGVector? | 14:58 |
blackburn | tp199911: nothing is wrong with sgvector | 14:59 |
tp199911 | slap me if I'm completely wrong, but it seems as though the same thing can happen with all parent and sibling classes of CBinaryLabels | 14:59 |
tp199911 | indeed, I get the same behaviour when trying to feed a list/array of ints to Multiclasslabels | 15:01 |
n4nd0 | it seems that it could be a matter of SGVector typemap? | 15:01 |
n4nd0 | but I don't think it is a problem with SGVector directly | 15:02 |
tp199911 | I think you have put it better, n4nd0, but that's indeed along the lines of what I meant | 15:03 |
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout] | 15:05 | |
blackburn | tp199911: your default int could be int64 | 15:05 |
blackburn | that's why it could fail still | 15:05 |
tp199911 | ah, I assume it is, since I am working in a 64-bit environment | 15:06 |
tp199911 | let me try dtype = int | 15:06 |
tp199911 | it works with BinaryLabels(array([1,-1,1], dtype = int32)) | 15:07 |
blackburn | yeah so it requires both int32 and int64 constructors | 15:07 |
blackburn | I put them once I get home today | 15:07 |
tp199911 | this makes me realise how I love duck typing in Python :-) | 15:08 |
blackburn | be back in a hour or so | 15:09 |
-!- blackburn [~lisitsin@mxs.kg.ru] has quit [Quit: Leaving.] | 15:09 | |
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun | 16: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 #shogun | 16:53 | |
n4nd0 | blackburn: I pushed something for the constructors with int64 | 17:17 |
blackburn | let me check | 17:30 |
blackburn | okay thanks | 17:31 |
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun | 17:31 | |
shogun-notifier- | shogun: iglesias :master * fc7e2dc / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/fc7e2dcc1b70a9e8ba97df728f473e6c1566b66e | 17:31 |
shogun-notifier- | shogun: + Added one more convenience constructor for BinaryLabels | 17:31 |
shogun-notifier- | shogun: Sergey Lisitsyn :master * c1e89cb / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/c1e89cbed49000d1f312dc3d638ec7fed2b7428f | 17:31 |
shogun-notifier- | shogun: Merge pull request #893 from iglesias/master | 17:31 |
shogun-notifier- | shogun: | 17:31 |
shogun-notifier- | shogun: Added one more convenience constructor for BinaryLabels | 17:31 |
n4nd0 | tp199911: you can try it out now | 17:33 |
n4nd0 | I checked and you shouldn't need the dtype any more | 17: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 |
n4nd0 | lol my patched made the C++ compiler disappear | 17: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 #shogun | 17: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/ddd10aa2697a7a03211fb9f13646f4fee6f726cf | 17:56 |
shogun-notifier- | shogun: Disabled recent constructors for java | 17: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/566 | 18: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/370a2eede7a01a1c38301fcd8fe3765f8baf6d0b | 18:44 |
shogun-notifier- | shogun: Guarded conflicting method in dense labels | 18:44 |
-!- alexlovesdata [~binder@alex-tmp2.ml.tu-berlin.de] has joined #shogun | 18: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 |
blackburn | hah okay | 19:19 |
shogun-notifier- | shogun: Sergey Lisitsyn :master * 2dd4049 / src/shogun/labels/ (4 files): https://github.com/shogun-toolbox/shogun/commit/2dd4049060a034920047a9ac467e0e54382fe263 | 19:24 |
shogun-notifier- | shogun: Same guards for c sharp | 19: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/560bcf47b52cbc538ad51b5b473278c67bd8c441 | 19:57 |
shogun-notifier- | shogun: Fixed typo | 19: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 #shogun | 21:01 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 21:37 | |
-!- sumit [73f91219@gateway/web/freenode/ip.115.249.18.25] has joined #shogun | 21: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 #shogun | 22: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 #shogun | 23: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!