IRC logs of #shogun for Friday, 2012-07-06

--- Log opened Fri Jul 06 00:00:17 2012
blackburnsonney2k: I failed to notice fluctuations in confs00:00
blackburnaham! found one00:00
@sonney2kwell nr +1=  2979 fluctuates00:01
@sonney2kthat cannot happen...00:01
nietpietI tried to monitor the process with top and it seemed single threaded, but the kernel loading takes most of the time so it is hard to see, i can print some debug output if that helps? (blackburn taught me how :) )00:02
nietpietI can make the C value a bit higher so it takes longer? Easier to monitor with top :)00:03
blackburnnietpiet: one thread will be used is you set it00:03
nietpietoh.. and i just print the first 100 confidence scores.. i could print more?00:04
@sonney2knietpiet, I would prefer if you store them and compute numpy.max(abs(out1-out2))00:05
nietpietok00:05
@sonney2knietpiet, please upload your script to dpaste00:07
@sonney2kI simply cannot imagine that it doesn't give exact same results00:07
CIA-18shogun: Soeren Sonnenburg master * r463293d / src/shogun/machine/KernelMachine.cpp : enably apply() w/o arguments to work with custom kernels - http://git.io/0hjzIA00:10
@sonney2kblackburn, ^ I hope that fixes it - nietpiet can you try?00:10
* sonney2k argh00:10
@sonney2kit is getting too late00:10
@sonney2kI need sleep00:10
@sonney2kcu00:10
nietpiet@sonney2k, I will upload it, but it is a bit messy now, as you can imagine.. http://pastebin.com/EJ7nrM5z00:11
nietpietnumpy.max(abs(out1-out2)) for the consequative runs gives 0.0 ; 1.0 ; 1.0 ; 2.0000002365600:12
shogun-buildbotbuild #65 of deb1 - libshogun started, including [463293d2198c9a5d510bb95f39c7c555af2b4b4d]00:12
shogun-buildbotbuild #65 of deb1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/6500:13
shogun-buildbotbuild #75 of deb2 - static_interfaces started, including [463293d2198c9a5d510bb95f39c7c555af2b4b4d]00:13
shogun-buildbotbuild #76 of deb3 - modular_interfaces started, including [463293d2198c9a5d510bb95f39c7c555af2b4b4d]00:13
nietpietblackburn, um.. should i get a new version from git?00:13
n4nd0sonney2k: good night00:13
blackburnnietpiet: well it must fix exactly the same thing you fixed before00:13
nietpiet@sonney2k, Thank you very much for your help! and good night.00:14
shogun-buildbotbuild #75 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/7500:19
nietpietBlackburn: I'm also calling it quits. Thank you for your help all day!00:24
blackburnyou are welcome00:24
blackburnlet's try to continue tomorrow00:24
nietpietyes, i'll be online, but probably less long. Good night.00:25
blackburnnite00:26
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has quit [Ping timeout: 245 seconds]00:33
-!- nietpiet [9232901a@gateway/web/freenode/ip.146.50.144.26] has quit [Quit: Page closed]00:34
shogun-buildbotbuild #76 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/76  blamelist: Soeren Sonnenburg <sonne@debian.org>01:02
CIA-18shogun: Sergey Lisitsyn master * r991fbc7 / (3 files in 2 dirs): Added custom index block tree creation by adjacency matrix - http://git.io/9d-BPA01:44
shogun-buildbotbuild #66 of deb1 - libshogun started, including [991fbc74a44f89c7ae2e0ae08bc1e6cf9341455a]01:47
shogun-buildbotbuild #66 of deb1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/6601:48
shogun-buildbotbuild #77 of deb3 - modular_interfaces started, including [991fbc74a44f89c7ae2e0ae08bc1e6cf9341455a]01:48
shogun-buildbotbuild #76 of deb2 - static_interfaces started, including [991fbc74a44f89c7ae2e0ae08bc1e6cf9341455a]01:48
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving]01:49
shogun-buildbotbuild #76 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/7601:53
CIA-18shogun: Sergey Lisitsyn master * r312d90a / src/shogun/lib/IndexBlockTree.cpp : Updated IndexBlockTree constructor routine - http://git.io/E42gAA02:35
shogun-buildbotbuild #77 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/77  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>02:36
shogun-buildbotbuild #67 of deb1 - libshogun started, including [312d90a08e82a5f1e18f457381fb633edab8b8a7]02:37
shogun-buildbotbuild #67 of deb1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/6702:38
shogun-buildbotbuild #77 of deb2 - static_interfaces started, including [312d90a08e82a5f1e18f457381fb633edab8b8a7]02:38
shogun-buildbotbuild #78 of deb3 - modular_interfaces started, including [312d90a08e82a5f1e18f457381fb633edab8b8a7]02:38
-!- blackburn [~blackburn@81.28.187.0] has quit [Quit: Leaving.]02:39
shogun-buildbotbuild #77 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/7702:43
shogun-buildbotbuild #14 of nightly_default started, including []03:00
shogun-buildbotbuild #78 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/78  blamelist: Sergey Lisitsyn <lisitsyn.s.o@gmail.com>03:28
shogun-buildbotbuild #9 of nightly_all started, including []03:28
shogun-buildbotbuild #14 of nightly_default is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_default/builds/1403:38
shogun-buildbotbuild #12 of nightly_none started, including []03:38
shogun-buildbotbuild #12 of nightly_none is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_none/builds/1203:50
shogun-buildbotbuild #9 of nightly_all is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_all/builds/903:52
-!- puffin444 [62e3926e@gateway/web/freenode/ip.98.227.146.110] has quit [Quit: Page closed]03:59
-!- sks [~sks@14.97.196.191] has joined #shogun06:31
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has joined #shogun06:49
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has quit [Ping timeout: 255 seconds]07:34
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has joined #shogun07:34
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has quit [Ping timeout: 264 seconds]07:40
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has joined #shogun07:45
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has quit [Read error: Operation timed out]07:50
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has joined #shogun07:50
-!- vojtech [d975d865@gateway/web/freenode/ip.217.117.216.101] has joined #shogun09:30
-!- zxtx [~zv@cpe-98-154-83-76.socal.res.rr.com] has quit [Ping timeout: 245 seconds]09:31
-!- zxtx [~zv@cpe-75-83-151-252.socal.res.rr.com] has joined #shogun09:55
-!- emrecelikten [~emre@213.153.222.106] has quit [Quit: Leaving.]09:57
-!- hsyal_ [~hsyal@14.140.239.126] has joined #shogun09:58
-!- gsomix [~gsomix@109.169.225.237] has joined #shogun10:03
gsomixgood morning10:05
-!- hsyal_ [~hsyal@14.140.239.126] has quit [Ping timeout: 264 seconds]10:06
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun10:23
-!- sks [~sks@14.97.196.191] has quit [Ping timeout: 244 seconds]11:56
-!- blackburn [~blackburn@81.28.187.0] has joined #shogun12:00
@sonney2kmorning gsomix12:01
@sonney2kI hope you find your way through swig and python :)12:05
-!- vojtech [d975d865@gateway/web/freenode/ip.217.117.216.101] has quit [Quit: Page closed]12:30
-!- hsyal [~hsyal@14.140.239.126] has joined #shogun12:39
hsyalhey n4nd0 , hows your gsoc going ??12:40
n4nd0hsyal: hey! it is going fine, what about you?12:41
n4nd0still in amazon?12:41
hsyalyeah..12:41
n4nd0cool12:41
n4nd0what are you doing around there?12:41
hsyalneed your help12:41
hsyalsome android stuff12:41
n4nd0I am not mobile developer to tell the truth .. but tell me12:42
hsyalno no.. I need some help on ML only12:42
n4nd0ah all right12:42
hsyalI wrote "some android stuff " to answer your question12:42
n4nd0yeah, got it ;)12:42
hsyalActually I need to some to apply some regression stuff12:42
hsyalon some data12:42
n4nd0ok12:43
hsyalI need some algo which is non-linear,12:43
blackburnKRR, SVR12:43
hsyalhey blackburn , thanks...12:45
hsyalcan I extract parameters from those algos12:45
blackburn:)12:45
blackburnparameters like?12:45
hsyalby parameters I mean theta's12:47
hsyalgenerated in hypothesis function12:47
hsyalActually I am not in touch with ml, so forgot all jargon.12:47
blackburnif you want to learn some model (like quadratic or so) you may use some hand-tailored solution I think12:48
blackburnjust formulate loss function and pass it to some optimizer12:49
hsyalokay...12:49
hsyalbut it would take time12:49
blackburnI am not sure about extracting parameters from alphas, n4nd0 are you?12:49
hsyalActually, I want to embed that hypothesis function inside android program.12:50
hsyalSo if have any other ideas please do share12:50
blackburnhttp://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html#least-square-fitting-leastsq12:51
n4nd0blackburn, hsyal I don't really know either12:51
blackburnhsyal: it really depends on the model you use12:51
blackburnin KRR/SVR with say gaussian kernel you have model that can't be described somehow else12:52
blackburnonly using alphas and feature vectors you had12:52
hsyalblackburn, what about linear regression in shogun, liblinear n ol12:53
blackburnhsyal: you said you want non-linear ;)12:53
hsyalcan they give me hypothesis function..12:53
blackburnhsyal: yes, linear12:53
blackburnif you have much dimensions it would work12:54
hsyalyeah, but I can compromise on that ..12:54
n4nd0hsyal, blackburn: now that I think of it, maybe GPs could be useful12:54
hsyalGP ?? forgot what it was..12:54
blackburnhsyal: gaussian processes12:55
hsyalohhh.12:55
blackburnhsyal: just try linear and if you are not satisfied with performance go for nonlinear12:56
hsyaland one more thing do you have any piecewise linear regression algo in shogun12:56
blackburnno12:56
blackburnI don't know any to be honest12:56
hsyalIs that any better than non-linear, actually i dont even know what it is12:56
hsyaljust read it in one paper12:57
hsyaland btw hows your work going in gsoc , blackburn12:57
n4nd0see you later guys13:00
blackburnhsyal: pretty fine13:00
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving]13:01
hsyalblackburn, gr8 , thanks for your help.. see you later.13:03
blackburnhsyal: see you13:03
-!- hsyal [~hsyal@14.140.239.126] has quit [Quit: Leaving]13:06
-!- blackburn [~blackburn@81.28.187.0] has quit [Quit: Leaving.]13:15
-!- nietpiet [92322838@gateway/web/freenode/ip.146.50.40.56] has joined #shogun13:16
-!- hsyal [~hsyal@14.140.239.126] has joined #shogun13:21
hsyalhey guys facing this error: snipt.org/vmia8 at compile time. help ..!13:26
-!- sks [~sks@115.246.146.87] has joined #shogun13:44
wikingalex !14:01
hsyalwiking, can you help me with this error : www.snipt.org/vmia814:03
wikingoh man i wish i could but i'm overwhelmed with one thing now14:05
wiking:(14:05
wikinghave you tried to do a make clean && ./configure && make ?14:06
wikingmaybe you have changed something in your repo ever since you did the last make&configure combo14:07
-!- emrecelikten [~emre@213.153.216.212] has joined #shogun14:26
-!- emrecelikten [~emre@213.153.216.212] has quit [Client Quit]14:30
-!- hsyal [~hsyal@14.140.239.126] has quit [Ping timeout: 264 seconds]14:39
-!- hsyal [~hsyal@14.140.239.126] has joined #shogun14:54
-!- hsyal_ [~hsyal@14.140.239.126] has joined #shogun14:54
-!- sks [~sks@115.246.146.87] has quit [Ping timeout: 250 seconds]14:54
-!- sks [~sks@14.97.177.73] has joined #shogun15:12
-!- nietpiet [92322838@gateway/web/freenode/ip.146.50.40.56] has quit [Quit: Page closed]15:17
-!- sks [~sks@14.97.177.73] has quit [Ping timeout: 245 seconds]15:39
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun15:51
n4nd0:qa15:54
n4nd0ups haha15:54
n4nd0wrong tab change15:54
-!- vojtech [d975d865@gateway/web/freenode/ip.217.117.216.101] has joined #shogun15:55
vojtechn4nd0, Hi. Did you get my email with the document outlining the SO-SVM formulations?16:09
-!- pluskid [~pluskid@111.120.11.213] has joined #shogun16:11
n4nd0vojtech: hey, sorry for the delay to answer16:15
n4nd0no I didn't get it :(16:15
n4nd0vojtech: what mail address did you use?16:15
vojtechcool, then I sent it to someone else :(16:19
vojtechI used nico.goernitz@tu-berlin.de16:19
n4nd0ok, that's nico address :)16:19
n4nd0vojtech: try with this one16:20
vojtechwhich one ?16:21
n4nd0I just sent it to you in a private window on IRC16:22
vojtechok, I have it16:22
n4nd0cool16:22
n4nd0vojtech: ok, I have the document16:25
n4nd0thank you very very much :)16:25
vojtechMight be cool to have table matching nickames and real names as I'm a bit lost ... but may be I'm the only one :)16:25
vojtechBTW, aren't you based in Vilnius?16:25
n4nd0vojtech: mm no, Stockholm16:26
n4nd0why?16:26
vojtechI though you are connected via server cameron.freenode.net [Vilnius, Lithuania, EU] but it seems to be the IRC server, right?16:27
vojtechand I' going to Vilnius on Sunday ...16:28
n4nd0I have never been there16:32
n4nd0I don't know what server I am connected from :D16:32
vojtechn4nd0, I just sent you v2 of the document as I found some typos.16:38
-!- hsyal_ [~hsyal@14.140.239.126] has quit [Ping timeout: 264 seconds]16:42
-!- hsyal [~hsyal@14.140.239.126] has quit [Ping timeout: 264 seconds]16:42
n4nd0vojtech: thank you16:44
vojtechas I wrote it is just a draft. If you found some mistakes or missing information let me know.16:45
vojtechI'll complete the document when I have some time or on request :)16:46
n4nd0ok, good idea :)16:47
n4nd0vojtech: I think I don't understand the meaning of the Equation (4)16:57
n4nd0vojtech: I see that part of it says that \Delta(y_i, h(x_i, w)) is less or equal than the \Delta(y_i, y) for any other y \in Y17:04
n4nd0but I think I am missing something else in it17:04
gsomixsonney2k, around?17:05
gsomixsonney2k, it works.17:07
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Ping timeout: 264 seconds]17:12
vojtechn4nd0, what are you missing in it ? I think it is correct..17:12
-!- gsomix [~gsomix@109.169.225.237] has quit [Read error: Connection reset by peer]17:13
-!- gsomix [~gsomix@109.169.225.237] has joined #shogun17:13
vojtechn4nd0, the first line (i.e. the equality) just expresses the fact that the loss is paid for the labeling with the maximal scoring function17:13
vojtechn4nd0, the second (i.e the inequality (4)) is obtained by replacing one of the maximization with only one element of it17:14
-!- alexlovesdata_ [82955843@gateway/web/freenode/ip.130.149.88.67] has joined #shogun17:15
-!- pluskid [~pluskid@111.120.11.213] has quit [Ping timeout: 250 seconds]17:16
-!- pluskid [~pluskid@202.130.113.141] has joined #shogun17:16
-!- pluskid [~pluskid@202.130.113.141] has quit [Quit: Leaving]17:33
-!- nietpit [92322838@gateway/web/freenode/ip.146.50.40.56] has joined #shogun17:35
-!- nietpit [92322838@gateway/web/freenode/ip.146.50.40.56] has quit [Client Quit]17:35
-!- nietpiet [92322838@gateway/web/freenode/ip.146.50.40.56] has joined #shogun17:37
-!- gsomix [~gsomix@109.169.225.237] has quit [Quit: Ex-Chat]17:39
-!- gsomix [~gsomix@109.169.225.237] has joined #shogun17:39
-!- gsomix [~gsomix@109.169.225.237] has quit [Ping timeout: 244 seconds]17:58
-!- gsomix [~gsomix@109.169.225.237] has joined #shogun18:23
-!- vojtech [d975d865@gateway/web/freenode/ip.217.117.216.101] has quit [Quit: Page closed]18:25
-!- blackburn [~blackburn@81.28.187.0] has joined #shogun18:30
blackburnwiking: what is problem with make?19:08
wikingthis is hilarious19:09
wikingfloat64_t* w, cur_w;19:10
wikingint32_t w_dim;19:10
wikingmemcpy (w, cur_w, w_dim);19:10
wikingdoes not copy :(19:10
wikingwhy?19:10
wikingi have to do a for for (int i = 1; i < w_dim; ++i) w[i] = cur_w[i];19:10
blackburnwhy from 1?19:11
wikingoh sorry19:11
wikingso yeah i = 019:11
wikingthat's a typo19:11
blackburnmemcpy should work nicely hmm19:11
blackburnahh19:11
blackburnmemcpy(w,cur_w,sizeof(float64_t)*w_dim);19:11
blackburnwiking: ^19:12
blackburnso probably it copied only 1/4 of needed data19:12
wikingmotherfuckeri'mblind19:12
wikingyeey19:15
-!- blackburn [~blackburn@81.28.187.0] has left #shogun []19:56
-!- blackburn [~blackburn@81.28.187.0] has joined #shogun20:07
-!- nietpiet [92322838@gateway/web/freenode/ip.146.50.40.56] has quit [Quit: Page closed]20:12
alexlovesdata_memcpy tstststststs20:16
@sonney2kgsomix, I heard you want to be the hero of the day :)20:18
gsomixsonney2k, I am just a small man in a big world20:20
gsomixsonney2k, http://pastebin.com/pkJ48gVQ20:20
gsomixsonney2k, http://pastebin.com/hM8m0gUY spam.cpp20:21
gsomixsonney2k, http://pastebin.com/fJB5umga spam.i20:21
gsomixsorry for highlightnig20:21
blackburngsomix: I heard sonney2k loves it so feel free to highlight20:22
@sonney2kblackburn, :P20:25
@sonney2kgsomix, is the vector3d_get_item set_item stuff really needed?20:25
@sonney2kI mean shouldn't swig do this?20:25
@sonney2kahh no you didn't overload operators so no20:26
@sonney2kso you would have to do a.set* a.get*20:26
gsomixsonney2k, internal_data is protected20:28
gsomixnot "swigged"20:28
gsomixsonney2k, yep, I can overload get/set slots.20:29
gsomixbut I need some method to work with internal_data from interface file.20:30
@sonney2kgsomix, but you have get_data_value and set_data_value20:31
gsomixyes20:31
@sonney2kso you can do this without these functions20:31
gsomixawww, sorry. don't parse right.20:33
gsomixI will try to overload operators.20:33
gsomixget_item/set_item are not really needed20:33
-!- sks [~sks@14.97.18.251] has joined #shogun20:35
@sonney2kgsomix, it is not essential though20:35
gsomixyes. I just have try overload sequence protocol functions. e.g. for slices20:35
gsomix*tried20:36
gsomixI also think that overload of old buffer protocol functions is needed.20:38
gsomixe.g. for numpy.frombuffer(my_super_class)20:38
@sonney2kgsomix, you mean for python2.X ?20:38
gsomix2.6<20:38
@sonney2kgsomix, wait no20:38
@sonney2kwe require python 2.6 anyways20:38
gsomixand for numpy.frombuffer(my_super_class)20:39
gsomixit uses old buffer protocol20:39
gsomixI don't know why.20:39
@sonney2kgsomix, wait20:39
@sonney2kthere are 2 versions20:39
@sonney2kthe oldest one is the numpy array protocol20:40
@sonney2kthen there was the PEP with the buffer protocol for python 2.X20:40
@sonney2kand then the newer python3 stuff20:40
@sonney2kI think we should only support python2.x (x >=6) and python320:41
gsomixok20:42
@sonney2kgsomix, btw which slot do you have to override to get slicing to work?20:42
@sonney2kgsomix, btw when that stuff works reliably it will also fix the director dot feature issues - if you do buffer protocol support for the SG* datatypes20:43
@sonney2kgsomix, anyways again *excellent* work20:44
@sonney2knext steps would then be to implement that stuff for CDenseFeatures  (aka RealFeatures, ByteFeatures etc in python)20:45
@sonney2kthen add some examples and then later do the same for the SG* data types and CustomKernel and CustomDistance (both based on SGMatrix)20:45
gsomix >> to get slicing to work?| I didn't. Just enabled sequence protocol with getter/setter (vector3d_get_item). wait... hmm20:46
-!- sks [~sks@14.97.18.251] has quit [Ping timeout: 248 seconds]20:47
gsomixsonney2k, again, bad docs. I just need to overload sq_slice slot.20:48
gsomixsonney2k, ok.20:49
gsomixblackburn loves slices20:50
@sonney2kgsomix, I do too20:50
gsomixok20:50
blackburneverybody do20:50
@sonney2kand it is soo easy to support them I think20:50
gsomixyes!20:50
gsomixcool stuff20:51
@sonney2kgsomix, my suggestion is that you do this for densefeatures as next step then and then we find another challenge for you20:52
gsomixok20:53
@sonney2klike these typemaps for model selection20:53
blackburnto integrate shogun as kernel module20:53
@sonney2kblackburn, wait the kernel as a shogun module ;-)20:54
@sonney2kno but seriously, directors, buffer protocol support and these modelselection typemaps will increase useability by 1000% in python_modular20:55
@sonney2kblackburn, I cannot currently think of other useability enhancements except for better docs and fixing the test suite20:56
@sonney2kand better error messages20:56
blackburndeb20:56
@sonney2kdaily .deb you mean20:56
@sonney2kwell yeah...20:56
@sonney2kbut that is relatively easy given that we have some packaging running already20:57
blackburnno idea whether we really need it20:57
@sonney2kblackburn, it certainly is very convenient to have though for newcomers20:58
blackburnactually our users are not like vlc or so users20:58
@sonney2kblackburn, yeah but they are also more on the theory side and struggle with install issues20:58
@sonney2kgsomix, btw with all your reading swig docs - do you know whether it nowadays natively supports doxygen?20:59
@sonney2kwe have some hacks for that but just creating these docs in a python script takes 1 minute...21:00
@sonney2kblackburn, btw I have one problem I could never solve: avoiding to copy memory between shogun feature objects and numpy matrices21:01
blackburnno way21:01
gsomixsonney2k, unfortunately I don't know.21:01
@sonney2kgsomix, ok21:02
@sonney2kblackburn, hehe I think this could be possible21:02
blackburnhow to let memory stay when np matrix is deleted&21:03
blackburn?21:03
@sonney2kof course one has to specify the fortran flag to numpy matrices21:03
@sonney2kotherwise it is not the same memory block21:03
@sonney2kand no gaps etc21:03
@sonney2kblackburn, well Py_INCREF(matrix)21:03
gsomixblackburn, refcount for memory blocks?21:03
@sonney2kand Py_DECREF in destructor21:04
@sonney2kblackburn, non trivial business I guess but our hero of the day needs some serious challenges21:05
blackburnsonney2k: I am just unsure we really need it21:06
@sonney2kblackburn, if you have a 5G numpy matrix in memory that you want shogun to work with you wouldn't say this :)21:07
gsomixsonney2k, btw, is memory copying in numpy.array(some_with_buffer)?21:08
blackburnsonney2k: memory is cheap today :D21:08
@sonney2kgsomix, I think so yes21:09
@sonney2kblackburn, bad excuse - how much memory do you have in your notebook?21:09
blackburnsonney2k: 8GB21:09
@sonney2kso then a 7GB matrix it is :D21:09
@sonney2kand don't tell me memory is cheap now!21:10
blackburnsonney2k: I will use C++ then :D21:11
-!- alexlovesdata_ [82955843@gateway/web/freenode/ip.130.149.88.67] has quit [Quit: Page closed]21:15
gsomix>> I think so yes | hmmm.21:18
gsomixsonney2k, I don't think so.21:20
gsomixbut I need to look into numpy code.21:21
@sonney2kblackburn, haha21:25
@sonney2kblackburn, ask cwidmer whether he would like that feature - *I* already know the answer :D21:26
blackburnsonney2k: which feat? non-copy?21:26
@sonney2kyes21:27
blackburnI don't mind it while I don't have to do that :D21:27
@sonney2kI think that should be some global flag or some boolean21:28
@sonney2k(some boolean in each object)21:30
* sonney2k continues work on the buildbot21:31
blackburnsonney2k: why sometimes SG_ERROR is not being showed?21:32
@sonney2kblackburn, that cannot be21:39
@sonney2kblackburn, must be some corruption before21:39
gsomixsonney2k, there is copy flag in numpy.array constructor.21:40
blackburnsonney2k: yeah but that happens sometimes - I do not understand why21:40
gsomixsonney2k, http://pastebin.com/Ax0ZhNtC21:41
@sonney2kgsomix, so we could use the same...21:41
gsomixyes21:41
gsomixit just uses buffer protocol.21:41
@sonney2kgsomix, when copy=True?21:42
@sonney2kor always?21:42
gsomixsonney2k, always.21:42
gsomixbut with copy=True memory is not copying21:43
gsomixawww typo21:43
gsomix*copy=False21:43
@sonney2kgsomix, but how do they lock memory?21:46
@sonney2kI mean they need to be sure it is not destroyed...21:46
gsomixmaybe Py_INCREF(exporter) in getbuffer function?21:47
gsomixI really don't know21:47
gsomixI need time to learn how this works21:48
@sonney2kgsomix, problem with swig and objects is certainly that we don't currently know how to DECREF21:49
@sonney2kjust because we never store the original PyObject ptr21:50
@sonney2kgsomix, yes you are right incref the exporter should do it21:59
@sonney2kgsomix, but you need to decref it somehow - I hope that is done on decref'ing view?22:00
gsomixsonney2k, PyBuffer_Release can decref exporter.22:03
gsomixabout bf_releasebuffer:22:04
gsomixThis function MUST NOT decrement view->obj, since that is done automatically in PyBuffer_Release() (this scheme is useful for breaking reference cycles).22:04
gsomixPyBuffer_Release() is the interface for the consumer that wraps this function.22:05
CIA-18shogun: Michal Uricar master * r56632ab / (2 files): libbmrm inactive cutting plane removal - http://git.io/wMNAfg22:06
CIA-18shogun: Michal Uricar master * r5fa61fc / (4 files): DualLibQPBMSOSVM get_result method added + libbmrm update - http://git.io/bzgvAg22:06
CIA-18shogun: Soeren Sonnenburg master * r564295a / (4 files): Merge pull request #619 from uricamic/BM_SOL_EXAMPLE - http://git.io/HcoIpw22:06
CIA-18shogun: Michal Uricar master * ra90777e / (2 files): DualLibQPBMSOSVM BM parameters added. - http://git.io/pcpqzg22:06
blackburnQPBMSOSVM BM?!22:07
blackburnWTF :D22:07
shogun-buildbotbuild #68 of deb1 - libshogun started, including [a90777ee041ed943619d1d10428c2b73236e40a3]22:07
shogun-buildbotbuild #69 of deb1 - libshogun started, including [56632ab4ae0b4b00ce41e8faad36374ffaf76687, 5fa61fca2fdc2357437fff223c3b2a76b0597be4]22:07
shogun-buildbotbuild #68 of deb1 - libshogun is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/68  blamelist: Michal Uricar <uricar.michal@gmail.com>22:08
shogun-buildbotbuild #70 of deb1 - libshogun started, including [564295ab9c61f31d38587cd64212cb7587772925]22:08
shogun-buildbotbuild #70 of deb1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/7022:09
shogun-buildbotbuild #79 of deb3 - modular_interfaces started, including [564295ab9c61f31d38587cd64212cb7587772925]22:09
@sonney2kblackburn, bundle method == BM22:14
blackburn yeah22:14
blackburnquadratic programming bundle method structured output support vector machine22:14
blackburnI guess22:14
@sonney2kblackburn, hmmhh QuadraticProgrammingBundleMethodStructuredOutputSupportVectorMachine :D22:15
@sonney2kthat's probably above the 80 char line width limit :D22:15
shogun-buildbotbuild #69 of deb1 - libshogun is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb1%20-%20libshogun/builds/6922:16
shogun-buildbotbuild #78 of deb2 - static_interfaces started, including [564295ab9c61f31d38587cd64212cb7587772925]22:16
-!- sks [~sks@115.246.255.174] has joined #shogun22:21
shogun-buildbotbuild #78 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/7822:26
shogun-buildbotbuild #80 of deb3 - modular_interfaces started, including [56632ab4ae0b4b00ce41e8faad36374ffaf76687, 5fa61fca2fdc2357437fff223c3b2a76b0597be4]22:26
-!- sks_ [~sks@115.247.10.56] has joined #shogun22:31
gsomixsonney2k, btw, http://pastebin.com/ZZVJ99vX22:31
gsomixI'll try some experiment tomorrow.22:33
gsomixmake vector3d(some_with_buffer) constructor w/o copying22:33
-!- sks [~sks@115.246.255.174] has quit [Ping timeout: 252 seconds]22:33
gsomixafter work on DenseFeatures22:33
@sonney2kgsomix, cool22:36
@sonney2kgsomix, we need to somehow ensure that we don't allow any kind of data modifications if we have copy=false22:37
@sonney2kso preprocessors changing shape or even freeing memory -> blackburn HAHA22:37
@sonney2kare a no go then22:38
-!- sks_ [~sks@115.247.10.56] has quit [Ping timeout: 252 seconds]22:38
blackburnsonney2k: why should I care about that?22:38
@sonney2kblackburn, you will receive the crash reports - IIRC you do SG_FREE's of the matrix22:39
blackburnsonney2k: only in dimredpreprocessor which is not used22:39
blackburnconverters ftw22:39
-!- sks_ [~sks@115.247.10.56] has joined #shogun22:41
@sonney2kblackburn, any comments about the cygwin buildbot? should we really try to run all the stuff we currently do also on cygwin?22:44
@sonney2kI am a bit worried that the build bot might be too slow22:45
@sonney2k(due to cygwin being slow)22:45
blackburnsonney2k: no we shouldn't22:46
blackburn:D22:46
@sonney2kblackburn, so what then?22:46
@sonney2kdeb1 - deb3 -> cyg1 - cyg3 ?22:46
shogun-buildbotbuild #79 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/7922:47
shogun-buildbotbuild #79 of deb2 - static_interfaces started, including [56632ab4ae0b4b00ce41e8faad36374ffaf76687, 5fa61fca2fdc2357437fff223c3b2a76b0597be4]22:47
@sonney2kno nightly stuff?22:47
blackburnI'd like to put 'if you are using windows' and a link to this song http://www.youtube.com/watch?v=p1BmY_HrAlw into disclaimer22:47
blackburnsonney2k: did you get TU bot to wrk?22:48
@sonney2kblackburn, it is running since yesterday22:50
@sonney2kI now just compiled buildslave on the cygwin bot22:51
wikinguristenmegbasztaaaaztaabudoszKURVA VILAGOT azt bassza meg22:51
blackburnhungarian obscene lessons22:51
blackburnkurva sounds bad for sure22:51
wikinggsomix: clabels::get_num_labels isn't const?22:51
shogun-buildbotbuild #79 of deb2 - static_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/7922:52
wikingi mean it is not at the moment but i was just wondering if there's a reason for it that i'm too blind to realise why22:53
wikinglike the other memcpy story22:53
wiking...22:53
blackburnwiking: no reason - there is a guy that doesn't like const22:53
wikingah ok22:53
wikingjust that i've got into a catch 22 situation22:53
blackburnhah but actually22:53
blackburncatch 22?22:53
gsomixwiking, I dunno, lol22:53
wikingblackburn: http://en.wikipedia.org/wiki/Catch-2222:54
@sonney2kblackburn, did const ever rescue you?22:54
blackburnwiking: hah! I have been reading this book in russian before22:54
blackburndidn't recognize though :(22:54
blackburnsonney2k: my feets did a few times but const didn't for sure22:55
-!- nietpiet [92329056@gateway/web/freenode/ip.146.50.144.86] has joined #shogun22:55
gsomixwiking, unfortunately I did not have time to do all edits for const methods :(22:55
@sonney2kwiking, if you think const helps you const all of the world!22:55
@sonney2kgsomix, no worries there are certainly more useful tasks than a const triage22:56
blackburnconsthater22:56
@sonney2kconstantinople22:56
wikinggsomix: i mean i really like the other changes, thnx a lot for that22:56
@sonney2kconstantinope22:56
blackburnwiking: which changes?22:57
@sonney2kahhh22:57
* gsomix left to watch Futurama...22:58
@sonney2kswig on cygwin is 2.0.0 in the *experimental* distribution22:58
@sonney2kgsomix, I watched them all22:58
blackburnsonney2k: do you mind I add YES and NO as true and false synonyms somewhere?22:58
blackburn:D22:58
@sonney2kmy biggest favorite is "Roswell that ends well"22:58
wikingblackburn: the const changes in some of the apis22:59
blackburnwiking: why do you care SO much?22:59
@sonney2kgsomix, and I love the http://r33b.net/22:59
wikingblackburn: because trying to merge... and i've got a segfault atm22:59
blackburn??23:00
wikingunrelated actually :023:00
blackburnbecause of const?23:00
blackburn:D23:00
wikingno that linking problem23:00
gsomixsonney2k, \(^_^)/ I have not watched only 6 season.23:00
blackburnALL GLORY TO THE VALGRIND23:00
wiking*was23:00
wikingbut now it's an actually segfault23:00
@sonney2kgsomix, yeah you were too young :D23:00
@sonney2kblackburn, lets do one thing with the cygwin buildbot23:01
@sonney2kbuild libshogun!23:01
blackburnsonney2k: makes sense23:02
@sonney2kall the rest currently has problems23:02
blackburnsonney2k: but I really think we should put F OFF for windows users :D23:02
@sonney2kwhen swig 2.0.4 or greater is available we do python_modular23:02
blackburnbefore I thought it is cool to support windows23:02
blackburnnow I do not23:02
* sonney2k tries to compile shogun on cygwin23:03
wikingdoh23:04
@sonney2kblackburn, failed on make depend23:04
@sonney2kOM*G23:05
gsomixblackburn, windows for dota2 only, kekeke23:05
blackburnsonney2k: look at this guy he keeps saying thing about these shity games to get me nervous :D23:06
-!- sks_ [~sks@115.247.10.56] has quit [Ping timeout: 245 seconds]23:10
shogun-buildbotbuild #80 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/80  blamelist: Michal Uricar <uricar.michal@gmail.com>23:17
@sonney2kblackburn, I am unable to use find under cygwin23:28
@sonney2kfind shogun  -name '*.templ'23:28
@sonney2kdoesnt' find a file23:28
@sonney2khaha23:38
@sonney2knaming clash23:38
@sonney2kfind from windows is taken :/23:38
@sonney2kno wonder23:38
blackburn:D23:41
@sonney2kblackburn, seen nietpiet's email23:42
@sonney2kI think we have some major corruption going on here23:42
blackburnsonney2k: cool23:43
-!- alexlovesdata [55b2212c@gateway/web/freenode/ip.85.178.33.44] has joined #shogun23:45
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Remote host closed the connection]23:49
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun23:52
wikingin DynamicObjectArray the get_num_elements returns 0 for me if there are no elements in it... although i've called the ctor with a given array size... is this intentional?23:59
@sonney2kgsomix, ^23:59
--- Log closed Sat Jul 07 00:00:17 2012

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