IRC logs of #shogun for Sunday, 2014-03-16

--- Log opened Sun Mar 16 00:00:40 2014
-!- grecocd [~Cassio@100.43.25.51] has joined #shogun00:13
grecocdHi, I need help on something. On issue #1944 (https://github.com/shogun-toolbox/shogun/issues/1944), iglesias links an algorithm already implemented from another project (github.com/scikit-learn/scikit-learn/blob/master/sklearn/neighbors/kde.py) to be used as inspiration. Reading this code I see that it uses two different trees that can be used for the nearest neighbor algorithm, k-d tree and ball-tree. How can I implement the KDE with nearest neighbor withou00:20
grecocdthese trees being implemented in shogun?00:20
-!- khalednasr [~k.nasr92@41.69.133.1] has quit [Quit: Leaving]00:35
-!- grecocd [~Cassio@100.43.25.51] has left #shogun []00:46
-!- thoralf [~thoralf@91-66-32-99-dynip.superkabel.de] has quit [Quit: Konversation terminated!]02:02
-!- kislay_ [~kislay@117.239.94.112] has joined #shogun02:54
-!- PirosB3 [~pirosb3@cpc4-newt31-2-0-cust631.newt.cable.virginm.net] has quit [Quit: PirosB3]03:28
-!- kislay_ [~kislay@117.239.94.112] has quit [Remote host closed the connection]04:48
-!- fs_ [~floriansc@f052185147.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds]05:17
-!- wavelander [~udit@122.177.168.86] has joined #shogun05:48
-!- wavelander is now known as [paladin]05:48
-!- kislay_ [~kislay@210.212.61.185] has joined #shogun05:56
-!- vperic [~vperic@194.228.13.108] has quit [Ping timeout: 240 seconds]06:28
-!- _flatline_ [~flatline@2607:f470:22:8:beae:c5ff:fe5a:903f] has quit [Ping timeout: 240 seconds]07:25
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has joined #shogun07:39
-!- kislay_ [~kislay@210.212.61.185] has quit [Read error: Connection reset by peer]08:55
-!- newlido [~quassel@105.200.8.132] has joined #shogun09:24
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has joined #shogun09:42
-!- Rho [~rho@217.55.207.227] has joined #shogun09:59
-!- kislay [~kislay@14.139.41.150] has joined #shogun10:00
-!- Rho [~rho@217.55.207.227] has quit [Remote host closed the connection]10:21
-!- iglesiasg [~iglesiasg@524AE0A7.cm-4-3d.dynamic.ziggo.nl] has joined #shogun10:28
-!- mode/#shogun [+o iglesiasg] by ChanServ10:28
-!- lambday [67157d54@gateway/web/freenode/ip.103.21.125.84] has joined #shogun10:34
-!- Saurabh7 [~Saurabh7@59.88.33.201] has joined #shogun10:36
-!- newlido [~quassel@105.200.8.132] has quit [Ping timeout: 252 seconds]10:39
-!- newlido [~quassel@105.90.207.185] has joined #shogun10:41
-!- PirosB3 [~pirosb3@cpc4-newt31-2-0-cust631.newt.cable.virginm.net] has joined #shogun10:49
PirosB3wiking: Hi! did you have a look at the SaaS mailing list?10:55
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has quit [Ping timeout: 245 seconds]11:05
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has joined #shogun11:16
-!- cameo54321_ [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has joined #shogun11:19
-!- cameo54321_ [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has quit [Client Quit]11:20
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has quit [Ping timeout: 245 seconds]11:20
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has joined #shogun11:22
-!- dhruv13 [~dhruv13@84.64.13.134] has joined #shogun11:36
-!- iglesiasg [~iglesiasg@524AE0A7.cm-4-3d.dynamic.ziggo.nl] has quit [Quit: Leaving]11:38
-!- cameo54321 [2729a8ff@gateway/web/freenode/ip.39.41.168.255] has quit [Ping timeout: 245 seconds]11:39
-!- cameo54321 [272975de@gateway/web/freenode/ip.39.41.117.222] has joined #shogun11:44
-!- cameo54321 [272975de@gateway/web/freenode/ip.39.41.117.222] has quit [Ping timeout: 245 seconds]11:50
-!- cameo54321 [27298acb@gateway/web/freenode/ip.39.41.138.203] has joined #shogun11:55
@wikingPirosB3: saas mailing list?11:58
@wikingno i have not subscribed to a saas mailing list11:59
PirosB3mailing list, where I have posted a thread regarding the SaaS11:59
PirosB3Mark has asked you a couple of questions11:59
-!- Rho [~rho@193.227.20.2] has joined #shogun12:02
Rhohi12:02
Rhowhat  is the initial contribution that i can  do to work in this project "Dictionary Learning" in GSoC 201412:03
@wikingPirosB3: mmm i'll try to answer them asap... but you must bare in mind that we all do this for free, i.e. we do have job that we have to do.... so be patient about reviews/answers, we all try our best but again our resources are not dedicated at this very moment to shogun12:03
@wikingRho: any12:03
@wikingRho: https://github.com/shogun-toolbox/shogun/issues?labels=entrance&page=1&state=open12:04
@wikinghere's like 94 tasks12:04
@wikingchoose any of them and try to solve it12:04
@wikingit does not matter that it's not connected with your desired task12:04
Rhothanks ;)12:04
@wikingwe just want you to get familiar with shogun's codebase and the developing cycle12:05
Rhothat sounds great thanks so much12:05
PirosB3wiking: I perfectly understand this, as my idea is not really part of the ideas list, it is my responsibility to make sure mentors agree with it and it is in line with everyone's general expectations. For this reason I am trying to get everyone to review my proposal. Anyways I'm skyping with Mark soon, and we will come back with a roadmap and deliverables12:10
@wikingPirosB3: i cannot stress it enough12:13
@wikingthat my opinion is that you should try to solve more entrance issues12:13
@wikingas it's all good that you have something sketched up with Mark12:14
@wikingbut Mark can be only an external mentor in this story and you really should first convince shogun developer team that you do have the right skills for this task. as in fact shogun developer team will decide whether this project will go or not...12:15
@wikingand the only way to do this, i.e. convince the developer team is actually solve more entrance issues12:16
@wikingi dont know if i made my self clear here12:16
PirosB3clear enough. I should focus more on entrance tasks12:19
@wikingindeed12:20
@wikingyou should have ...12:20
@wikingand you should12:20
@wikingalthough i really like the whole way of how this task has been built up from the beginning12:21
@wikingand it's great that we get an external mentor for this task and he is very entusiastic about the project as well12:21
@wikingbut still, we need to be able to see your skills12:21
@wikingand the only way we can evaluate that is via entrance tasks12:21
-!- cameo54321 [27298acb@gateway/web/freenode/ip.39.41.138.203] has quit [Ping timeout: 245 seconds]12:22
PirosB3I have done 1 task up till now, will be doing more12:25
-!- khmarehman [~khmarehma@39.47.64.216] has joined #shogun12:42
-!- cameo54321 [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has joined #shogun12:45
-!- vperic [~vperic@194.228.13.108] has joined #shogun13:19
-!- Saurabh7 [~Saurabh7@59.88.33.201] has quit [Quit: Leaving]13:24
-!- khmarehman_ [~khmarehma@39.47.182.70] has joined #shogun13:27
-!- khmarehman [~khmarehma@39.47.64.216] has quit [Ping timeout: 240 seconds]13:29
dhruv13lisitsyn: Hey! Are you free to answer a question regarding CKNN?13:41
lisitsyndhruv13: hey, yeah13:41
dhruv13lisitsyn: the train_machine(data) function sets the data and query set as the same (ie. lhs = rhs), why is that?13:43
dhruv13lisitsyn: shouldn't the user be free to choose the query set?13:43
lisitsyndhruv13: it is perfect ok to do that once you need to really do anything with the query set13:43
lisitsynbut as training would need distances between training set and training set13:44
lisitsynlhs gets equal to rhs13:44
dhruv13lisitsyn: okay, so it's basically for convenience with the distance functions right?13:45
-!- HeikoS [~heiko@nat-184-43.internal.eduroam.ucl.ac.uk] has joined #shogun13:45
-!- mode/#shogun [+o HeikoS] by ChanServ13:45
lisitsynnot really about convenience13:45
lisitsynwe'd have to have lhs==rhs when we train13:45
dhruv13lisitsyn: but there is no (apparent) way to change the query set, since the distance member is protected13:45
lisitsynyou can get distance with getter though :)13:46
lisitsyndhruv13: when you do apply13:46
lisitsynit changes rhs13:46
lisitsynto the query set13:46
dhruv13lisitsyn: oh, sorry for the confusion!13:47
lisitsyndhruv13: no problem13:47
lisitsynI remember I had 'what the heck' thoughts on that before13:48
lisitsyn:)13:48
dhruv13lisitsyn: totally missed that part!! :D13:48
dhruv13lisitsyn: ha ha13:49
dhruv13lisitsyn: a lot of the code makes sense now, especially the ASSERT(m_k<=num_labels)13:49
dhruv13lisitsyn: whew!13:50
lisitsynheh13:50
dhruv13lisitsyn: wait, line 167 here :https://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/multiclass/KNN.cpp13:55
dhruv13lisitsyn: still doesn't make sense, shouldn't it be rhs?13:56
lisitsyndhruv13: that's correct as you find neighbors among the training set13:56
dhruv13lisitsyn: right! sorry again, i'm just panicked because i'm getting weird errors...13:57
lisitsynheh13:57
lisitsynno worries13:57
dhruv13lisitsyn: last clarification, line 340, m_k should be <= distance->get_num_vec_lhs()14:06
lisitsynbut that's the same assert :)14:06
dhruv13it is right now <= num_rhs14:07
lisitsynahh14:07
lisitsynlooks like a bug14:07
dhruv13lisitsyn: yeah14:07
dhruv13lisitsyn: that was causing problems14:08
dhruv13lisitsyn: thanks a lot!14:08
lisitsynyou're welcome14:08
-!- PirosB3 [~pirosb3@cpc4-newt31-2-0-cust631.newt.cable.virginm.net] has quit [Quit: PirosB3]14:08
dhruv13lisitsyn: oh, and classify_for_multiple_k() makes the assumption that init_data has already been called14:09
dhruv13lisitsyn: I should add that too right?14:09
lisitsynyeah probably14:09
lisitsyndhruv13: actually the best way is14:09
lisitsynto add a unit test14:10
lisitsynwith possible failure and then fix the code to make it pass14:10
dhruv13lisitsyn: yep, on it... I'm currently working on nanoflann integration for kdtree support14:10
@HeikoScameo54321: hi14:12
@HeikoScameo54321: just reading your issue, sorry for the delay, was quite busy the last two days14:12
cameo54321HeikoS: Hi14:12
cameo54321HeikoS: ya didn't see you here14:13
cameo54321cameo54321: Thought you're busy14:13
@HeikoSnow commenting all my 50 emails :)14:13
cameo54321HeikoS: haha Good luck :-)14:14
@HeikoScameo54321: I will put something in your issue now, lets discuss then14:14
cameo54321HeikoS: Ya Sure.. Thanks.. Meanwhile I have corrected the GP Notebook..14:14
lisitsynHeikoS: hey14:14
@HeikoScameo54321: nice! I will have alook soon14:15
@HeikoSlisitsyn: hey!14:15
lisitsynI am a bit closer to the proof of concept for plugin stuff14:15
lisitsynlet me show you14:15
cameo54321HeikoS: How to share? Github Gist?14:15
lisitsynHeikoS: https://github.com/lisitsyn/aer/blob/master/main.cpp14:16
-!- dhruv13_ [~dhruv13@84.64.15.29] has joined #shogun14:16
@HeikoScameo54321: yeah, send a PR (with output removed from the notebook) and put a list to the nbviewer of your gist (with output)14:16
@HeikoSlisitsyn: I will have a look in a bit, currently fightign through emails :)14:17
lisitsynsure14:17
-!- dhruv13 [~dhruv13@84.64.13.134] has quit [Ping timeout: 240 seconds]14:19
@HeikoScameo54321: I updated the issue14:28
-!- Rho [~rho@193.227.20.2] has quit [Remote host closed the connection]14:28
-!- PirosB3 [~pirosb3@162.219.6.191] has joined #shogun14:35
jiaolongHi, I have written a new example, how to make shogun automatically compile my new cpp file? I placed it under shogun/examples/undocumented/linshogun/14:42
@HeikoSjiaolong: you have to add it to the makefile andor cmakefile14:49
jiaolongOK, thank you, could you tell me which make/cmake file?14:52
@HeikoSOk use grep on an existing example name to find out, I dont know by heart14:52
jiaolongOK, thanks, I will find it. :)14:52
-!- cameo54321 [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has quit [Ping timeout: 245 seconds]14:55
-!- cameo54321 [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has joined #shogun14:56
cameo54321HeikoS: Thanks, Seen..14:57
@HeikoScameo54321: does it all make sense?14:57
@HeikoScameo54321: I am here now for a while so we could also discuss14:57
cameo54321HeikoS: Umm Yes..15:00
cameo54321HeikoS: I need to think this a bit..15:01
cameo54321HeikoS: You here for about half hour?15:01
@HeikoSyes15:01
jiaolongHi, I have updated my code for the last PR, should I make a new PR?15:03
@HeikoSjiaolong: no you can always update the current one via pushing to the branch that you sent the PR against15:03
jiaolongOK, perfect. BTW, the cmake file to add example is just under the examples/undocumented/libshogun/ folder15:04
@HeikoSyes15:04
jiaolongThanks a lot!15:05
@HeikoSjiaolong: looking forward to your patch15:06
jiaolong:) I have pushed my update15:07
jiaolongHow do I know Travis's result? It doesn't appear in my PR this time.15:08
@HeikoSjiaolong: travis takes a while to trigger, depening on the number of PRs in the queue15:09
jiaolongOK, thanks, hope it can pass the test!15:09
@HeikoSjiaolong: always make sure to run all tests localy before sending a PR15:10
@HeikoSjiaolong: that saves a lot of computation time15:10
jiaolongYes, all the local test are passed including memory leak check15:10
@HeikoSjiaolong: nice, so lets see what travis sais15:11
-!- thoralf [~thoralf@91-66-32-99-dynip.superkabel.de] has joined #shogun15:14
thoralfHey.15:14
@HeikoSthoralf: hey!15:14
thoralfHeiko is awake... seen that because I'm getting hundrets of mails/hour. :)15:14
@HeikoSthoralf: hehe :)15:14
thoralfhundreds15:14
@HeikoSjust working through my 2 days of not responding15:14
@HeikoS100+ mails in here15:14
@HeikoSthoralf: just added a filter to put all of them into a sperate folder, could not see my own mails anymore ;)15:15
-!- dhruv13_ [~dhruv13@84.64.15.29] has quit [Ping timeout: 240 seconds]15:16
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun15:22
shogun-notifier-shogun: Sunil Mahendrakar :develop * 936bfc2 / src/shogun/mathematics/linalg/ratapprox/logdet/ (2 files): https://github.com/shogun-toolbox/shogun/commit/936bfc25ca0c36c2630bf61438c5ce54bd45840a15:22
shogun-notifier-shogun: fixed compile error when eigen3 not installed15:22
shogun-notifier-shogun: Heiko Strathmann :develop * 06e76ac / src/shogun/mathematics/linalg/ratapprox/logdet/ (2 files): https://github.com/shogun-toolbox/shogun/commit/06e76acd81880f985d5701c556c3a359c519270515:22
shogun-notifier-shogun: Merge pull request #2008 from sunil1337/compile_error15:22
shogun-notifier-shogun:15:22
shogun-notifier-shogun: fixed compile error when eigen3 not installed15:22
thoralfHeikoS: That was the first thing I did after beeing added to shogun-staff. ;)15:23
thoralfMeanwhile I'm only watching threads I'm participating.15:24
@HeikoShehe :)15:24
thoralfSo add @tklein23 if you want me to see it.15:24
@HeikoSthoralf: I do :)15:25
jiaolongSorry, I am learning ICR commands. :p15:33
cameo54321HeikoS: Ok so there are two base files in shogun at the moment15:33
cameo54321Legacy CDistribution15:34
cameo54321and Newer ProbabilityDistribution15:34
cameo54321What I understand is that I have to Write abstract base classes15:35
cameo54321which should provide interface points15:35
cameo54321for the distributions to expand on..15:36
cameo54321Most of the CDistribution functions will be used,15:37
cameo54321But the structure will be inspired from stan15:37
cameo54321univariate, multivariate, both  discreet and continuous.15:37
cameo54321and boost should/will be used for pdf/cdf functions15:38
cameo54321Sorry pdf/cdf functions will depend upon boost for computation..15:39
thoralfjiaolong: As far as I know, nobody is working on reading multilabels in LibSVM.15:40
thoralfjiaolong: If you like to do it, place a comment on the issue.15:40
cameo54321for now, lets say I focus on univariate only,15:40
cameo54321for starters15:40
jiaolongOK, perfect15:41
jiaolongwhich ICR command do you use to reply to specific person in this channel? :p15:41
thoralfjiaolong: Regarding your current PR - I'm waiting for hushell to do the review, since he's used to FactorGraph stuff.15:43
jiaolongOK, no problem.15:43
thoralfjiaolong: ICR?  Internet Chat Relay? ;)15:43
jiaolongthoralf: yes, freenode15:43
jiaolongOK15:43
thoralfSlightly different meaning. ;)15:43
cameo54321Then I'll be writing interface points considering stan's structure, but Cdistribution as guidance on what the interface points can be..15:43
cameo54321HeikoS: Am I right?15:44
thoralfIRC <- Internet Relay Chat, but ICR is a funny typo.15:44
jiaolongSorry. I got it. :)15:44
cameo54321HeikoS: I didn't mention your name cz I was collecting my own thoughts.. :p15:44
@HeikoScameo54321: yes15:44
@HeikoSexactöy15:44
@HeikoSah wait you wrote more :)15:45
cameo54321HeikoS: I wrote a lot .. :pp15:45
@HeikoScameo54321: so the interface should be able to deal with all types15:45
@HeikoSuni/multi discrete/continu15:45
@HeikoSyeah and all those things that we cannot do on our own should come from external libs15:46
@HeikoScameo54321: I wonder whether we even need to distinguish between univariate and multivariate15:46
@HeikoScameo54321: there is also the kameleon-mcmc framework which doesnt do that15:46
@HeikoScameo54321: which has the advantage to have a common base class15:46
cameo54321HeikoS: That should be more generic15:47
@HeikoScameo54321: Also, the distributions base class should be defined on general CFeatures15:47
@HeikoSnot SGMatrix Vector15:47
@HeikoSbut the discrete continuous should maybe be subclasses15:47
@HeikoSsince continuous will all work on 64 bit real15:47
@HeikoSand discrete might work on strings too15:48
@HeikoScameo54321: also, we dont need too many distributions for now, this is more about setting up the base classes15:48
@HeikoSunivariate: Gamma, beta15:48
@HeikoSmultivariate: normal only for now15:49
thoralfHeikoS: Ready to merge? https://github.com/shogun-toolbox/shogun/pull/201115:49
-!- _flatline_ [~flatline@2607:f470:22:8:beae:c5ff:fe5a:903f] has joined #shogun15:49
thoralfHeikoS: Travis is :)15:49
@HeikoScameo54321: then we need a discrete with tables, and a mixture distribution to re-combine existing other distributions15:49
thoralfHeikoS: Automatic fixing of imports is messing with everything that uses eigen3.h - probably eigen3.h itself is bogus.15:50
@HeikoScameo54321: then the Gaussian should have different options fors its covariance, like CGaussian (which should be merged) into CGaussianDistribution15:50
@HeikoSthoralf: go ahead and merge15:50
@HeikoSthoralf: yeah ok, thanks a lot for your effort on that!15:50
cameo54321HeikoS: We will not use SGMatrix? That's an importantpoint.. Can you please elaborate a little?15:50
shogun-notifier-shogun: Thoralf Klein :develop * cf0db85 / tests/unit/ (67 files): https://github.com/shogun-toolbox/shogun/commit/cf0db854de23b8a071f4be3c0f9a2b8c8c32a9d915:51
shogun-notifier-shogun: Cleaning unit tests imports: Removed unneeded #include, i.e. <init.h>15:51
shogun-notifier-shogun: Thoralf Klein :develop * 7f7f4f2 / tests/unit/ensemble/ (2 files): https://github.com/shogun-toolbox/shogun/commit/7f7f4f2bfb1afe2c3c1f6eb1d17fd62ac182846415:51
shogun-notifier-shogun: Cleaning unit tests imports: Don't include Labels, when only Math was wanted.15:51
shogun-notifier-shogun: Thoralf Klein :develop * faa7b5c / tests/unit/ (2 files): https://github.com/shogun-toolbox/shogun/commit/faa7b5cc8e96cd7b1576701dbd0b06e944f2ca7415:51
shogun-notifier-shogun: Cleaning unit tests imports: Don't just include what's working.  Include what's needed.15:51
shogun-notifier-shogun: tklein23 :develop * f971d4f / tests/unit/ (69 files): https://github.com/shogun-toolbox/shogun/commit/f971d4f5d57d8bc5efc9d318846b67b227b2524c15:51
shogun-notifier-shogun: Merge pull request #2011 from tklein23/clean_unittest_imports15:51
shogun-notifier-shogun:15:51
shogun-notifier-shogun: Clean unittest imports (removed obsolete imports as a first step)15:51
@HeikoScameo54321: we should rather do things on feature objects15:51
jiaolongHi, How to check the Travis error? e.g. https://travis-ci.org/shogun-toolbox/shogun/builds/2087852215:51
@HeikoScameo54321: and the continous distributions can then have some additional methods which take matrices15:51
@HeikoScameo54321: but the log_pdf should be define on CFeatures15:51
@HeikoSjiaolong: press on one of the builds15:52
@HeikoSsay the gcc one15:52
@HeikoShttps://travis-ci.org/shogun-toolbox/shogun/jobs/2087852315:52
jiaolongOK15:52
@HeikoSyou will see that the data version is not present15:52
-!- PirosB3 [~pirosb3@162.219.6.191] has quit [Quit: PirosB3]15:53
jiaolongThanks, it seems I have to push the submodule15:54
@HeikoSjiaolong: yeah you have to merge your PR against shogun-data first15:55
jiaolongOK, I will try it15:55
-!- cameo54321_ [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has joined #shogun16:07
-!- cameo54321 [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has quit [Ping timeout: 245 seconds]16:07
-!- cameo54321_ [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has quit [Client Quit]16:10
-!- besser82 [quassel@fedora/besser82] has quit [Ping timeout: 240 seconds]16:10
-!- cameo54321 [2729c2c5@gateway/web/freenode/ip.39.41.194.197] has joined #shogun16:10
-!- kislay [~kislay@14.139.41.150] has quit [Read error: Connection reset by peer]16:11
-!- grzes [~grzes@host-81-190-236-173.wroclaw.mm.pl] has joined #shogun16:12
@HeikoSgoing for lunch now, be back in a little while16:13
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds]16:14
cameo54321HeikoS: Ok.. Me for dinner.. But seems a little discussion will be needed16:15
cameo54321afterwards16:16
-!- Saurabh7 [~Saurabh7@117.200.181.180] has joined #shogun16:25
-!- besser82 [quassel@fedora/besser82] has joined #shogun16:26
-!- mode/#shogun [+o besser82] by ChanServ16:26
@HeikoScameo54321: let me know!16:42
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has joined #shogun16:44
lambdayHeikoS: hey..16:46
@HeikoSlambday: hey!16:50
@HeikoShow are things?16:50
lambdayHeikoS: umm having doubts16:51
lambday:(16:51
lambdayHeikoS: thought I could finish different number of samples issue...16:51
@HeikoSlambday: but?16:51
@HeikoSlambday: btw sorry for being not so responsive recently16:52
lambdayHeikoS: but what should I use as an estimator of the eigenvalues?16:52
@HeikoSlambday: it turns out you have found a bug in the paper code, we hav ebeen discussing it :)16:52
@HeikoSlambday: ah for the spectral test?16:52
lambdayHeikoS: yeah please check this [img]http://www.sciweavers.org/tex2img.php?eq=2%5Csum_l%5Cleft%28%5Cfrac%7B1%7D%7B2m%7D%5Cnu_l%5Cright%29%20z_l%5E2&bc=White&fc=Black&im=png&fs=12&ff=arev&edit=0[/img]16:53
lambdayoops16:53
lambdaynot that16:53
lambdayHeikoS: https://github.com/shogun-toolbox/shogun/issues/191816:53
lambdayHeikoS: no worries - you took care of your things this weekend?16:53
lambdayI myself am going slow.. reading papers mostly16:53
shogun-buildbot_build #1886 of cyg1 - libshogun is complete: Failure [failed compile test]  Build details are at http://buildbot.shogun-toolbox.org/builders/cyg1%20-%20libshogun/builds/1886  blamelist: tklein23 <tklein23@users.noreply.github.com>, Thoralf Klein <thoralf@fischlustig.de>16:58
@HeikoSlambday: yeah lots of things to do, currently working on a poster16:59
@HeikoSlambday: checking the link16:59
@HeikoSlambday: it will be some weighted sum of things17:00
@HeikoSlambday: I think dino once wroting something on that17:00
@HeikoSbut let me ask him :)17:00
@HeikoSsince I always forget this stuff17:00
lambdayhehe :D17:00
@HeikoSlambday: I mean dont worry, that will be quite straight forward17:00
lambdayHeikoS: alright :)17:01
@HeikoSlambday: just put in no weights for now, and wait until we get an answer17:01
@HeikoSlambday: how are you feeling about all this stuff?17:01
lambdayHeikoS: great stuffs man! I am hoping I could gather enough understanding and use some of these in my thesis as well :)17:02
@HeikoSlambday: that would be amazinh17:02
@HeikoSlambday: you will see, the feature selection stuff works very nice!17:02
lambdayHeikoS: ah just waiting for that part...17:02
@HeikoSlambday: yeah, it will take some time/work before that though :)17:03
lambdayHeikoS: I'm up for it :)17:03
@HeikoSlambday: btw would you also like to guide/push the linear algebra API a bit? For moving dot-products, matrix-matrix products and factorizations within a shogun API, and then having different backends for those?17:03
@HeikoSsince you know that stuff very well17:03
@HeikoSfor example the eigen-solver class17:04
lambdayHeikoS: yeah that sounds very interesting - although I don't know any gpu stuffs..17:04
@HeikoSlambday: no need17:04
@HeikoSlambday: first backend should be eigen317:05
@HeikoSso nothing really changes17:05
lambdaybut let me think of something - generalized front end17:05
@HeikoSjust having all those base classes17:05
@HeikoSand then have different modes17:05
@HeikoSthe gpu stuff can be done by guys who know that, but we need the interface for that17:05
@HeikoSlambday: and it would be so nice to have that before gsoc since then all new codes code be against that17:05
@HeikoSlambday: so that switching to GPU once its time is just changing a class17:06
lambdayHeikoS: ah cool! I'll see if I cam come up with something useful17:06
lambdaychecking the related issues17:06
@HeikoSlambday: you dont have to code it up, just tell the people what to do :)17:06
lambdayhehe yeah :)17:07
lisitsynHeikoS: !17:08
@HeikoSlisitsyn: ? :D17:08
lambdaylisitsyn: happy birthday :P17:08
lisitsynHeikoS: why avoid opencl? ;)17:08
lisitsynlambday: thanks17:08
@HeikoSlisitsyn: interface should be priority17:08
@HeikoSlisitsyn: and eigen3 is easier to handle for backend for now17:08
@HeikoSlisitsyn: once things work, have another backend17:08
lisitsynHeikoS: I myself need some explanation what do you mean by interface17:08
@HeikoSlisitsyn: just a way of prioritising the work17:09
@HeikoSlisitsyn: the base classes in math/linalg17:09
lisitsyndot(Any x, Any y)17:09
lambdayHeikoS: so, ideally everything related to linalg stuffs should be moved out from SGMatrix, right? like17:09
lisitsyn:D17:09
lisitsynI mean what is the interface here17:09
@HeikoSlisitsyn: no, please do proper representation here, lambday already did such great work woth those lienar operators etc17:09
@HeikoSlisitsyn: way more generic and flexible, cleaner17:10
@HeikoSlambday: yeah all math stuff should go into linalg17:10
@HeikoSlisitsyn: and then offer wrapper methods maybe that are very simple17:10
lisitsynI don't really get what could be more generic for dot product than a function ;)17:10
@HeikoSlisitsyn: for example matrices are linear operators that are applied to vectors17:10
@HeikoSlisitsyn: should be represented like that17:10
@HeikoSso that everything also covers cases where we dont want to do matrix dot products but say convolutions17:11
lisitsynin grothendieck group of abstract operators17:11
lisitsyn:D17:11
@HeikoSwhich is also a linear operation17:11
@HeikoSlisitsyn: just internally, to the outside we can have whatever17:11
-!- newlido [~quassel@105.90.207.185] has quit [Ping timeout: 240 seconds]17:11
lisitsynokay maybe I get it17:11
@HeikoSlisitsyn: for take for example the eigenvector method in SGMatrix17:11
@HeikoSthis is not good, it just works for symmetric things17:12
@HeikoSso this should be the self-adjoint linear operator17:12
@HeikoSsee what I mean?17:12
@HeikoSjust to structure things17:12
lisitsynprobably17:12
@HeikoSto avoid the usual mess we have17:12
-!- newlido [~quassel@105.90.207.185] has joined #shogun17:12
@HeikoSlisitsyn: you can also compute eigenstuff via svd17:12
@HeikoSor EVD17:12
@HeikoSfor other matrice17:12
@HeikoSs17:12
@HeikoSor not,17:12
lisitsynHeikoS: have you got a chance to take a look at my proof of concept of that modularization?17:12
@HeikoSif condition number is large, the  usual stuff doesnt work17:12
@HeikoSlisitsyn: not yet, sorry, but I will soon17:13
@HeikoSlisitsyn: later today17:13
lisitsynalright17:13
lisitsynHeikoS: as you wanted it is crazy advanced C++17:13
lisitsyn:D17:13
@HeikoSlisitsyn: I love that stuff, giveittomebaby17:14
lisitsynHeikoS: I have my own Any type :D17:14
lisitsynah btw C++14 is here17:16
lisitsynso finally we got std::optional17:16
@HeikoSlisitsyn: what does it bring?17:16
lisitsynit is kind of stabilization thing17:16
lisitsynnot really full of new features17:16
lisitsynbut some things like17:16
lisitsynauto type deduction for functions17:17
@HeikoScool17:17
@HeikoSwell, in steps we go17:17
lisitsynI am afraid some day C++ would be impossible to learn17:17
lisitsyn:D17:17
@HeikoSsome day = 10 years ago :D17:18
thoralf:D17:18
lambdaylisitsyn: you should start a tutorial class then :P17:18
lisitsynto be honest even with my love to C++17:18
lisitsynI don't know quite a bunch of details17:18
@HeikoSlisitsyn: same here17:18
lisitsyntemplate <typename T, class... Args>17:19
lisitsynAs<T> create(Args&&... args)17:19
lisitsyn{17:19
lisitsynreturn As<T>(std::make_shared<T, Args...>(std::forward<Args>(args)...));17:19
lisitsyn}17:19
lisitsynlike that17:19
lambdayholy17:19
lisitsynit took like 10-20 minutes to understand that for me17:19
@HeikoSah I wont try for now ;)17:19
lisitsynArgs&&... args17:20
lisitsyn:D17:20
lisitsynlooks like somebody is cursing17:20
lambdaylisitsyn: HeikoS: btw how do you plan the plugin stuff? I mean, is it like - download basic shogun modules - then download (like firefox plugins) other modules that you need and not the whole thing17:20
lisitsynlambday: well I don't have real vision on that17:21
lambdayas in, most of the users that use string kernels won't require the log-det specific modules per se17:21
lisitsynwhat I am technically interested17:21
lisitsynis how to do that :D17:21
lisitsynwhat I have now is more or less good concept17:21
lisitsynhow to define that17:21
lambdaysounds really cool!17:22
lisitsyndue to C++ nature we'd have to keep base classes in core shogun17:22
@HeikoSlisitsyn: reduce compile time17:22
lisitsyne.g. multiclass machine17:22
lisitsynetc17:22
@HeikoSlisitsyn: I just want to compile a certain example17:22
@HeikoSlisitsyn: it tells me which modules I need17:22
@HeikoSthat would be great17:23
lisitsynokay that core I am working on won't be fast to compile17:23
lisitsyndue to heavy usage of templates17:23
@HeikoSlisitsyn: still I dont need to compile all shogun right?17:23
lisitsynHeikoS: base classes17:23
lambdaylisitsyn: from all modules?17:23
lisitsynwell17:24
lisitsynokay let me explain17:24
lisitsynsay we are using python17:24
lisitsynand we want to call method 'apply'17:24
lisitsynthis 'apply' method *have to* be defined in some class of core shogun17:24
lisitsynif you don't add new methods - you are ok to exclude it from base shogun17:25
lisitsynby new methods I mean real actions but not just getters/setters17:25
lisitsynif you add new parameters that's ok17:25
lisitsynI am 95% sure it is impossible otherwise :D17:27
lisitsynwe are using wrong language to have something dynamic :D17:28
-!- cs_shadow [~cs_shadow@14.139.82.6] has joined #shogun17:28
lambdaylisitsyn: how does mozilla do it for plugins, per se? I mean its written in c++, right?17:28
lambdayoh but not modular bindings17:29
-!- cs_shadow [~cs_shadow@14.139.82.6] has left #shogun []17:29
-!- cs_shadow [~cs_shadow@14.139.82.6] has joined #shogun17:29
-!- cs_shadow [~cs_shadow@14.139.82.6] has left #shogun []17:29
lambdayI don't know how technically it can be done - just talking from a user's viewpt17:30
lisitsynlambday: well they have api17:30
lisitsynyou just load dynamic library and use it17:30
lisitsynbut you can't add class to any scope dynamically17:31
lambdayoh I see what you mean17:31
lisitsynso basically here in shogun we'd have to choose what is the API we expose17:31
lisitsynno plugin can alter this API17:32
lisitsynit seems I've found some solution for dynamic parameters17:33
lisitsynbut not for methods17:34
-!- newlido [~quassel@105.90.207.185] has quit [Quit: No Ping reply in 180 seconds.]17:34
lambdaylisitsyn: you need a c++ guru like you for this project :P17:36
lisitsynlambday: well nobody applied so far :D17:37
-!- newlido [~quassel@105.90.207.185] has joined #shogun17:37
lambdaylisitsyn: it grows exponentially towards the deadline17:38
lisitsynlambday: you know we have a function like inverse of that17:38
lisitsynwhich tells you about chances :D17:39
lambdaylisitsyn: lol yeah but nobody started working on any issue related to that too?17:39
lisitsynthere is no issue actually17:39
lambdaylisitsyn: you scared people off  :P17:40
lisitsynexactly that's totally my fail17:40
lambdaylisitsyn: I was just kiddin'17:40
lisitsynlambday: I am not ;)17:40
lambdaylisitsyn: I hope to learn a bit regarding these cool stuffs at my job - hope I'll be of some use after a year17:41
lisitsynlambday: where will you work?17:41
lambdaylisitsyn: oracle17:42
lambdayany idea?17:42
lisitsynoracle is evil you know :D17:42
lisitsynno I don't have any insight on how do they work17:42
lambdayin server tech profile - so mostly c/c++ code17:42
lambdaylisitsyn: oracle is evil... so is MD17:43
lambdayMS***17:43
lisitsynwell you will learn some really industrial code then :)17:43
lambdaylisitsyn: I heard that they contribute stuffs to linux kernel as well.. have this open source team as well...17:44
lisitsynlambday: sure17:44
lambdaywell, that must be in the US office...17:44
@wikingoracle17:44
@wikingevil!17:45
lisitsynhaha17:45
lambdaypoor me :P17:45
@wikinglambday: why would u work for oracle?!17:45
@wikingthey are like worse than m$ :D17:45
lambdaywiking: umm.. for starters, money :(17:45
@wikinglambday: yeah ... :<17:45
@wikingrun while u can :D17:45
lambdaywiking: no bond.... I can run any time I wanna17:46
@wikinggood17:46
@wiking :)17:46
lambdaywiking: may be besser82 could get me into a RHEL job later this year :P (with relocation)17:46
lambdaywiking: lol you spelled m$ lol17:47
lisitsynhaha so you are like in search of relocation positions17:47
lisitsyn(like me)17:47
lambdaylisitsyn: I wanna travel :D17:47
lambdaylisitsyn: until I get married its like run forrest run17:48
lisitsynlambday: oh tell me17:48
@wikinglambday: so the only option to travel is with oracle? :)17:48
lisitsynis that true that in india17:48
lisitsynfather of any daughter have to get some huge amount of money17:48
lisitsynto afford crazy wedding17:48
lambdaywiking: no I got posted in oracle's india office17:48
lisitsynlike for few hundred of people17:49
lambdaylisitsyn: unfortunately, that crazy shit (called dowry) still happens in places in India17:49
lisitsynhaha17:49
lambdaylisitsyn: well, weddings here are almost like huge occassions17:50
lambdaycrazy ceremony.. parents save for that day since the mother is pregnant17:50
lisitsynlambday: what's typical age when people get married?17:50
lambdaylisitsyn: mean 27, std-dev 317:51
lisitsynhmm I see17:51
lambdayI totally made that up btw17:51
lambdaybut the numbers sounds pretty close as per my exp17:52
lisitsyncool17:52
lisitsynthat's interesting actually17:52
lambdaylisitsyn: and painful... (noticing that I turned 27)17:53
lisitsynhaha17:53
lambdaylisitsyn: why don't you apply for Google :)17:55
lisitsynlambday: why do you think I didn't ;)17:55
lambdaylisitsyn: ah no!17:55
lisitsynbut well you see I am not in google :D17:55
Saurabh7Hi guys,17:58
lambdayhi Saurabh717:58
Saurabh7lambday, hi17:58
@wikinglisitsyn: :DDDDDDDDDDDDDDDDDDDD17:58
Saurabh7so i was planning to apply for Shogun Missionary & Shogun in Education idea17:59
Saurabh7but i cant figure how to organize my work week by week17:59
@wikingSaurabh7: try to make it18:02
@wikingand then post it18:02
@wikingand then we can give u feedback18:02
Saurabh7wiking, yes, but all i can think of is write notebooks,write demos...how would i structure it?18:05
Saurabh7maybe i should plan it based on the src directory18:05
Saurabh7like classifier, regressions,etc...does that sound okay?18:05
@wikingSaurabh7: well first of all think about what sorts of notebooks would u like to write18:06
@wikingand then start trying to categorize them18:06
Saurabh7wiking, hmm... okay i am thinking about looking at some fundamental algorithms which require some easing into18:07
@wikingthoralf: please try to fix your git identity: Author: tklein23 <tklein23@users.noreply.github.com>18:07
Saurabh7just as the idea page suggests18:08
cameo54321Ok I can understand CFeatures... What are Efeatures?18:09
cameo54321Anybody please?18:10
cameo54321Feature.cpp18:10
cameo54321src/features18:10
thoralfwiking: Locally it's fine.  I think this happened because I said github to keep it private.18:12
@wikingcameo54321: there is not Efeauters :)18:13
cameo54321wiking: Sorry I didn't compete... EFeatureProperty...18:14
cameo54321wiking: seems it is a feature type18:15
cameo54321enum EFeatureProperty { FP_NONE = 0, FP_DOT = 1, FP_STREAMING_DOT = 2 };18:15
@wikingyes as it's name says18:15
lisitsynit is some kind of enum to indicate capabilities of various features18:15
@wikingit indicates the type of feature18:16
cameo54321wiking: for example what might FP_NONE mean?18:17
@wikingthat it has no special capability like FP_DOT ;)18:17
lisitsynFP_USELESS_SH*T18:17
lisitsynsorry :D18:18
@wikingcameo54321: r u implementing a new feature type?18:18
@wikingor what?18:18
cameo54321wiking: No,18:18
cameo54321I was trying to understand Features.cpp18:18
cameo54321Cfeatures18:18
@wikingjust out of curiousity18:19
@wiking?18:19
cameo54321As it seems we'll be using Cfeatures in probability distributions instead of SGVectors/SCMatrices18:19
cameo54321SGMatrix18:19
@wikingmmm interesting18:20
@wikingany reason for this bald move?18:20
cameo54321wiking: BTW did you see the Issue 1998?18:20
cameo54321https://github.com/shogun-toolbox/shogun/issues/199818:21
@wikingyes what's with it?18:21
cameo54321Well the move resulted in my latest discussion with Heiko18:21
@wikingcameo54321: a) i don't think it's a wise idea to create distributions that are only working if you have c++1118:22
Saurabh7hey lisitsyn , what do you think about my pr for shogun-demo, is it mergeable?18:22
lisitsynSaurabh7: yeah I think so18:22
lisitsynwiking: elaborate this ;)18:22
@wikingcameo54321: b) removing SFMT dependency is eeeeeven more balder move18:22
cameo54321HeikoS Sugestion is that we shaould implement the base classes using CFeatures18:22
@wikingas we just added that lately18:22
-!- dhruv13 [~dhruv13@84.64.13.72] has joined #shogun18:22
lisitsynwiking: come on lets forget about anything before C++1118:22
@wikinglisitsyn: :DDDDDD18:23
lisitsynwiking: really18:23
@wikinglisitsyn: so s/auto/[a-zA-Z]*\*/g18:23
@wikingright?18:23
@wiking:)18:23
lisitsynain't we have it mandatory already?18:23
lisitsynwiking: sure thing18:23
Saurabh7lisitsyn, ok I was pondering coz noone commented for changes18:24
cameo54321HeikoS: I just created some more trouble here :D Can you please look at it? :D18:24
@wikinglisitsyn: well if that's the standpoint18:25
@wikingthen why the hell do we still have18:25
@wikingSGReferencedData18:25
@wikingand all that shitty wrapper stuff18:25
@wikinginstead of directly using std::shared_ptr18:25
@wikingi mean dont get me wrong18:25
@wikingi'm fine by it... just let's then make it right18:26
lisitsynwiking: yeah sure18:26
@wikingcameo54321: i've just commented one more thing on your issue...18:26
@wikingcameo54321: please before suggesting something like that... do some benchmarking18:26
@wikingcameo54321: i reckon the c++11 generated random will be much slower than the dSFMT/SFMT18:26
@wikingbut then again i might be wrong18:26
@wikingso before doing anything it would be worth to benchmark it18:27
@wikinglisitsyn: so we should do it, but actually we cannot18:27
@wikingbecause we still have a lot of scenarios18:27
@wikingwhere we just cannot use c++1118:27
@wikingnot because the compiler does not support it18:27
@wikingit just because the combination of various libraries and stuff will crash18:28
cameo54321wiking: No intention of removing SFMT (or for that matter anything) at the moment...18:28
@wikingcameo54321: "What if the classes for the Issue #1929 are written utilizing C++11s distributions in mind instead of (or alongwith) SFMT?"18:28
@wikingcameo54321: so what is the meaning of this sentence then?18:28
-!- PirosB3 [~pirosb3@162.219.6.191] has joined #shogun18:28
@wikinglisitsyn: so i reckon for another year we still have to use #ifdef HAVE_CXX11_something... :S18:29
cameo54321HeikoS suggestion is to write new base classes, using CFeatures.. Iwent looking into that direction18:30
cameo54321wiking: as for the sentence, I asked this if this can be done or not.. No other thing18:30
-!- dhruv13_ [~dhruv13@84.64.14.115] has joined #shogun18:31
@wiking18:27 < cameo54321> wiking: No intention of removing SFMT (or for that matter anything) at the moment...18:31
@wiking18:27 <@wiking> cameo54321: "What if the classes for the Issue #1929 are written utilizing C++11s distributions in mind instead of (or alongwith) SFMT?"18:31
cameo54321wiking: I do not know if SFMT will be good or bda18:31
cameo54321bad*18:31
@wiking?18:31
@wikingwhat?18:31
@wikingSFMT is currently the PRNG in whole shogun18:31
@wikingyou are at the moment talking about try to use c++11's prng18:32
@wikingit's all good18:32
@wikingbut please do some benchmarking18:32
@wikingbefore continue on that road18:32
@wikingso that we see what's the difference between the current PRNG and c++11's prng18:32
cameo54321wiking: Ok.. By the way I am still looking for advice..18:33
@wikingadvice on?18:33
@wikingi've just given u one18:33
-!- PirosB3 [~pirosb3@162.219.6.191] has quit [Quit: PirosB3]18:33
cameo54321wiking: as for how base classes should be written for unifying prob distributions18:33
@wikingbenchmark c++11 vs sfmt PRNG18:34
-!- dhruv13 [~dhruv13@84.64.13.72] has quit [Ping timeout: 240 seconds]18:34
@wikingcameo54321: what do u mean by how it should be written?18:34
@wikingi guess it should be written in c++18:34
@wikingas well as with a text editor18:34
-!- tomy18 [~alex@p6.eregie.pub.ro] has joined #shogun18:34
cameo54321Using SGMatrices or CFeatures?18:34
@wikingor sgvector18:35
@wiking?18:35
cameo54321or sgvector18:35
@wikingor sgsparsevector18:35
-!- _flatline_ [~flatline@2607:f470:22:8:beae:c5ff:fe5a:903f] has quit [Quit: Leaving]18:35
@wikingor sgsparsematrix?18:35
-!- khmarehman_ [~khmarehma@39.47.182.70] has quit [Read error: No route to host]18:38
@wikingwooohooo HeikoS is being brave again: "I would much rather depend on http://www.boost.org/doc/libs/1_55_0/libs/math/doc/html/dist.html which is mature, tested, etc. "18:38
@wiking:D18:39
thoralfwiking: I don't get if you like it or not.18:39
cameo54321wiking: Please do not take me wrong, but in which direction is it recommended should i move?18:40
@wikingthoralf: which? :)18:40
@wikingcameo54321: well i reckon you should study other libraries that actually do the same functionality18:40
thoralfwiking: boost18:40
@wikingthoralf: no-go18:40
-!- kislay [~kislay@14.139.41.150] has joined #shogun18:40
thoralfwiking: Really?18:40
@wikingthoralf: we went through this like 10 times18:41
@wikingthoralf: yes really :)18:41
@wikingthoralf: but ask sonney2k  ;)))))18:41
@wikingcameo54321: first of all it would be a good idea that the whole thing is templated at least by the PRNG18:41
lisitsynhaha boost18:41
jiaolongHi guys, if I want to PR to shogun-data, do I need to fork shogun-data first? I am using update submodule only currently.18:41
@wikingthoralf: ^ see lisitsyn's reaction :D)18:41
@wikingjiaolong: u need to do the same thing as in case of shogun18:42
lisitsynwe have anti stl commitee18:42
@wikingfork etc..18:42
lisitsynwhat the boost are you talking about :D18:42
thoralfwiking: For me it sounds like a good idea, because we're re-inventing data structures like refcounting, vectors, sparsevectors, etc.18:42
@wikingcameo54321: then maybe even to template the type...18:42
@wikingthoralf: :DDDDDDDDDDDDDDDDDDDDDDDDDDD18:42
thoralflisitsyn: :)18:42
@wikingthoralf: aren't we already reinventing STL? :)18:42
thoralfwiking: No, we're still using C ;)18:43
@wikingthoralf: thing is think about the current situation with swig18:43
lisitsynI have a library simplifying stl algorithms btw18:43
lisitsyn:D18:43
lisitsynself promotion is good18:43
@wikinglisitsyn: :DDD18:43
lisitsyna few years later I will have a library for any boosting case18:43
@wikingthoralf: yeah we never use #include <algorithm> anywhere. and most of the things are being implemented by ourselves instead of using plain ol' STL18:43
lisitsynI will replace the f word with the boost word18:43
@wikingbut it's all because that we don't have d-pointers18:44
@wikingas soon as we would have that18:44
@wikingnoobody would care what bloated library u want to depend on18:44
lisitsynwiking: can you guess what do I have?18:44
@wikingboost, fooost, stl, motherfuckingSTL++18:44
@wiking:)18:44
thoralfwiking: ../src/shogun/lib/SGVector.cpp:#include <algorithm>18:44
@wikingthoralf: yeah that's .cpp ;)18:44
@wikingthat doesn't count :D18:44
@wikinglisitsyn: u have moost++ ? :)18:45
lisitsynwiking: yeah18:45
lisitsynwiking: well actually I have a class for dptrs :D18:45
@wiking\o/18:45
@wikingyeah so now apply *18:45
lisitsyndefault constructor creates object18:45
lisitsynquite obvious right?18:45
lisitsyn:D18:45
@wikingmmm woah :D18:45
@wikinga ctor that creates an object18:45
lisitsynhahah18:46
lisitsynno no18:46
@wikingmaaaan we are like 1990!!!18:46
@wikingoperator new!18:46
lisitsynI mean it is unique_ptr which default ctor creates the object18:46
@wikingah18:46
@wiking++18:46
lisitsynso what you have to do is just18:46
lisitsynstruct Private;18:46
lisitsynd_ptr<Private> private;18:46
@wikingnoooooooo, why struct18:47
@wiking?18:47
@wikingwhy no class? :D18:47
lisitsynare you visual studio or what?18:47
lisitsyn:D18:47
@wikingfucking struct :) '80s18:47
lisitsynit is visual studio that feels the difference between struct and class18:47
@wikinglisitsyn: and me!18:47
lisitsynhaha18:47
cameo54321wiking: Any recommended library other than the f library? :D18:47
thoralfwiking: Ah, now I got it.18:47
thoralfInterfering jokes.18:47
lisitsynyou can declare thing like struct18:47
@wikingcameo54321: boost?18:48
lisitsynand then define as class18:48
@wikingcameo54321: stan18:48
cameo54321wiking: haha yes18:48
@wikinglisitsyn: reeeeealllllllllllllly? :D18:48
@wikinglisitsyn: woah man i didn't know!!!!18:48
lisitsynwiking: yeah that sounds obvious right?18:48
@wikingbrand new INFORMATION!18:48
cameo54321wiking: we have already discarded stan sa for now..18:48
lisitsynwiking: go try that in VS :D18:48
@wikingcameo54321: not because of it's API18:48
@wikinglisitsyn: noooooooooooooooooooooooooooooooo  i dont want to open VS!18:49
@wikinglisitsyn: actually the whole macro story of QT should be fine18:49
lisitsynyeah sure18:49
@wikingor do we want something more 21st century? :D18:50
lisitsynthough that's like 3 lines18:50
@wikingno18:50
cameo54321wiking: stan's structure is not so good, we have gone through that18:50
@wiking518:50
@wiking!18:50
lisitsynI don't think it is really needed18:50
lisitsyn:D18:50
@wikingcameo54321: did u? sorry i missed that... i thought it's because it's insane coupling with boost, and we dont want boost + that they include dependent library in their repo... i do not remember a discussion about how bad stan's API is....18:51
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]18:51
@wikinglisitsyn: :D18:51
cameo54321wiking: boost, put it aside for now lets say..18:52
@wikingcameo54321: so where have u discussed the API problems of stan?18:52
cameo54321wiking: we have already discussed and discarded stan (Because I couldn't understand its make structure.)..18:53
lisitsynthe reasoning sounds cool :)18:53
@wikingcameo54321: mmmm that's interesting18:53
cameo54321wiking: As for its API, I do not remember we had a discussion specifically for that18:53
lisitsynI haven't been following that discussion18:54
lisitsynwhat's with that stan at all18:54
cameo54321But point is, we moved on18:54
@wikingcameo54321: so you are saying that stan's API is not good because you couldn't undestand it's make structure?18:54
@wikingcameo54321: i think you are just mixing things up18:54
@wikingthere's one thing18:54
@wikingthat how aweful one's repository or make process is18:54
@wikingand another thing how it API looks like18:54
@wikingthat's like saying: i don't like you house beause i did not like the construction worker18:55
@wikingi mean seriously...?18:55
cameo54321wiking: Well I am saying that we had decided not to consider stan18:55
@wikingcameo54321: yes we decided that we dont want to integrate stan18:55
@wikingbut that doesn't mean that we couldn't mimic stan's API18:55
@wikingespecially if it's good18:55
@wikingbut that should be investiaged18:56
@wiking*investigated18:56
cameo54321wiking: well right now what I am looking for is how to move onwards..18:56
@wikingcameo54321: yeah and one option would be to check stan's api18:57
@wikingi've been saying this like 20 minutes before18:57
@wikingand it goes for boost as well18:57
@wikingthat's one thing that we dont want to integrate or depend on either of those two libraries...18:57
@wikingthat doesn't mean that we dont want to have anything do with their API18:58
@wikingthose two things are completely unrelated stuff18:58
@wikingmaybe they have some very nice design choices in their api (i've just suggested 2 from boost) that we should follow as well in our implementation18:59
cameo54321wiking: And the implementation has to be with using SGVector,SGMatrix etc...?19:01
@wikingcameo54321: mmm i believe you dont understand me...19:07
shogun-buildbot_build #223 of debian wheezy - memcheck is complete: Failure [failed memory check]  Build details are at http://buildbot.shogun-toolbox.org/builders/debian%20wheezy%20-%20memcheck/builds/223  blamelist: Sunil Mahendrakar <sunil.mahendrakar19@gmail.com>, Heiko Strathmann <heiko.strathmann@gmail.com>19:07
lisitsynreturn recall_type<std::function<As<Metaclass<T>>>>(metaclass_factory)();19:10
lisitsynI've gone too far19:10
lisitsyn:D19:10
lisitsynwiking: you gonna like it ^19:12
@wikinglisitsyn: :D19:12
thoralf>>>>>19:12
thoralfNice.19:12
thoralfAnd a factory.19:13
thoralfWhy not a FactoryBuilder?19:13
lisitsynthoralf: metaclass factory!19:13
lisitsynmetaclass abstract factory builder of singletons19:13
lisitsynso you can put a value to lvalue and rvalue and back and forth19:14
thoralflisitsyn: Touché.19:14
lisitsynI want to rename that as.hpp19:14
lisitsynto ass.hpp19:14
-!- tomy18 [~alex@p6.eregie.pub.ro] has quit [Ping timeout: 260 seconds]19:16
lisitsynInternal compiler error: Error reporting routines re-entered.19:18
lisitsynPlease submit a full bug report,19:18
lisitsynhahaha19:18
lisitsynwiking: advanced C++ is when you break the compiler19:18
thoralf:)19:18
lisitsynoh okay our tv just announced we can turn the USA into 'radioactive ashes' :D19:26
-!- jiaolong [9e6d09e4@gateway/web/freenode/ip.158.109.9.228] has quit []19:40
@wikinglisitsyn: :DDDDDDDDDDDDDDDDDDDDDDDDDDD19:41
thoralflisitsyn: Hope the won't try. ;)19:49
-!- parijat [75c7d31f@gateway/web/freenode/ip.117.199.211.31] has joined #shogun19:53
parijatHeikoS: Hello!19:54
parijatHeikoS: about softmax function, in case of derivatives of softmax, I have to return the exponential.. which is unlike log_sum_exp... anyway to prevent underflow here as well?19:58
-!- khalednasr [~k.nasr92@41.69.143.152] has joined #shogun20:00
-!- iglesiasg [~iglesiasg@524AE0A7.cm-4-3d.dynamic.ziggo.nl] has joined #shogun20:00
-!- mode/#shogun [+o iglesiasg] by ChanServ20:00
@HeikoSwiking, cameo54321 hey!20:00
@HeikoSparijat: hi!20:00
@HeikoSwiking, cameo54321 time for some flame wars ;D20:01
cameo54321cameo54321: Present20:01
@HeikoSwiking: so whats wrong with boost?20:01
parijatHeikoS: hi! :)20:01
@HeikoSwiking: What are the alternatives for one dimensional pdf functions?20:01
@HeikoSparijat: let me see, could you point me to a line again?20:01
parijatHeikoS: yup just a min20:02
parijatHeikoS: 81 in .cpp20:02
parijatHei20:02
parijatHeikoS: i just return the eigen_ret matrix a few lines later.20:03
@HeikoSparijat: get_log_probability_derivative1_f ?20:03
parijatyup20:03
@HeikoSparijat: ah I see20:04
@HeikoSparijat: I think that should be ok shouldnt it?20:04
@HeikoSparijat: point was more in the log-sum-exp20:04
parijatHeikoS: i should be. I think. I am getting accurate results uptil 4th decimal point in the unittest20:05
@HeikoSparijat: the problem with that is always small numbers which pop up when we have a lot of data in the GP. then individual probabilities are like 1e-1020:06
@HeikoSexponentiating that quickly breaks float64_t20:06
parijatHeikoS: hmm.. i see20:06
parijatHeikoS: do you have any idea how matlab etc handles that?20:07
@HeikoSparijat: well there is no way around it if one stores probabilities in the normal domain20:07
@HeikoSparijat: so maybe try some extreme examples and see what happens20:08
@HeikoSwhether its all fine even with extremely hard cases20:08
-!- PirosB3 [~pirosb3@cpc4-newt31-2-0-cust631.newt.cable.virginm.net] has joined #shogun20:08
parijatHeikoS: these small errors might accrue in multiclass gp20:09
parijatHeikoS: yes, let me test some hard cases20:10
@HeikoSparijat: cool!20:15
@HeikoSI gotta cycle home now, but I will be back a bit later20:15
@HeikoSwiking: lets also discuss some things then20:15
-!- HeikoS [~heiko@nat-184-43.internal.eduroam.ucl.ac.uk] has quit [Ping timeout: 240 seconds]20:20
-!- cod123 [514481ef@gateway/web/freenode/ip.81.68.129.239] has joined #shogun20:20
-!- dhruv13__ [~dhruv13@84.64.15.73] has joined #shogun20:32
-!- dhruv13_ [~dhruv13@84.64.14.115] has quit [Ping timeout: 240 seconds]20:34
-!- iglesiasg [~iglesiasg@524AE0A7.cm-4-3d.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]20:35
-!- parijat [75c7d31f@gateway/web/freenode/ip.117.199.211.31] has quit [Quit: Page closed]20:35
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has quit [Ping timeout: 252 seconds]20:37
-!- grzes [~grzes@host-81-190-236-173.wroclaw.mm.pl] has quit [Quit: Konversation terminated!]20:47
-!- Rho [~rho@217.55.207.227] has joined #shogun20:52
thoralfwiking: 32 of the SerializationHDF5 tests are failing on my machine.20:59
thoralfwiking: Do you know if are working somewhere else?21:00
-!- tomy18 [~alex@p6.eregie.pub.ro] has joined #shogun21:01
thoralfIn file src/shogun/io/SerializableFile.cpp line 120: Could not read `current_aggregate' from `/tmp/StoreScalarAggregator_PT_FLOATMAX.Gsq4vu21:01
thoralfor lisitsyn?21:03
lisitsynwwwwat21:03
-!- sonne|osx [~sonne@e178048019.adsl.alicedsl.de] has joined #shogun21:07
thoralfHey Sören.21:13
-!- Saurabh7 [~Saurabh7@117.200.181.180] has quit [Ping timeout: 240 seconds]21:14
-!- kislay [~kislay@14.139.41.150] has quit [Read error: Connection reset by peer]21:18
-!- kislay [~kislay@14.139.41.150] has joined #shogun21:19
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has joined #shogun21:22
dhruv13__hey! does anyone know why valgrind would report crc errors?21:24
thoralfdhruv13__: Can post the complete output to a gist?21:25
-!- Saurabh7 [~Saurabh7@117.200.179.88] has joined #shogun21:26
dhruv13__https://gist.github.com/dhruv13J/958939621:26
dhruv13__that's without -v, with is too huge21:27
dhruv13__but it really should not be reporting problems with a lot of those files21:28
dhruv13__could it happen that the program terminates, and all the memory is dumped?21:28
dhruv13__nope, that's not the case21:30
@wikingthoralf: mmmmmm all the buildbots?21:31
-!- Rho [~rho@217.55.207.227] has quit [Remote host closed the connection]21:31
@wikingthoralf: see here: http://buildbot.shogun-toolbox.org/waterfall21:32
@wikingthoralf: and travis21:32
thoralfwiking: Strange.21:34
thoralfFails here.21:34
dhruv13__hey! I ran ./shogun-unit-test with valgrind, and i am getting huge data losses... is that normal?21:37
dhruv13__I did not mess around with any important stuff, and none of the unit tests access my code changes21:38
thoralfdhruv13__: What's "data losses"?21:40
dhruv13__sorry, memory leaks21:41
-!- dhruv13__ is now known as dhruv1321:41
dhruv13am i missing something important21:42
thoralfdhruv13: Well, first checkout a fresh develop and confirm that's leaking there.  If so, make a bug request (with shogun version/git hash) and an attached valgrind log.21:42
dhruv13?21:42
dhruv13okay21:43
thoralfIf you're sure that it's not your fault, then the above is the best way.21:43
thoralfIf you are not sure, you can try with individual tests21:43
thoralfFor example: ./shogun-unit-test --gtest_filter="*suspectTest*"21:44
thoralfvalgrind ./shogun-unit-test --gtest_filter="*suspectTest*"21:44
shogun-buildbot_build #224 of debian wheezy - memcheck is complete: Failure [failed memory check]  Build details are at http://buildbot.shogun-toolbox.org/builders/debian%20wheezy%20-%20memcheck/builds/224  blamelist: tklein23 <tklein23@users.noreply.github.com>, Thoralf Klein <thoralf@fischlustig.de>21:44
dhruv13thoralf: yep, tried those21:46
dhruv13thoralf: getting leaks with nearly all matrix tests21:46
@wikingdhruv13: before u report all the huge data losses check if they are the same as http://buildbot.shogun-toolbox.org/memcheck/20140316-1857.html21:47
@wikingsince then we know about them..21:47
@wikingdhruv13: and if u use valgrind bare foot then dont forget to use the suppress file as well...21:47
dhruv13wiking: yep, some of those... will do21:48
@wikingbtw thoralf there's a leak u've introduced: http://buildbot.shogun-toolbox.org/memcheck/20140316-1857.html#idp25963221:48
dhruv13wiking: there's a memory leak in SGObject?!21:49
@wikingthoralf: or at least revealed :D21:49
@wikingdhruv13: yes ... 5 of them why?21:49
thoralfwiking: Which one?21:49
@wikingthoralf: there's the link21:50
dhruv13wiking: I'm testing leaks on my changes to KNN.cpp, and was losing ~1800 bytes, could that be because of this leak?21:50
@wikingdhruv13: no21:51
@wikingdhruv13: that's your problem..21:51
dhruv13wiking: the -v option on valgrind reveals CRC mismatch errors, and i have no clue what those are21:51
@wikingdhruv13: rtfm21:52
@wikingthat's your best way to go21:52
dhruv13wiking: okay21:52
thoralfwiking: Oh, yes.  Thanks.21:58
thoralfwiking: I see the leak.  Should be easy to fix.21:59
-!- newlido [~quassel@105.90.207.185] has quit [Ping timeout: 264 seconds]22:07
-!- Saurabh7 [~Saurabh7@117.200.179.88] has quit [Excess Flood]22:19
-!- Saurabh7 [~Saurabh7@117.200.179.88] has joined #shogun22:20
thoralfwiking: https://github.com/shogun-toolbox/shogun/pull/201423:02
lisitsynfinally PR 201423:05
lisitsynthoralf: I cna't believe we are doing that in 2014 :D23:06
thoralflisitsyn: :D23:06
lisitsynthoralf: your patch is totally ok but the codestyle in general23:06
lisitsynthat's C :(23:06
thoralflibncbm is C ;)23:06
lisitsynyeah23:06
thoralfAnd I copy-pasted it from libbmrm23:07
thoralfBut while(cp_ptr!=NULL) is really great.  Reminds me when I started with C :D23:08
lisitsynyes yes23:08
lisitsynwhy oh why23:08
-!- [paladin] [~udit@122.177.168.86] has quit [Quit: leaving]23:11
lisitsynthoralf: this code also has inconsistent variable naming23:11
lisitsynBufSize23:11
lisitsynmaxCPs23:11
lisitsynACPs23:11
lisitsyn:D23:11
lisitsyntotally crazy23:11
lisitsynor even CPList_head23:11
-!- newlido [~quassel@41.237.225.99] has joined #shogun23:14
-!- tomy18 [~alex@p6.eregie.pub.ro] has quit [Ping timeout: 260 seconds]23:16
-!- sonne|osx [~sonne@e178048019.adsl.alicedsl.de] has quit [Quit: sonne|osx]23:26
-!- lambday [67157d54@gateway/web/freenode/ip.103.21.125.84] has quit [Ping timeout: 245 seconds]23:27
-!- fs_ [~floriansc@e179222254.adsl.alicedsl.de] has quit [Remote host closed the connection]23:33
-!- newlido_ [~quassel@41.237.225.99] has joined #shogun23:38
-!- Netsplit *.net <-> *.split quits: vperic, kislay, thoralf, newlido23:44
-!- Netsplit over, joins: kislay, thoralf, vperic23:45
@wikinglisitsyn: u dont like my code? :D23:49
@wikinglisitsyn: wrote it in 12 hours :>23:49
thoralfwiking, lisitsyn: What do you think about changing a few headers to forward declarations instead of #includes and moving them to the implementations?23:55
thoralfI just ran an analysis over a few classes and I moved the #include's to .cpp files and only used forward declarations.23:55
thoralfAccording to what I know, this is the way to got, but I'm not sure how we handle it in shogun.23:56
-!- HeikoS [~heiko@2.219.252.217] has joined #shogun23:59
-!- mode/#shogun [+o HeikoS] by ChanServ23:59
--- Log closed Mon Mar 17 00:00:41 2014

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