IRC logs of #shogun for Friday, 2011-04-29

--- Log opened Fri Apr 29 00:00:37 2011
blackburnsonney2k: seems to be late but thank you ;)00:53
serialhexgood!  nobody said horrible things about me while i was away :P01:34
@bettyboo8)01:34
blackburnyeah we didn't01:38
-!- blackburn [~qdrgsm@188.168.2.109] has quit [Quit: Leaving.]01:53
-!- alesis-novik [~alesis@188.74.87.84] has joined #shogun05:09
@sonney2k...not officially ;-)07:10
-!- banane_ [5ce15286@gateway/web/freenode/ip.92.225.82.134] has joined #shogun07:49
-!- banane_ [5ce15286@gateway/web/freenode/ip.92.225.82.134] has quit [Client Quit]07:51
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has joined #shogun07:58
-!- blackburn [~qdrgsm@188.168.4.250] has joined #shogun08:28
blackburnsonney2k: how it's going? is clock ticking? :)08:42
-!- blackburn [~qdrgsm@188.168.4.250] has quit [Quit: Leaving.]08:58
-!- sploving [~root@124.16.139.196] has joined #shogun09:48
splovingsonney2k, are you around?09:48
@sonney2ksploving, yes09:48
@sonney2kdid you look at the java typemaps?09:48
splovingI wrote a small typemap file, but test failed09:49
splovingfor java vector09:49
@sonney2ksploving, what happens?09:50
@sonney2ksploving, do you have some code I can look at?09:51
splovinghttp://pastebin.com/Nxq13u7c09:52
splovingI have something other. I will be back soon09:52
splovingit is the code and exmaple in the pastbin09:52
splovingsee you09:52
@sonney2ksploving, please submit a patch for that - I will merge it - it is ok that it does not work (but has to compile)09:55
* sonney2k is away now too09:57
splovingsonney2k, I am back10:09
splovingbut it does not work10:09
splovingI think I should make it work well10:09
splovingthen submit10:10
splovingsonney2k, I submit10:15
splovingit could compile although not work now10:15
-!- sploving [~root@124.16.139.196] has left #shogun []11:09
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has quit [Ping timeout: 246 seconds]11:24
-!- blackburn [~qdrgsm@188.168.4.151] has joined #shogun12:26
-!- sploving [~root@124.16.139.196] has joined #shogun13:30
splovinghi sonney2k, are you there13:30
splovingI commit twice. the second could work!13:31
splovingI wanted to pull request, but it told me that "there is already a pull request"13:31
splovingso when you have time. please merge it. thx:013:32
sploving:)13:32
-!- sploving [~root@124.16.139.196] has left #shogun []13:34
@sonney2kI will try it in 1 hour.13:41
-!- heiko [~heiko@infole-06.uni-duisburg.de] has joined #shogun14:43
@sonney2kok back14:46
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: Operation timed out]14:57
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has joined #shogun15:01
CIA-90shogun: Soeren Sonnenburg master * r046e59e / (2 files in 2 dirs): Merge git://github.com/sploving/shogun (+5 more commits...) - http://bit.ly/iLppMY15:25
-!- sploving [~root@124.16.139.196] has joined #shogun15:39
splovinghello sonney2k, are you around?15:39
splovingI tried to wrap it likes "double[] y = x.get_labels();" but failed15:40
splovingthis may take some time to improve it15:40
@sonney2ksploving, I see15:41
@sonney2kcould you find any typemap example that does something similar?15:41
splovingI tried. but not find it  now. i want to know that will "x.get_labels(y)" be OK for15:42
splovingthe who project?15:42
splovingyou know, every language has its special15:42
@sonney2kI mean it must be possible to create a java vector and from C and then pass that back to java15:42
@sonney2ksploving, did you search for related java typemaps?15:42
splovingyeap15:43
splovingmaybe there is something missing15:43
@sonney2khttp://www.opensource.apple.com/source/swig/swig-4/swig/Lib/java/various.i15:44
splovingthat is for char array15:45
@sonney2kString numbers[] = { "one", "two", "three" };15:45
@sonney2k *   String[] ret = modulename.foo( numbers };15:45
@sonney2kthis seems to at least return a String[] ret15:45
@sonney2kso it should be possible for arrays too15:45
blackburnwow15:45
splovingOK. I will take a look at it.15:45
splovingand improve it tommorrow.15:46
blackburnthese typemaps rocks15:46
@sonney2kblackburn, coder pr0n15:46
splovingsonney2k, do you think that I need look at the source code of shogun ?15:46
splovingafter the java typemap?15:46
splovinglike the Kernel, Features and so on15:47
@sonney2ksploving, I am not sure what you are asking15:47
splovingI mean I did not understand any code of shogun classes15:47
@sonney2ksploving, no - once the typemaps work everything of shogun should work there too (if there are no unexpected issues)15:47
@sonney2kunexpected issues could be crashes related to garbage collection etc15:48
splovingOK. I know.15:48
* sonney2k crosses fingers that this doesn't happen15:48
serialhexsonney2k: i love you!15:49
splovingjava typemap is a little difficult than others15:49
serialhexthat link is f*cking awesome & will make my life sooo much easier!!!!15:49
splovingI will take a look at it more to understand it better15:49
splovingserialhex,15:49
splovinghave you written any typemap files?15:50
@sonney2ksploving, blackburn I think we might need to replace things like double*, int -> SGVector15:50
@sonney2kserialhex, there are examples for ruby too I think15:50
blackburnsonney2k: I love you15:50
blackburn:D15:50
* sonney2k feels much loved ;-)15:50
splovingwhich is SGVector?15:50
blackburnsonney2k: yeah, I think it is a good idea15:50
splovingI have no meaning about it15:50
serialhexsploving: i'm working on the ruby one now... i was studying all the wrong stuff pre-gsoc so now i have to re-study15:51
* sonney2k shares love with all of the shogun developers15:51
serialhexyeah sonney2k, i mentioned my love for you after i found the ruby one :D15:51
@sonney2ksploving, a struct like   struct SGVector { double* vec, int len }15:51
blackburnand SGMatrix may be ?15:52
@sonney2kserialhex, yes sorry but all this love business won't work you know I have a wife already and kids ;-)15:52
splovingthen all the typemap files will need rewritten?15:52
@bettyboogreat15:52
@sonney2kblackburn, yes and some SGNDArray type too15:52
@sonney2ksploving, which would be easy though (I think one can even do this with a sed script)15:53
serialhexyeah sonney2k, and long-distance relationships dont work that well anyway :P15:53
@bettyboohrhr!15:53
@sonney2ksploving, the difficulty would be to do that through all of shogun15:53
blackburndaily gay jokes on shogun15:53
splovingDo you think that it is easy to replece them? as there are a lot of classes15:53
@sonney2ksploving, no it is not easy15:53
blackburnwe will crash shogun a little15:53
blackburn:D15:54
serialhexwell i'm off for a bit... bbl.  hopefully i'll have some spiffy code to show you on monday sploving15:54
serialhex...if not sooner15:54
splovingSo I think this should be done later. or else this will affect the gsoc project15:54
@sonney2ksince I cannot do this until <date of birth> I would want to postpone this until after the first gsoc deadline15:54
@sonney2ksploving, or that - but I hope we manage to do earlier15:55
@sonney2ksploving, and don't worry it does not affect every student and also not that much - I mean code will continue to work we just have to change typemaps to have a different signature and then the routines and internal represenations one by one15:56
blackburnsonney2k: oh yeah! revolution! just like in 191715:57
@sonney2kblackburn, yes with the CClassifier -> CMethods rename a definite revolution15:58
@mlsecLove is in the air15:58
blackburnmlsec: love you!15:58
blackburnsonney2k: I mean when changing things to SGVector, etc15:59
@mlsecOh. And betty will likely marry serialhex15:59
@sonney2kwelcome to the shogun gay club - man we are just all in love today.15:59
@bettyboomlsec: bad betty15:59
@sonney2kbettyboo, why - serialhex will treat you well!15:59
@bettyboosonney2k: I've made a new pull request. I think I might have done some stuff you already added, not too sure.15:59
splovingI have to go now bye.16:00
@sonney2ksploving, cu! and keep us updated!@16:00
@sonney2kand thanks!16:00
blackburnsonney2k: Shogun Machine Learning Gay Toolbox?16:00
@mlsecPull for code or for someone in the channel, bettyboo?!?16:00
@bettyboomlsec: I suggest you start using github... fork shogun there and fix it then send a pull request ...16:00
splovingsonney2k, enyoy your family life~16:00
-!- sploving [~root@124.16.139.196] has left #shogun []16:01
@sonney2ksploving, I hope I still have a few more days...16:01
@sonney2kblackburn, but yes I clearly hear the clock ticking16:01
blackburn:D16:01
@mlsecsonney2k: Yeah. Good luck16:01
* sonney2k I wonder whether mentioning of gay or sex will increase the #hits to shogun-toolbox.org16:02
@mlsecAt least will teach betty new jokes!16:02
@bettyboomlsec: at least for now.16:02
@mlsecYeah!16:03
heikohehe whats going on here? :)16:03
heikojust have been to the coiffeur and thought this would be all gay stuff for taday :D16:04
@mlsecheiko: Haha. Funny observation16:04
serialhexmlsec: thanks for arranging the marriage between me and bettyboo :-/16:05
@bettybooserialhex: i'm very interested to use kfa for my current work with dna data - thanks for some points16:05
serialhexyou're welcome bettyboo!! :P16:06
@mlsecThe grandma and her grandchild next to me are playing "name chains" for hours: john nick kevin nina alf fritz ...16:06
@bettybooserialhex: Submitting more patches doesn't really improve anyones chances by now. Nevertheless, we naturally like to see you all contributing and very welcome any patch. Becoming a long term contributor is likely to get you into next years previous years. This is not to say you are (not) in. Official announcements will be made next Monday only.16:06
@bettyboo8)16:06
@sonney2kheiko, added your blog http://shogun-toolbox.org/planet/16:07
@sonney2kheiko, but it is hard to tell what is going on here16:07
heikoyes? ;)16:08
@sonney2kheiko, anyway ask whenever you have questions and tell me your phone # once you have it16:08
heikoi think i will have to call you16:09
heikosince i wont get a new number but only will be able to call fixed telephone for free16:09
heikowill get a coffee ...16:11
@sonney2kheiko, hmmhh that won't work with my plan to carry around the baby while talking to you16:12
heikooh, mmh you wanted to go outside :)16:12
@mlsec:P16:13
heikodo you have any costs for calling festnetznummern?16:13
@sonney2kheiko, can you instead get some el cheapo o2 prepaid card?16:13
@sonney2kno16:13
heikook, I will think of something16:14
* blackburn likes long-long german words16:15
heikolike Festnetznummer? ;)16:16
serialhexyeah... german and englich may be close, but we dont have many incredibly-long words like that!16:19
@sonney2kmlsec, please show them a really long german word (otherwise they get the wrong impression ;)16:21
* serialhex likes small words... big words frighten him, hey hide under his bed and will catch & eat him if he dosnt make it to the 'safe zone'16:25
@mlsecHere we go16:38
@mlsecFensterbriefumschlag16:38
@mlsecArbeitnehmerfreizügigkeitsregelung16:40
@mlsecThe longest one I came across in a long while16:40
@sonney2kI have one more "Donaudampfschifffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft"16:48
@sonney2kor Rindfleischetikettierungsüberwachungsaufgabenübertragungsgesetzparagraphen16:49
serialhexsonney2k:  that's insane!!!17:10
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection]17:26
heikosonney2k, how to print error messages from the Parameter class? its not an SGObject17:27
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has joined #shogun17:29
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection]17:40
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has joined #shogun17:43
-!- apiapi [~apiapi@125.25.250.151.adsl.dynamic.totbb.net] has joined #shogun17:51
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection]18:14
blackburnomg germany won18:16
blackburnoh I am ashamed with that team18:19
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has joined #shogun18:21
-!- heiko [~heiko@infole-06.uni-duisburg.de] has left #shogun []18:59
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has joined #shogun19:24
-!- alesis-novik [~alesis@188.74.87.84] has quit [Quit: I'll be Bach]19:38
-!- apiapi [~apiapi@125.25.250.151.adsl.dynamic.totbb.net] has quit [Ping timeout: 240 seconds]20:10
@sonney2kblackburn, germany won what?20:38
blackburnsonney2k: beat russia at ice hockey championship20:39
@sonney2kI didn't know we have an ice hockey team even20:40
@sonney2kthought it is either USA, Canada or CCCP that wins such things20:40
blackburnyeah, I thought we have strength team too :D20:41
blackburnit isn't playoffs but anyway20:41
@sonney2kstrong yeah20:41
blackburnf-ck why I wrote strength20:42
@sonney2kblackburn, btw can you please put the trapezoid area into CMath ?20:42
@sonney2kto reuse it between ROC an PR20:42
blackburnok20:42
blackburnsonney2k: should I check for negatives, etc?20:43
blackburnah nevermind20:43
blackburnich bin mude :) saying some mess20:43
@sonney2kit is better to have an assertion in there yes20:43
blackburnsonney2k: I'll just made it abs()20:44
@sonney2kif the abs is correct then yes20:44
blackburnwhy not20:45
blackburnarghhh mathemathics.h is slightly intricated20:47
blackburnhehe *thics20:48
blackburnsonney2k: btw why you need that, are there any other algo using it?20:48
@sonney2kblackburn, computing an area under some curve can be useful :)20:49
@sonney2kand since you already have to do it 2 times - DRY20:49
blackburnook20:50
blackburnsonney2k: static inline float64_t trapezoid_area(float64_t bottom, float64_t top, float64_t, height)20:53
blackburn?20:53
@sonney2kI thought for computing the full area...20:53
blackburnahhhh20:53
blackburnhmm20:53
@sonney2kso for any x and y array20:53
blackburnI see..20:54
@sonney2kassuming y=f(x) is injective(?)20:54
blackburnsonney2k: there is a problem..20:55
blackburnPRCEvaluation use different approach to calculate it20:55
blackburn'rotated' you kno20:56
@sonney2kblackburn, so just swap x and y in that case20:56
blackburnsonney2k: how can one set the case?20:56
blackburntwo different methods?20:56
@sonney2kcompute_area(flaot64_t* x, int32_t x_len, float64_t* y, y_len)20:57
blackburnah :D20:57
blackburnthank you20:57
@sonney2kjust call it compute_area(R, R_len, , P, P_len)20:57
@sonney2kinstead of P,R20:57
@sonney2kor am I missing sth?20:58
blackburnnope, I just didn't came aside from its matrix representation20:58
blackburnthought I will have to swap matrix some way20:59
blackburnetc20:59
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection]21:00
@sonney2kblackburn, if your input is a matrix, then you could have a bool flag at the and for swapping x & y21:01
-!- serialhex [~quassel@99-101-149-136.lightspeed.wepbfl.sbcglobal.net] has joined #shogun21:06
blackburnsonney2k: sorry was away, will implement it now21:44
blackburnsonney2k: can I assume x and y length equal?21:52
@sonney2kblackburn, is this the case in PR / ROC curve?21:52
blackburnI mean can I be assure that no one could call it with different length x and y arrays21:53
@sonney2kthen yes :)21:53
blackburnthe most simplest way to ask that is21:53
blackburnstatic inline float64_t trapezoid_area(float64_t bottom, float64_t top, float64_t, height)21:53
blackburnehh21:53
blackburnno21:53
blackburnstatic float64_t area_under_curve(float64_t* x, float64_t* y, int32_t len)21:53
blackburnsonney2k: can I use only one len?21:53
@sonney2kblackburn, use 2 different len's and then assert that these lens are both equal21:55
blackburnsonney2k: ok. but why?21:55
@sonney2kblackburn, think of the SGVector thing21:56
blackburnahh21:56
blackburnI see21:56
blackburnsorry for these misunderstandings, I'm really rushed with all the things around :)21:57
blackburnfrankly, I'm switching to java when shogun is compiling and etc21:58
-!- Daniel____ [50fa9238@gateway/web/freenode/ip.80.250.146.56] has joined #shogun22:13
Daniel____Hi22:13
blackburnhi22:14
Daniel____I have been trying to build Shogun in an IDE.  I have tried in both Linux and Windows but I can't seem to get it to work.22:14
@bettybooho22:14
Daniel____In both cases I am getting the error message "make:*** No rule to make target 'matlab', needed by 'all'. Stop.22:15
blackburnhow did you configured shogun22:15
blackburn?22:15
blackburn= keys, etc22:16
Daniel____Unfortunatley, I have no experience with makefile C++ projects.  I am trying to add a C# interface to Shogun - but my previous C++ projects have been Visual Studio22:16
Daniel____Just the default configuration22:16
Daniel____it works from the command line22:16
Daniel____I can build in linx, although not windows cygwin22:16
blackburnsonney2k:22:16
Daniel____the problem is with the eclipse IDE in Windows and Linux, and I do not know any other IDE that works with makefile projects22:17
Daniel____?22:17
blackburnI don't know anything about it because I just use make in my command line22:17
Daniel____the entire project has been written with just text editors?22:19
blackburnI'm using eclipse for developing but do not build in it22:20
Daniel____That is what I am going to do as well.  Thanks.22:21
blackburnI really don't know how developers of shogun do it22:21
blackburn'cause I'm just a GSoC student :)22:21
serialhexDaniel____: if you simply want to build shogun the easiest way is (like most linux utils) though the command line, you can still edit whatever you like in whatever text editor you choose22:25
serialhexfor example: i use kate (a nice text editor that comes with kde) to do all my coding, and i test it all on the command line22:26
Daniel____I am going to work in eclipse22:26
serialhexyou can probably _build_ shogun on the command line and then write what you want and build it against shogun in whatever ide you choose22:27
Daniel____thats what I will do22:27
Daniel____unfortuantley, now I am going to have to get it working in cygwin, because we are trying to build for windows22:27
serialhexok cool22:27
serialhexahh... i see22:27
* serialhex dosnt like windows22:27
Daniel____so I will probably be back with another question - I thought the problem the windows IDE was that it was windows and not linux22:28
serialhexit should work in cygwin, though i'm not sure22:28
Daniel____I did not choose the development platform, its for a project to interpret brainwaive patterns22:28
serialhexahh, interesting22:28
Daniel____yeah - the guy I am working for is named Ori, he has probably been on this channel before22:29
serialhextheres actually a GSoC student whos building c# bindings in swig for shogun, sploving on this channel iirc22:29
serialhexnever seen him22:29
Daniel____oh, really, thats what I am doing too22:29
Daniel____hmm22:29
Daniel____do you have his email22:29
Daniel____?22:29
serialhexuhm... no i dont believe i do... lemme check though22:30
Daniel____what is GSoC?22:30
blackburngoogle summer of code22:30
Daniel____ah22:30
Daniel____yeah, I saw the deadline too late22:30
serialhexsploving1@gmail.com - you should also subscribe to the shogun mailing list... it's not really busy but theres some good info pased though there every so often22:31
Daniel____that might be my boss22:31
blackburnsonney2k: pull is ready22:32
serialhexi dont think it is blackburn!  i think you are LYING!!! lying liar!!!22:32
serialhex:P22:32
blackburni don't ;)22:32
Daniel____no that is not my boss22:34
Daniel____thanks guys, I sent him an email22:34
serialhexnp, i dont know when he's going to be getting to the c# typemaps, but with someone asking for them i dont think it'll take too long22:36
blackburnserialhex: hey that guy from India beaten me up!22:38
blackburnwith 4320 additions :D22:38
@bettyboololomat?22:39
serialhexdo wah?!?!?!22:39
serialhexthats INSANE!!!!22:39
serialhex(something has gone wrong with his shogun repository i think)22:39
blackburn:D22:39
blackburnnope22:39
@bettybooblackburn, yeah ^_^22:39
serialhexlolz bettyboo!!!22:39
@bettybooserialhex: morge!22:39
blackburnserialhex: he did some think I don't understand, 'StreamingFile' and so on22:40
blackburnthing*22:40
blackburnmade*22:41
blackburnah nevermind22:41
* serialhex goes and checks the shogun repository22:41
serialhex???22:41
blackburnit is better to shut up for me cause when I'm talking it is just like some unordered set of letters :D22:42
serialhexhey, you have a reason for bad english: it's not your native language.  there are some people _here_ with worse english that you (and all they speek is english!!)22:44
blackburnanyway it's just a matter of time ;) will speak english good and spreche deutsch gut but a bit later :D22:46
serialhex:D22:47
blackburnit is good to me that you are native speaker because among non-natives I could even degrade my english22:47
serialhexit's one of the reasons why i try and help when possible22:47
blackburnthank you ;)22:48
serialhexnp, anytime... and feel free to ask when you are uncertain about something22:49
blackburnserialhex: why my ejbFindByValues method isn't working? :D22:49
serialhexbecause you probably didnt create a ValueFinderGnome class yet... dont you know anything :P22:50
blackburnyeah seems to be!22:51
* serialhex needs a small saw for cutting through plastic23:07
-!- blackburn [~qdrgsm@188.168.4.151] has quit [Quit: Leaving.]23:15
-!- warpy [~warpy@bzq-79-180-56-86.red.bezeqint.net] has joined #shogun23:29
warpyhey sonney2k, here ?23:29
-!- warpy [~warpy@bzq-79-180-56-86.red.bezeqint.net] has quit [Quit: The computer fell asleep]23:55
--- Log closed Sat Apr 30 00:00:38 2011

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