IRC logs of #shogun for Thursday, 2013-08-22

--- Log opened Thu Aug 22 00:00:25 2013
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has quit [Quit: Ex-Chat]00:02
shogun-buildbotbuild #1460 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1460  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>00:04
shogun-buildbotbuild #1461 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1461  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Kevin <kevinhughes27@gmail.com>00:04
shogun-buildbotbuild #958 of rpm1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/958  blamelist: hushell <hushell@hushell-U510.(none)>00:06
shogun-buildbotbuild #26 of osx1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/osx1%20-%20libshogun/builds/26  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Kevin <kevinhughes27@gmail.com>00:08
shogun-buildbotbuild #1492 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1492  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Kevin <kevinhughes27@gmail.com>00:08
shogun-buildbotbuild #1576 of deb3 - modular_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/157600:15
shogun-buildbotbuild #1282 of cyg1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/1282  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>00:17
-!- travis-ci [~travis-ci@ec2-54-234-140-21.compute-1.amazonaws.com] has joined #shogun00:20
travis-ci[travis-ci] it's Sergey Lisitsyn's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/1046969700:20
-!- travis-ci [~travis-ci@ec2-54-234-140-21.compute-1.amazonaws.com] has left #shogun []00:20
shogun-notifier-shogun: Roman Votyakov :develop * d711ce4 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/d711ce4e423e2f12628bc98ee302c202918d376b00:33
shogun-notifier-shogun: add get_diagonal_vector() method to SGMatrix class00:33
shogun-notifier-shogun: Heiko Strathmann :develop * 4918010 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/49180104d1ec213ebbe1663478330cbb1abcc5f100:33
shogun-notifier-shogun: Merge pull request #1451 from votjakovr/feature/get_diagonal_vector00:33
shogun-notifier-shogun:00:33
shogun-notifier-shogun: Add get_diagonal_vector() method to SGMatrix class00:33
shogun-buildbotbuild #1462 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1462  blamelist: Roman Votyakov <votjakovr@gmail.com>00:50
shogun-buildbotbuild #959 of rpm1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/95900:52
shogun-buildbotbuild #1493 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1493  blamelist: Roman Votyakov <votjakovr@gmail.com>00:53
shogun-buildbotbuild #27 of osx1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/osx1%20-%20libshogun/builds/27  blamelist: Roman Votyakov <votjakovr@gmail.com>00:58
shogun-buildbotbuild #1494 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1494  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>00:58
shogun-buildbotbuild #1283 of cyg1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/1283  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Kevin <kevinhughes27@gmail.com>00:59
shogun-buildbotbuild #28 of osx1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/osx1%20-%20libshogun/builds/28  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>01:03
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has joined #shogun01:08
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: http://travis-ci.org/shogun-toolbox/shogun/builds/1046983901:08
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has left #shogun []01:08
shogun-buildbotbuild #1284 of cyg1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/1284  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, Roman Votyakov <votjakovr@gmail.com>01:27
shogun-buildbotbuild #1463 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1463  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>01:53
shogun-buildbotbuild #1577 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/1577  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>, Kevin <kevinhughes27@gmail.com>02:19
-!- wiking [~wiking@huwico/staff/wiking] has quit [Read error: Connection reset by peer]02:37
-!- wiking_ [~wiking@info2k1.hu] has joined #shogun02:37
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has joined #shogun02:52
-!- hushell [~hushell@8-92.ptpg.oregonstate.edu] has quit [Ping timeout: 276 seconds]03:07
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has joined #shogun03:24
travis-ci[travis-ci] it's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/1047261503:24
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has left #shogun []03:24
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]03:33
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has left #shogun []03:34
-!- hushell [~hushell@c-98-232-178-161.hsd1.or.comcast.net] has joined #shogun03:49
-!- zxtx [~zv@rrcs-76-79-81-162.west.biz.rr.com] has quit [Ping timeout: 276 seconds]05:25
-!- hushell [~hushell@c-98-232-178-161.hsd1.or.comcast.net] has quit [Quit: WeeChat 0.3.7]07:48
-!- votjakovr [~votjakovr@host-46-241-3-209.bbcustomer.zsttk.net] has joined #shogun08:25
-!- wiking_ is now known as wiking08:27
-!- wiking [~wiking@info2k1.hu] has quit [Changing host]08:27
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun08:27
-!- mode/#shogun [+o wiking] by ChanServ08:27
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun08:33
shogun-notifier-shogun: Evgeniy Andreev :develop * 83e4b44 / / (4 files): https://github.com/shogun-toolbox/shogun/commit/83e4b444bd5972fce5a36620f463b9e036abeb1b08:33
shogun-notifier-shogun: add LibSVMFile08:33
shogun-notifier-shogun: Soeren Sonnenburg :develop * a004341 / / (4 files): https://github.com/shogun-toolbox/shogun/commit/a004341409aae8a396e70018769a2941eab70d0c08:33
shogun-notifier-shogun: Merge pull request #1450 from gsomix/feature/libsvm08:33
shogun-notifier-shogun:08:33
shogun-notifier-shogun: Add LibSVMFile08:33
shogun-notifier-shogun: van51 :develop * 0c2023b / / (6 files): https://github.com/shogun-toolbox/shogun/commit/0c2023b9170c4cd5b08b6c7667b671cae7b1ca9308:33
shogun-notifier-shogun: Added quadratic support in HashedDocDotFeatures08:33
shogun-notifier-shogun: Soeren Sonnenburg :develop * 30caf36 / / (6 files): https://github.com/shogun-toolbox/shogun/commit/30caf361c095e206d356dd983f0e6d6b8a5f84f608:33
shogun-notifier-shogun: Merge pull request #1342 from van51/feature/quadratic08:33
shogun-notifier-shogun:08:33
shogun-notifier-shogun: K-skip ngrams for quadratic support in HashedDoc classes08:33
shogun-buildbotbuild #1464 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1464  blamelist: van51 <vangelis_51@hotmail.com>08:44
gsomixsonney2k, around?08:48
shogun-buildbotbuild #1495 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1495  blamelist: van51 <vangelis_51@hotmail.com>08:51
shogun-buildbotbuild #29 of osx1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/osx1%20-%20libshogun/builds/29  blamelist: van51 <vangelis_51@hotmail.com>08:51
-!- lisitsyn [~lisitsin@mxs.kg.ru] has joined #shogun09:22
-!- travis-ci [~travis-ci@ec2-54-234-140-21.compute-1.amazonaws.com] has joined #shogun09:23
travis-ci[travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/1048254409:23
-!- travis-ci [~travis-ci@ec2-54-234-140-21.compute-1.amazonaws.com] has left #shogun []09:23
shogun-buildbotbuild #1285 of cyg1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/1285  blamelist: van51 <vangelis_51@hotmail.com>09:25
shogun-buildbotbuild #1465 of deb2 - static_interfaces is complete: Failure [failed git]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1465  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>09:27
shogun-buildbotbuild #1580 of deb3 - modular_interfaces is complete: Failure [failed git]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/1580  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>09:27
shogun-buildbotbuild #1496 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1496  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>09:29
shogun-buildbotbuild #30 of osx1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/osx1%20-%20libshogun/builds/30  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>09:29
shogun-buildbotbuild #961 of rpm1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/961  blamelist: van51 <vangelis_51@hotmail.com>09:30
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has joined #shogun09:31
travis-ci[travis-ci] it's Soeren Sonnenburg's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: http://travis-ci.org/shogun-toolbox/shogun/builds/1048258609:31
-!- travis-ci [~travis-ci@ec2-174-129-166-170.compute-1.amazonaws.com] has left #shogun []09:31
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has joined #shogun09:48
shogun-buildbotbuild #1286 of cyg1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/cyg1%20-%20libshogun/builds/1286  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>09:54
thoralfsonney2k: regarding https://github.com/shogun-toolbox/shogun/pull/1424: you wrote "keep the static one" - what do you mean?09:55
-!- gsomix_ [~gsomix@80.234.19.54] has joined #shogun09:56
-!- gsomix [~gsomix@109.169.154.231] has quit [Ping timeout: 264 seconds]10:00
-!- foulwall [~user@2001:da8:215:6901:ec1a:e681:d5fa:d54e] has joined #shogun10:07
shogun-buildbotbuild #962 of rpm1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/962  blamelist: Evgeniy Andreev <gsomix@gmail.com>, Soeren Sonnenburg <sonne@debian.org>10:11
-!- foulwall [~user@2001:da8:215:6901:ec1a:e681:d5fa:d54e] has quit [Ping timeout: 245 seconds]11:27
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]11:33
@wikingwhy do we assume in case of serialisation that a template class will always get a builtintype as template arg?11:43
lisitsynwiking: all template classes are specialized in C++ IIRC11:44
lisitsynerr11:44
lisitsyn.cpp11:44
lisitsyn:D11:44
lisitsynnot C++11:44
@wikinglisitsyn: i'm talking about class_list.cpp11:46
@wikinglisitsyn: so it's generated in a way that if there's a TEMPLATE11:46
@wikingthen it'll generate like TemplateClass<PT_*>11:46
@wikinge.g. TemplateClass<bool> etc.11:47
lisitsynyes11:47
lisitsynwhat's wrong?11:47
@wikingbut what if a template is not like that?:)11:47
lisitsynMyClass<OtherClass>?11:47
@wikingso that it's template argument is actually not a PT_*11:47
@wikingyeah something like that11:47
lisitsynthrow new FuckYouException();11:48
lisitsynjk :D11:48
@wiking:D11:48
lisitsynwiking: well it is not supported as Soeren used templates only to provide various feature types11:48
-!- votjakovr [~votjakovr@host-46-241-3-209.bbcustomer.zsttk.net] has left #shogun ["WeeChat 0.4.0"]13:01
@sonney2kthoralf, the one from CMath::13:49
@sonney2kthoralf, it is very convenient to just write CMath::random / shuffle w/o having to care about anything13:50
@sonney2kgsomix_, pon13:50
@sonney2kg13:50
thoralfsonney2k: Okay, thanks.13:50
@sonney2kwiking, and pong to you too13:53
@sonney2kwiking, any news on the workshop videos uploaded?13:54
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Ping timeout: 248 seconds]13:55
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun13:55
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun15:06
-!- mode/#shogun [+o iglesiasg] by ChanServ15:06
lisitsyniglesiasg: welcome to .se again15:12
@iglesiasglisitsyn, thank you!15:12
-!- mode/#shogun [+o lisitsyn] by iglesiasg15:12
-!- mode/#shogun [-o lisitsyn] by ChanServ15:12
-!- mode/#shogun [+o lisitsyn] by iglesiasg15:12
-!- mode/#shogun [-o lisitsyn] by ChanServ15:12
@iglesiasglisitsyn, ChanServ doesn't let you be admin, it is a bad guy15:13
lisitsyniglesiasg: I am too lazy to identify15:14
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has joined #shogun16:43
lisitsynpickle27: yo howdy16:46
pickle27lisitsyn: hey!16:46
pickle27lisitsyn: I actually have a question for you16:47
pickle27I was looking into making a getter for the time separated covariance matrices as per the emails with Andreas16:48
pickle27but they are SGNDArrays16:48
pickle27so I made the getter but it is of no use from python_modular16:48
pickle27so wondering what the options are16:49
lisitsynpickle27: what do you mean by is of no use?16:49
pickle27well it returns an SGNDArray swig obj16:49
pickle27but there is no way to get the data from it16:49
lisitsynahh16:49
pickle27the get_matrix returns a pointer16:49
pickle27so one option is to make a new method for NDArray that returns SGMatrix16:50
pickle27or make the getter take a number and return that MAtrix from the Array and not change the Array class16:50
lisitsynpickle27: something must be wrong with typemaps16:51
lisitsynthat's essentially it16:51
lisitsynpickle27: could you show me the method?16:52
pickle27I don't think anything is wrong with the typemaps this situation just isn't accounted for16:52
pickle27here16:52
pickle27SGNDArray<float64_t> CFFSep::get_covs() const16:52
pickle27{16:52
pickle27return m_covs;16:52
pickle27}16:52
pickle27if I used it in python and print the return val I get:16:54
pickle27<Swig Object of type 'shogun::SGNDArray< double > *' at 0x245cdc0>16:54
pickle27and if I try to access the data using .array or using get_matrix(0) I get something like this:16:55
pickle27<Swig Object of type 'shogun::T_ALPHA_BETA_TABLE *' at 0x251adf8>16:55
lisitsynpickle27: looks quite strange indeed17:15
lisitsynalpha beta table is something from the outer space17:17
pickle27haha17:17
lisitsynhow can that be here :)17:17
lisitsynI didn't even know we have such a class17:17
pickle27lisitsyn: I think its because its a pointer17:17
-!- foulwall [~user@2001:da8:215:c252:f035:404c:df34:eab8] has joined #shogun17:18
lisitsynpickle27: as a workaround I can suggest to add get_cov(int)17:18
pickle27lisitsyn: thats what I was thinking17:18
lisitsynthat returns slices of the n-d array17:18
pickle27lisitsyn: the other option would be to create a new method for SGNDArray that does the same17:19
pickle27but how to name it to avoid confusion with the C++ method that returns a pointer17:19
lisitsynpickle27: actually as we have typemaps we just have to fix it17:22
lisitsyniglesiasg: have you used nd array typemaps?17:22
pickle27lisitsyn: oh we actually do have a typemap for NDArray17:23
pickle27I didn't think we did17:23
pickle27lisitsyn: looks like we might only have a "from" and we need a "to"17:24
lisitsynpickle27: yeah I thought about it17:26
lisitsynpickle27: could you please check if it is really true17:26
lisitsynjust check what is missed for sgndarray compared to sgmatrix17:26
pickle27lisitsyn: yeah I think I see it17:27
pickle27lisitsyn: this will have to be done for each modular interface yes?17:27
lisitsynpickle27: yeah unfortunately17:28
pickle27lisitsyn: okay I'll try and do for python today and maybe octave17:28
pickle27I may just submit an issue on github for the remaining for now17:29
lisitsynpickle27: yeah please submit it17:31
-!- lisitsyn [~lisitsin@mxs.kg.ru] has quit [Quit: Leaving.]17:39
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 245 seconds]18:38
-!- iglesiasg [~iglesias@s83-179-44-135.cust.tele2.se] has joined #shogun18:47
iglesiasglisitsyn, no, I don't think I have, why?18:48
pickle27iglesiasg: we were trying to see if anyone had tested them18:56
pickle27iglesiasg: I think I found the issue though - there was only an in typemap and not an out18:56
iglesiasgpickle27, I just read the logs and got a bit updated18:56
iglesiasgpickle27, how is it going with it?18:56
pickle27iglesiasg: actually just ran it for python and it looks good18:56
pickle27wiking: is there a way to force the interfaces to rebuild? I seem to have to keep rebuilding from scratch in order for them to update19:03
-!- lambday [67157e37@gateway/web/freenode/ip.103.21.126.55] has joined #shogun19:12
-!- foulwall [~user@2001:da8:215:c252:f035:404c:df34:eab8] has quit [Ping timeout: 264 seconds]19:15
-!- HeikoS [~heiko@nat-176-108.internal.eduroam.ucl.ac.uk] has joined #shogun19:46
-!- mode/#shogun [+o HeikoS] by ChanServ19:46
@HeikoShi19:47
@HeikoSsonney2k, wiking do you know whether and how to do modular access to sparse matrices?19:47
@HeikoSis that even supported yet?19:47
@HeikoSgsomix_: are you around?19:51
gsomix_HeikoS, hey19:55
@HeikoSgsomix_: hi19:55
gsomix_HeikoS, I should add our libsvm reader to modular interfaces.19:55
@HeikoSjust wondering what to do to make swig accept sparse matrices?19:55
@HeikoSgsomix_: yep that would be nice, but currently even using python to create them19:55
@HeikoScsc_matrix?19:56
@HeikoSah yes that did the job for me19:56
@HeikoSgsomix_: I am asking you since you did some typemaps for sparse matrices19:57
gsomix_HeikoS, ahh, sorry. I thought you were about reading. =___=19:57
@HeikoSgsomix_: will be interesting very soon for me! :)19:57
@HeikoSbut for now, just how to map19:57
gsomix_HeikoS, there is a little doc in swig_typemaps.i for python modular interface.19:59
gsomix_HeikoS, spmatrix_from_numpy func19:59
@HeikoSyep there I found the csc20:00
@HeikoScool thanks20:00
gsomix_ok20:00
-!- lambday [67157e37@gateway/web/freenode/ip.103.21.126.55] has quit [Ping timeout: 250 seconds]20:04
@sonney2kHeikoS, yes well just use a sparse structure20:11
@HeikoSsonney2k: doesnt work, have to convert to csc20:11
@sonney2kHeikoS, any news about your bank account?20:11
@HeikoSbut that works20:11
@HeikoSsonney2k: parents return end of august20:12
@sonney2kHeikoS, so one more week20:12
@HeikoSyep20:12
@HeikoSthe it works immediately20:12
@sonney2kHeikoS, which language python?20:12
@HeikoSyes20:12
@sonney2kHeikoS, then look at the python examples that use sparse20:12
@HeikoSthats what I did finally20:13
@sonney2kHeikoS, but I guess I don't really understand the question20:13
@sonney2kwell you should do that as a *first* step always right?20:13
@sonney2kso it works now right?20:13
pickle27hey guys, I was working on the typemaps earlier, I added an out typemap for SGNDArray in python20:13
@HeikoSthe mapping SGSparseMatrix to  scipy.sparsematrix doesnt work20:13
pickle27then I started looking at octave20:14
@HeikoSonly the csc(scipy.sparse)20:14
@HeikoSanyway20:14
pickle27and I got a bit confused20:14
pickle27sonney2k: got a second to look at it with me?20:14
@sonney2kHeikoS, yes sure only csc sparse matrix works20:14
@HeikoSsonney2k: I did not know that :)20:15
@sonney2kHeikoS, there are 3 formats and csc is the one we support20:15
@HeikoSok, going home now, see you!20:15
@sonney2kHeikoS, wait20:15
@HeikoSyes?20:15
@sonney2kHeikoS, did you plan your trip already?20:15
@HeikoSnope20:15
@HeikoSnothing20:15
@sonney2kI am asking because renting a car would make sense if we all use it20:16
@HeikoSsonney2k: I am totally up for that!20:16
@HeikoSare you around tomorrow? I am a bit late here and should go soon20:16
@HeikoSok gotta go, bye! I will be around tomorrow all day20:18
-!- HeikoS [~heiko@nat-176-108.internal.eduroam.ucl.ac.uk] has quit [Quit: Leaving.]20:19
pickle27sonney2k: can I get your help with the octave typemaps for a sec20:19
pickle27Im trying to add support for SGNDArray20:19
@sonney2kpickle27, what is the issue?22:11
@sonney2kgsomix_, and what was your question?22:16
@sonney2kwiking, ?22:16
@sonney2kwiking, what do you use to chat with under osx?22:17
@wikingsonney2k: mmm i used to use22:17
@wikingcolloquy22:17
@wikingbut i'm irssi now22:17
@sonney2kwiking, woah hardcore :)22:18
@sonney2kwiking, did you manage to uploade some videos?22:19
gsomix_sonney2k, about SGVector.22:22
gsomix_sonney2k, is there nice method for work with SGVector+offsets?22:23
@sonney2kgsomix_, errm??22:23
@sonney2kgsomix_, as in vec[i] ?22:23
@sonney2kor vec[i+offs] ?22:23
gsomix_nope. look. I need substrings from SGVector.22:25
gsomix_without copying22:25
gsomix_on same memory22:25
gsomix_but with offset.22:25
gsomix_something like SGVector<char> substring=string.get_vector_with_offset(offset, length), where string is SGVector<char>22:26
@sonney2kgsomix_, you could do dangerous stuff like offsetted= SGVector(vec.vector+offs, vec.vlen, false)22:26
gsomix_sonney2k, yep, without refcount.22:26
@sonney2kyeah22:26
@sonney2kwith vec.vlen-offs22:26
gsomix_I'm just curious is there refcounted solution.22:27
@sonney2kgsomix_, impossible!22:27
@sonney2kwell hmmhh22:27
gsomix_hm, I can imagine extended SGVector, that contains vector, physical length, offset and logical length. but in this case SGVector is not lightweight22:28
gsomix_but it would be very useful for parsing22:29
gsomix_now there are many, many copying and mallocs.22:30
gsomix_but, of course, I can use unsafe solution22:31
gsomix_sonney2k, ok, and I have another question. is there better solution for parsing numbers from strings than atoi/strtol?22:33
gsomix_I mean atoi/strtol requires zero-terminated strings22:33
gsomix_I cannot use it on pure memory block of data that read from file22:34
gsomix_sonney2k, maybe do you know solution for non-zero-terminated strings? for strings with defined length22:35
@sonney2kgsomix_, no sorry - I would just put a '\0' there and change it back afterwards :/22:42
@sonney2kgsomix_, well a safe solution would be to keep one SGVector around22:43
@sonney2kand then work with an offsetted SGVector22:43
@sonney2kwell or you derive some SGVectorView class from SGVector where you in addition store such an offset22:45
@sonney2kSGVector is not *that* lightweight since it has a vtable already...22:45
gsomix_sonney2k, ok, thanks!22:46
@sonney2kactually not derive but make SGVector a member of SGVectorView22:46
gsomix_sonney2k, it would be good solution for parsing.22:47
gsomix_I mean then I can store SGVectorView in dynarray's or so22:48
gsomix_sonney2k, one question about get_sparse_vector.22:49
gsomix_I should just read one line from libsvm file and parse it, right?22:49
gsomix_there is no reason to read whole file, hm22:50
@sonney2kgsomix_, when you want to store that in dyn* you need to add some stuff to lib/memory.{cpp,h}22:53
@sonney2kgsomix_, yeah for sparse it doesn't help because we store vectors separately anyway22:53
gsomix_sonney2k, do you mean I should enable SG_SPECIALIZED_MALLOC for new class? because it's not SGObject, right?22:56
@sonney2kgsomix_, well except if you parse it into a dense SGMatrix22:56
@sonney2kgsomix_, it is because it needs inplace new operator :/22:59
gsomix_sonney2k, ok, I'll try to get into it.23:02
gsomix_now need finish sparse reading for libsvm and csv23:02
@wikingsonney2k: yeah i have the python script + client api code from googs23:03
@wikingso i'm on it23:03
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun23:22
shogun-notifier-shogun: Soeren Sonnenburg :develop * 7a45b84 / NEWS: https://github.com/shogun-toolbox/shogun/commit/7a45b84e395f4de3c8a5ee6e583b40433febc80723:22
shogun-notifier-shogun: update news23:22
@wikingsonney2k what ya think about breaking up the swig modular interface into smaller _wrapper.cxx-es23:28
@wikingat least then the compilation could be done parallel (with make -jX)23:29
gsomix_wiking, I'm not Soeren, but would be great.23:30
gsomix_wiking, but how?23:30
@wikingsonney2k: and i was thiking that we'd need need a nightly of osx23:30
@wikinggsomix_: http://www.swig.org/Doc2.0/Modules.html#Modules_introduction23:30
--- Log closed Fri Aug 23 00:00:27 2013

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