Open in new window / Try shogun cloud
--- Log opened Sat Feb 27 00:00:14 2016
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 250 seconds]01:24
-!- aditya123 [uid148851@gateway/web/irccloud.com/x-myfufpprzirjrmaz] has joined #shogun05:31
aditya123Hello all, Is Shogun going for GSoc this year ?05:32
-!- besser82 [~besser82@fedora/besser82] has joined #shogun10:21
-!- mode/#shogun [+o besser82] by ChanServ10:21
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun11:30
-!- mode/#shogun [+o HeikoS] by ChanServ11:30
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]11:41
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun12:38
-!- mode/#shogun [+o HeikoS] by ChanServ12:38
@HeikoSlisitsyn: lets chat here12:40
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun12:40
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * b4a3f17 / / (7 files): https://github.com/shogun-toolbox/shogun/commit/b4a3f1761235e5ce75d4b300fdcc60de500afff712:40
shogun-notifier-shogun: hacky draft of added cpp to meta examples and the test build. Only works when make is called single-threaded12:40
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 08c1ab3 / examples/meta/cpp/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/08c1ab354c9216c61e69aed6cef9be2bb9ba51ca12:40
shogun-notifier-shogun: update comment12:40
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * c84cec8 / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/c84cec8db0d8d51baab71cd68f61138f5b192a4e12:40
shogun-notifier-shogun: remove unnecessary whitespaces12:40
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * c9893bc / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/c9893bc10dea7e89b6731385fc2cef5bd1bb3c6512:40
shogun-notifier-shogun: make use of some for automatic reference counting12:40
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 9877631 / / (7 files): https://github.com/shogun-toolbox/shogun/commit/98776313ab055473123fe876aecb7161d7e1142912:40
shogun-notifier-shogun: Merge pull request #3014 from karlnapf/feature/sphinxdoc_cpp12:40
shogun-notifier-shogun:12:40
shogun-notifier-shogun: hacky draft of added cpp to meta examples and the test build.12:40
lisitsynok12:40
lisitsynoops12:40
lisitsynok12:40
lisitsynok ok12:40
lisitsyn:)12:40
lisitsynlet me12:40
@HeikoShaha12:40
@HeikoSsorry understood you wrong12:40
lisitsynno worries12:40
lisitsynactually my changes were isolated12:41
lisitsynin this cmakelists12:41
lisitsynshould be easy to do12:41
lisitsynHeikoS: meanwhile12:41
lisitsynGPs + multivariate output12:42
lisitsynpossible?12:42
@HeikoSyes12:43
@HeikoSbut not in sg12:43
@HeikoSlisitsyn: but yorkerlin will do this12:43
@HeikoSin gsoc12:43
@HeikoShopefully12:43
@HeikoSlisitsyn: in fact, send him an email to ask that. He might do it for simple Gp straight away :)12:43
@HeikoSlisitsyn: where are shoguns c++ types degfined?12:43
lisitsynHeikoS: what do you mean?12:44
lisitsynwhich ones?12:44
@HeikoSfloat64_t12:44
lisitsynint_64 and stuff?12:44
lisitsynah12:44
lisitsynI dont remember sorry, grep it ;)12:44
@HeikoScommon.h12:45
lisitsynHeikoS: ok testing it again12:46
lisitsynwill push if works12:46
lisitsynHeikoS: bad thing12:48
lisitsynas we are using executable12:48
lisitsynwe will have millions of targets12:48
lisitsynin cmake12:48
lisitsyn[ 98%] Built target classifier-knn-meta-cpp12:48
lisitsynlike that12:48
lisitsynhere you go12:50
shogun-notifier-shogun: Sergey Lisitsyn :feature/sphinxdoc * 4d87a00 / examples/meta/cpp/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/4d87a0032d7eb33d7b0e9c6dda800a9f5ad2415212:50
shogun-notifier-shogun: Better cmake scripting of cpp meta examples12:50
lisitsyntry that12:51
@HeikoSlisitsyn: trying12:53
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 47f5983 / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/47f5983f36bcbcc53f800913230e6173ce1f5a1b12:53
shogun-notifier-shogun: add all the vector and matrix types12:53
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * b2b6b8f / examples/meta/src/classifier/knn.sg: https://github.com/shogun-toolbox/shogun/commit/b2b6b8f5b97875843cec6692c22db586def996b612:53
shogun-notifier-shogun: back to RealVector12:54
@HeikoSlisitsyn: btw I will push the lua thing12:54
@HeikoSand you can have a look12:54
@HeikoSdoesnt work somehow12:54
lisitsynHeikoS: what doesn't work?12:54
@HeikoShttps://github.com/shogun-toolbox/shogun/pull/301112:54
lisitsynok12:55
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc_lua * 15e0010 / / (6 files): https://github.com/shogun-toolbox/shogun/commit/15e0010c410f15849e884dc59fefad5efdae01b412:55
shogun-notifier-shogun: add lua to cookbook, meta examples, and test build. Not yet working.12:55
lisitsynnever tried lua12:55
lisitsyn:D12:55
lisitsynwith shogun12:56
@HeikoSlisitsyn: same12:56
@HeikoSbut there are some examples12:56
@HeikoSthat work12:56
@HeikoSbut meta example somehow doesnt work12:56
@HeikoSneed to compare and adjust12:56
@HeikoSbut I have no idea12:56
lisitsynok I will check12:56
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * ffdda55 / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/ffdda55c40b30a76c2df445d1e46595df6b0df3d12:58
shogun-notifier-shogun: fix copy paste error12:58
@HeikoSlisitsyn: hey btw I have another thing I need feedback on12:59
@HeikoSlisitsyn: or more discuss12:59
@HeikoSso you know we disabled integration testing12:59
lisitsynwhat is this?12:59
lisitsynyeah12:59
@HeikoSwhich is good as it was unmaintainable12:59
@HeikoSwith name changes in classes causing false positives13:00
@HeikoSbut the idea itself, making sure results do not change compared to reference, is good right?13:00
@HeikoSso what about rather than serialising the instances, we compare vector/matrix valued output only13:00
@HeikoSto reference13:00
@HeikoSwe could add this to meta language13:00
@HeikoSand then compare example output across all interfaces to reference result13:01
lisitsynyes13:01
lisitsynthis makes sense to me13:01
@HeikoSand here modifying the class itself does not change the result, as one would only add result from algorithm13:01
@HeikoSlisitsyn: so then we avoid that things slip through if not covered by unit tests13:01
lisitsynwe just need to indicate somehow13:01
lisitsynwhat to check13:01
@HeikoSlisitsyn: I would add a SGClass that one can pass vector/matrix13:01
@HeikoSand it somehow writes it to file13:01
@HeikoSjust as before we pickled things13:02
@HeikoSand then have a test script that compares these outputs13:02
@HeikoSand meta language examples will just have to put the "last" vector with the result in there13:02
@HeikoSlisitsyn: btw your cpp cmake tuning worked13:02
lisitsynI think it shouldn't be the last vector13:02
lisitsynthere should be some lang construction13:03
lisitsynlike 'checkpoint'13:03
lisitsynthat is checked13:03
lisitsynor we can compare just any vector/matrix we get13:04
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 6525dc7 / examples/meta/cpp/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/6525dc7a86c1ae96fcde1e055f767e12059cb90313:04
shogun-notifier-shogun: add comment to explain sergeys trick13:04
@HeikoSlisitsyn: can you explain?13:04
lisitsynI think we could add a flag to generate.py13:04
@HeikoSlisitsyn: I think it should be concious decision what is compared13:04
@HeikoSshould not compare everything13:05
@HeikoSor dont you agree?13:05
lisitsynwhy not everything?13:05
@HeikoSlisitsyn: you mean like all vectors and matrices that have been stored in a variable?13:05
lisitsynyes13:05
@HeikoSlisitsyn: ok13:05
@HeikoSbut then13:05
lisitsynlike generate.py --test-across-langs13:05
@HeikoSit should not eben be in the .sg file13:05
@HeikoSbut just in the generator13:05
lisitsynwhen enabled the generate.py just takes any value it sees13:06
@HeikoSlisitsyn: good idea, then we dont have to touch the .sg file if we change the mechanism in there13:06
lisitsynand stores it13:06
@HeikoSlisitsyn: very good idea13:06
lisitsynok lets put it to some issue then..13:06
lisitsynbefore we forget haha13:06
@HeikoSlisitsyn: I think I rather implement it straight away13:06
@HeikoSwant it before gsoc13:06
@HeikoSbecause then13:06
lisitsynyes but I will forget about that in an hour13:06
lisitsyn:D13:06
@HeikoShaha13:07
@HeikoSlisitsyn: ok feel free to write it down then13:07
lisitsyntoo many things under control13:07
@HeikoSlisitsyn: so the generator then just adds a couple of lines at the end of file13:07
lisitsynHeikoS: yes13:07
@HeikoSlisitsyn: and this is done via SG class?13:07
lisitsynyes13:07
@HeikoSthat stores it to file?13:07
@HeikoSok13:07
@HeikoSand then we creata a python script to compare?13:07
@HeikoSor how do we do that?13:07
@HeikoSbest would be a matrix/vector equals on it13:08
@HeikoSso that we can put accuracy in13:08
@HeikoSwhere does the comparison happen?13:08
lisitsynI think outputs are collected13:08
lisitsynto some ENV13:08
lisitsyndirectory13:08
lisitsynthen pairwise compared13:08
@HeikoScomparison happens in?13:10
@HeikoSpython/shogun?13:10
@HeikoSwe store results in ascii?13:10
lisitsynHeikoS: I think it would be best to employ shogun stuff there13:12
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * c220dac / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/c220dac005387df3a32fd374198649053a57f1fe13:13
shogun-notifier-shogun: use types from Library.i13:13
@HeikoSlisitsyn: agreed13:13
@HeikoSlisitsyn: so how does this work?13:13
@HeikoSwhen does the check happen?13:14
@HeikoSlisitsyn: at example runtime?13:14
lisitsynHeikoS: no, after13:14
lisitsynonce all are done13:14
lisitsynwe compare them13:14
@HeikoSlisitsyn: ok so them all examples produce a single file?13:14
@HeikoSwith the same name as they are called?13:14
lisitsynI think they store a single file per example in some example directory13:14
lisitsynclassifier/knn/python_output13:14
lisitsynHeikoS: what bothers me is the speed of such a thing13:15
lisitsynI expect it to be pretty slow13:15
@HeikoSlisitsyn: dont know13:15
@HeikoSI mean it is not real examples13:15
@HeikoSjust APIU13:15
@HeikoSAPI13:15
@HeikoSso few dimensions and few instances13:15
@HeikoSbut sure13:15
lisitsynyes but a lot of comparisons13:15
@HeikoSlisitsyn: so how to do it?13:15
@HeikoSbinary?13:16
@HeikoSwe have had problems with that in the past13:16
lisitsynHeikoS: some additional python script I guess13:16
@HeikoSlisitsyn: ugly ;)13:16
@HeikoSdont tell drwiking13:16
lisitsynwhy?13:16
@HeikoShe will be mad13:16
@HeikoShaha13:16
@HeikoSno but I think that is the way to go13:16
@HeikoShow would the script do it?13:16
@HeikoSwhat is the format of the files?13:16
lisitsynnah we could just pickle numpy stuff13:17
lisitsynand compare13:17
@HeikoSsince I assume we only want one file per example that collects all vectors?13:17
@HeikoSlisitsyn: problem is generating pickles from the Shogun class13:17
lisitsynah yes13:17
lisitsyntrue13:17
@HeikoSlisitsyn: I want to avoid using serialisation in there as we havent updated that yet13:17
lisitsynah ok13:17
@HeikoSbut simply store the vector/matrix itself13:17
lisitsynlets avoid it then13:17
lisitsyneasy13:17
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has joined #shogun13:17
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11222730613:17
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has left #shogun []13:17
@HeikoShow?13:17
lisitsynprint x.columns13:18
lisitsyn...13:18
lisitsyn;)13:18
lisitsynHeikoS: I think it is easy to do once it is integrated13:18
lisitsynintegration takes much more time13:18
lisitsynonce I have some call of a dummy thing in generate.py I could iterate fast13:19
@HeikoSlisitsyn: ok13:24
@HeikoSlisitsyn: sure main thing is that we dont need to rouch the .sg files13:24
@HeikoSso we can start adding examples and do this later13:24
@HeikoSlisitsyn: in that case, see email :)13:24
@HeikoSlisitsyn: this and the lua issue, then integration is done13:25
lisitsynok cool13:25
lisitsynHeikoS: going to take some break now13:25
lisitsynHeikoS: I will check lua once I get back to it13:26
lisitsynthen start looking at this integration stuff13:26
lisitsynHeikoS: issue2 could be solved with ctags or clang api13:27
lisitsynmaybe grep could be unreliable but would work too13:27
@HeikoSlisitsyn: sure13:27
@HeikoSlisitsyn: can you elaborate on issue 2?13:27
@HeikoSgive me a link or so13:27
@HeikoSah ctags13:27
@HeikoSof course13:28
lisitsynwe just run ctags13:28
@HeikoSbut we dont have that yet13:28
lisitsynwe would need them anyway13:28
@HeikoSno but then need to fix this first13:28
lisitsynto support other things like auto-sphinx-highlighting13:28
@HeikoSwe will not have them in a while13:28
lisitsynit is very easy to add ctags target13:28
lisitsynwhy?13:28
@HeikoSlisitsyn: mmh maybe I dont really understand what you mean13:29
lisitsynwe just need to pass ctags file to generate.py13:29
lisitsynand let him understand how to handle that13:29
lisitsynHeikoS: the ctags file is built on every built with a custom target13:30
lisitsynon every build*13:31
@HeikoSok and ctags file contains all the includes?13:31
@HeikoSbut wait13:31
@HeikoSgenerate.py only sees the .sg file13:31
lisitsynHeikoS: yes you can easily extract path from ctags13:33
lisitsynHeikoS: run 'ctags -R src/shogun'13:34
lisitsynand open 'tags'13:34
lisitsynI like it more than grep because it does some parsing13:35
lisitsynwhile grep could break at some point13:36
@HeikoSbut what is the input to ctags?13:36
@HeikoSa cpp file?13:36
@HeikoSthat is not available when generating meta examples13:36
@HeikoSlisitsyn: maybe I do the grep thing for now as a hack to make things work and we use ctags later?13:37
@HeikoSlisitsyn: or you do the ctags now, and I sort out the other issues13:37
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has joined #shogun13:48
travis-ciit's Sergey Lisitsyn's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11222839813:48
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has left #shogun []13:48
lisitsynHeikoS: but we want to extract locations of shogun files right?13:49
lisitsynthey are not generated13:49
@HeikoSlisitsyn: true13:50
@HeikoSah now I get it13:50
@HeikoSso we run ctags on the shogun src tree13:50
@HeikoSand then pass stuff13:50
lisitsynyes13:50
@HeikoSlisitsyn: wanna do that?13:50
lisitsyncan do13:50
@HeikoSbut wait13:50
@HeikoSthen generator.py has to look the types up13:50
@HeikoSso it has a list of types that appear13:50
@HeikoSah yes thats fine13:51
lisitsynHeikoS: it already had this thing13:51
lisitsynremember we patched it out13:51
@HeikoSI dont remember ;)13:51
lisitsynHeikoS: so they were right in the grammar13:56
lisitsyn=> impossible to write down non-shogun type13:56
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 2fb7887 / examples/meta/generator/targets/csharp.json: https://github.com/shogun-toolbox/shogun/commit/2fb78874fef2f9b626a379e700f8dad6707c020713:57
shogun-notifier-shogun: put in complex type13:57
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 43c2581 / examples/meta/generator/ (2 files): https://github.com/shogun-toolbox/shogun/commit/43c258164b22e6cbfcbb678cb9f7caa46d7711b113:57
shogun-notifier-shogun: remove whitespaces for nicer visuals in cookbook snippets13:57
@HeikoSlisitsyn: I think you did that13:57
@HeikoSbut well13:57
@HeikoSah yes13:57
@HeikoSthe hand created file13:57
lisitsynso now we are getting back13:57
lisitsynhaha13:57
@HeikoSwhere he checked whether something is a valid shogun type13:57
lisitsynyes13:57
@HeikoSthat was more to check actually13:57
@HeikoSso rather than having runtime error, the generator would fail13:57
@HeikoSit is actually good to have13:58
@HeikoSso if you add the include magic, that check should be put in too13:58
lisitsynHeikoS: yeah ok13:58
@HeikoSthen one can locally run make meta_examples and catches any typos in shogun class even if no modular interfaces are enabled13:58
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 9a198b5 / examples/meta/cpp/CMakeLists.txt: https://github.com/shogun-toolbox/shogun/commit/9a198b5e580e5bcf5bb12fc62958a516e8237ecd14:02
shogun-notifier-shogun: unify names of generated tests14:02
@HeikoSlisitsyn: https://travis-ci.org/shogun-toolbox/shogun/builds/11222839814:02
@HeikoSyour cmake thing worked on travis14:02
lisitsyngood14:02
@HeikoSlisitsyn: ok so ctags is all yours14:03
@HeikoSI need to solve this issue 114:03
@HeikoSin eht email14:03
@HeikoSfor that need to change the grammar I think14:03
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 8d826fa / doc/cookbook/source/conf.py,doc/cookbook/source/templates/page.html: https://github.com/shogun-toolbox/shogun/commit/8d826fa57eaa2c284cf5672ecaec33f0a26b5f8c14:27
shogun-notifier-shogun: add customized tab titles to cookbook and move cpp down the list14:27
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has joined #shogun14:29
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11222877214:29
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has left #shogun []14:29
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 546fcb6 / examples/meta/generator/targets/csharp.json: https://github.com/shogun-toolbox/shogun/commit/546fcb63988fa81a78175769f0987e547164684214:29
shogun-notifier-shogun: remove whitespaces in csharp for nicer cookbook visuals14:29
-!- travis-ci [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has joined #shogun14:30
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11222887614:30
-!- travis-ci [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has left #shogun []14:30
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]14:31
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has joined #shogun14:32
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11222923614:32
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has left #shogun []14:32
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun14:39
-!- mode/#shogun [+o HeikoS] by ChanServ14:39
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Client Quit]14:40
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun14:43
-!- mode/#shogun [+o HeikoS] by ChanServ14:43
shogun-notifier-shogun: Sergey Lisitsyn :feature/sphinxdoc * 992eba6 / CMakeLists.txt,src/shogun/CMakeLists.txt,cmake/FindCtags.cmake: https://github.com/shogun-toolbox/shogun/commit/992eba6bee178bbba2e38bc254d405567111b24714:44
shogun-notifier-shogun: Integrate ctags target into the build14:44
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Client Quit]14:45
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has joined #shogun15:21
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11223951415:21
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has left #shogun []15:21
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has joined #shogun15:49
travis-ciit's Sergey Lisitsyn's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11224145615:49
-!- travis-ci [~travis-ci@ec2-184-73-100-71.compute-1.amazonaws.com] has left #shogun []15:49
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has joined #shogun16:21
-!- mode/#shogun [+o HeikoS] by ChanServ16:21
@HeikoSlisitsyn: jojojo16:22
@HeikoSjust saw the patch16:22
lisitsynHeikoS: yes ctags is being built16:22
lisitsyn(if you ask for it)16:23
@HeikoScool16:23
@HeikoSso this should be done when -DENABLE_TESTING=On16:23
@HeikoSsince we only need it for that16:23
lisitsynHeikoS: no, I think it is better this way16:24
@HeikoSok16:24
lisitsynit is run if you do 'make ctags'16:24
@HeikoSah I see16:24
@HeikoSbtw16:24
@HeikoSauto test_labels = knn->apply(feats_test); auto output = test_labels->get_values();16:24
lisitsynor if you have some dependency16:24
@HeikoSauto test_labels = knn->apply(feats_test);16:24
@HeikoSauto output = test_labels->get_values();16:24
lisitsynyes16:24
@HeikoShow does this work?16:24
@HeikoSwhen there is abiguitiy?16:24
@HeikoSlike in get_values16:24
@HeikoSmight return SGVector or float64_t*16:25
lisitsynhow can there be ambiguity?16:25
@HeikoSwhen name is overloaded16:25
@HeikoSthen compile error?16:25
lisitsynit doesn't sound possible for me16:25
@HeikoSlisitsyn: can auto be used for any statement like that? where something is copied?16:25
lisitsynauto can replace basically everything16:26
lisitsynit just infers the type16:26
@HeikoSgreat16:26
@HeikoSso issue 1 of email solved16:26
lisitsynHeikoS: I don't really get get_values example16:26
@HeikoSjust remains issue 216:26
lisitsynyou can't have two methods returning different things16:27
lisitsynbut the same name16:27
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 601ea07 / examples/meta/generator/targets/cpp.json: https://github.com/shogun-toolbox/shogun/commit/601ea070cf1adbb335d8113fa1773b8d2401814816:27
shogun-notifier-shogun: solve type problem in cpp meta example via 'auto' keyword16:27
shogun-notifier-shogun: Heiko Strathmann :feature/sphinxdoc * 73634c5 / examples/meta/src/classifier/knn.sg: https://github.com/shogun-toolbox/shogun/commit/73634c5a452efd95f3af3264892f072cce64161a16:27
shogun-notifier-shogun: re-add output as now works16:27
@HeikoSlisitsyn: ok then, auto is new for me I was confused16:27
lisitsynHeikoS: it is just replaced with the return type of the method16:29
@HeikoSlisitsyn: yep got it16:29
@HeikoSpreprocessor type of operation16:30
@HeikoSwell good16:30
lisitsynyeah but it is a bit more16:30
@HeikoSif you solve the includes then we have cpp integrated16:30
lisitsynok let me try now16:30
@HeikoSok I will do some stuff as well16:34
@HeikoSas fixing lua16:34
@HeikoSlisitsyn: there is a weird problem16:47
@HeikoSyou know in the conf.py of sphinx16:47
@HeikoSwe define the target languages16:47
lisitsynyeah16:47
@HeikoStarget_languages = (16:47
@HeikoS        ('python', 'py'),16:47
@HeikoS        ('octave', 'm'),16:47
@HeikoS        ('java', 'java'),16:47
@HeikoS        ('ruby', 'rb'),16:47
@HeikoS        ('r', 'R'),16:47
@HeikoS        ('csharp', 'cs'),16:47
@HeikoS        ('cpp', 'cpp'),16:48
@HeikoS        )16:48
@HeikoSso when R appeary before ruby in there16:48
@HeikoSthen in the html, the R-tab shows the ruby example16:48
@HeikoSmust be some string matching16:48
lisitsynwow16:48
@HeikoSif I swap the order, i.e. ruby before R, everything is fine16:48
@HeikoSlisitsyn: however, the html file is fine, it contains the R code16:49
@HeikoSit is just not shown when clicking on the tab16:49
lisitsynHeikoS: can you paste it somewhere?16:49
lisitsynit could be a matter of some wrong identifiers of elements or so16:49
lisitsynjust the code16:49
@HeikoSberfore this patch: https://github.com/shogun-toolbox/shogun/commit/c7991e3f478ed197237dc8fee2352a383fba063816:49
@HeikoSit was wrong, after the patch it is ok16:49
@HeikoSlisitsyn: but the ctags is more important16:50
lisitsynok16:50
@HeikoSthis is fixed (even though in an ugly way ;) )16:50
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has joined #shogun16:56
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11225498016:56
-!- travis-ci [~travis-ci@ec2-54-162-136-22.compute-1.amazonaws.com] has left #shogun []16:56
@HeikoSlisitsyn:  it starts looking really cool17:06
@HeikoSwith all of the languages in :)17:06
lisitsynHeikoS: yes it is great17:06
-!- witness_ [uid10044@gateway/web/irccloud.com/x-ixkpbqmtnnlmldwv] has joined #shogun17:06
@HeikoSlisitsyn: hows the ctags going?17:27
lisitsynHeikoS: slow, switched to another thing17:30
lisitsynnow getting back17:30
lisitsynman this context switching is so bad17:30
lisitsynHeikoS: I start to feel like a cmake ninja17:34
@HeikoSyeah context switching no good17:34
@HeikoSlisitsyn: ha!17:34
@HeikoSyeah17:34
@HeikoSI finally got the point of cmake over the last few days17:34
@HeikoSsaw this?17:34
@HeikoShttps://github.com/youssef-emad/shogun_notebooks/blob/master/Classification.ipynb17:34
lisitsynoh17:35
lisitsynthat's good17:35
@HeikoSquite nice17:35
lisitsynlike in this old days17:35
@HeikoSI like the notebook, needs some love but I will try to get it merged17:35
@HeikoSwould also be good to have all those in a single plot17:35
lisitsynoh my favourite gaussian naive bayes!17:35
lisitsynthat's with what I started to shogun17:35
@HeikoSfor me it was svm17:36
@HeikoSah I got a hand on the lua thing now17:39
@HeikoSthink it is wrong environment17:39
@HeikoSlast problem that is!!!17:39
lisitsynhaha17:42
lisitsynokie17:42
lisitsynHeikoS: ok I parsed it already now trying to understand this thing17:43
-!- travis-ci [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has joined #shogun17:51
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11225917917:51
-!- travis-ci [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has left #shogun []17:51
lisitsynHeikoS: do we need it for any other lang?17:52
lisitsynjava?17:52
@HeikoSlisitsyn: nope17:52
@HeikoSimport org.shogun.*;17:52
lisitsynok17:53
@HeikoSand in Python we do explicit, but it doesnt matter and things are the same as for swig17:53
@HeikoSfrom modshogun import EuclideanDistance, KNN, MulticlassLabels, CSVFile, RealFeatures17:53
@HeikoSso doesnt matter17:53
@HeikoSonly c++17:53
@HeikoSlisitsyn: I think lua typemap might be borken17:55
@HeikoSoverloaded methods do not seem to be translated17:55
lisitsynlua had some issues with overloading17:55
lisitsyniirc17:56
@HeikoSlisitsyn: yes18:01
@HeikoSa phew so this can be fixed in hacky way18:01
lisitsynHeikoS: ok I am close18:05
@HeikoSlisitsyn: same18:06
@HeikoSlua is merged18:06
@HeikoSfor now avoid calling overloaded methods in meta examples18:06
@HeikoSwhich is stupid18:06
@HeikoSneeds fix18:06
@HeikoSbut build works for now18:06
@HeikoSchanged the knn.sg example18:06
-!- 16WAAFTN5 [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has joined #shogun18:07
-!- 7YUAAFPIP [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has joined #shogun18:07
16WAAFTN5it's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11226050018:07
-!- 16WAAFTN5 [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has left #shogun []18:07
7YUAAFPIPit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11226050018:07
-!- 7YUAAFPIP [~travis-ci@ec2-54-157-222-14.compute-1.amazonaws.com] has left #shogun []18:07
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has joined #shogun18:07
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11226318618:07
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has left #shogun []18:07
@HeikoSlisitsyn: let me know how it goes18:08
lisitsynHeikoS: works18:15
lisitsynpolishing18:15
@HeikoSlisitsyn: will temp. remove lua from build, otherwise the examples are too ugly18:19
lisitsynHeikoS: uhh I tried my best to make it less ugly18:34
lisitsyncommit in a few minutes18:38
@HeikoSlisitsyn: waiting :)18:40
lisitsynhere18:42
lisitsynhttps://github.com/shogun-toolbox/shogun/commit/981fc4b3a03fcec45f50334ddfef31d425d8cf9218:43
lisitsynHeikoS: ^ no irc notify for some reason18:43
lisitsynHeikoS: cookbook fails here18:49
lisitsynwarns on regression clustering18:49
lisitsynand wiki link to knn18:49
lisitsynthen fails18:49
@HeikoSlisitsyn:  running18:52
@HeikoSlocally18:52
@HeikoSit works18:53
@HeikoSon my machine18:53
@HeikoSwithout any modular interfaces on18:54
@HeikoSlisitsyn: ok gotta go now18:57
@HeikoSreally made some progress today!18:57
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has joined #shogun18:58
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11226901618:58
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has left #shogun []18:58
lisitsynyeah18:58
@HeikoSmade some smallish comments in the patch18:58
lisitsynok19:00
@HeikoSlisitsyn: hey btw about the some19:11
@HeikoSisnt there a way to do this automatically?19:11
@HeikoSwithout having to write some<CKNN>19:11
@HeikoSbut just CKNN19:12
lisitsynHeikoS: not really19:13
@HeikoSok19:13
lisitsynHeikoS: the only alternative is to make them light-weight19:13
@HeikoSok next step is the testing19:13
lisitsynI think your last commit broke the build19:14
@HeikoSwhy?19:14
lisitsynmake[4]: *** No rule to make target `examples/meta/cpp/classifier/knn.cpp', needed by `examples/meta/cpp/CMakeFiles/build_cpp_meta_examples'.  Stop.19:14
@HeikoSworks here19:14
lisitsyndid you remove the build and run it all over again?19:14
@HeikoSuh19:14
@HeikoSyes19:14
@HeikoSfixing19:15
@HeikoSlisitsyn: where to start best with this testing thing?19:17
lisitsynHeikoS: integration?19:18
@HeikoSyes19:18
lisitsynHeikoS: add a flag to generate.py, make it collect all the variables19:18
@HeikoSok cool19:18
lisitsynHeikoS: you want to do something on that as well?19:19
@HeikoSthink we do not need to add anything to json no?19:19
@HeikoSdont know19:19
@HeikoScurrently cleaning up few things here and there19:19
@HeikoSI can hepl integrate once prototype is working19:19
@HeikoSwith all the changes in data etc19:19
@HeikoSbut wanted to discuss where to start19:19
@HeikoSso you add the flat19:19
@HeikoSwhat shall I do? what after that?19:19
lisitsynHeikoS: once we have these 'Store(vector);' calls19:20
lisitsynsomeone would need to implement that store19:20
lisitsynStore(variable_name, variable_value);19:20
lisitsynlike that19:20
@HeikoSlisitsyn: how would it behave?19:21
@HeikoSlike Store(fname)19:21
@HeikoSs=Store(fname)19:21
@HeikoSs.store(SGVector v)19:21
@HeikoSs.store(SGMatrix m)19:21
@HeikoSs.store(basic_type b)19:21
@HeikoS?19:21
lisitsynyes19:21
@HeikoSok and format?19:23
@HeikoSordering?19:23
lisitsynHeikoS: what ordering?19:23
@HeikoSso the store is a container I guess?19:24
@HeikoSwhat file format?19:24
@HeikoSshould be readable from python I guess19:24
@HeikoSto just csv?19:24
@HeikoSor python format?19:24
@HeikoS[[0,1],[2,3]]19:25
@HeikoSah I dont want to write this19:25
@HeikoSrather use a nice csv writer19:25
lisitsynHeikoS: haha19:25
lisitsynHeikoS: I think once it is in19:25
lisitsynit is very easy to do19:25
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]19:27
-!- witness_ [uid10044@gateway/web/irccloud.com/x-ixkpbqmtnnlmldwv] has quit [Quit: Connection closed for inactivity]19:28
@HeikoSyou mean once the store is in, it is easy to do the testing?19:29
@HeikoSlisitsyn: the store can be changed later19:30
@HeikoShowever, we want to finalize it before we start adding test reference files19:30
@HeikoSlisitsyn: so not sure what is the best way to proceed here19:31
@HeikoSrely on existing serialization?19:31
@HeikoSor something else19:31
@HeikoSserialization is overkill as we only want numerical stuff19:32
@HeikoSbut writing a store for all shogun types is suicide19:32
@HeikoSlisitsyn: well, lets talk tomorrow or so19:32
@HeikoStired :)19:32
@HeikoSbye19:32
lisitsynHeikoS: hmm do you really want to keep these files?19:32
-!- HeikoS [~heiko@host-92-0-162-192.as43234.net] has quit [Quit: Leaving.]19:32
lisitsynuh19:32
lisitsynok19:32
lisitsynsee you19:32
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 240 seconds]20:47
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has joined #shogun21:12
travis-ciit's Heiko Strathmann's turn to pay the next round of drinks for the massacre he caused in shogun-toolbox/shogun: https://travis-ci.org/shogun-toolbox/shogun/builds/11228151721:12
-!- travis-ci [~travis-ci@ec2-54-197-129-30.compute-1.amazonaws.com] has left #shogun []21:12
shogun-buildbotbuild #2766 of deb3 - modular_interfaces is complete: Failure [failed test libshogun]  Build details are at http://buildbot.shogun-toolbox.org/builders/deb3%20-%20modular_interfaces/builds/2766  blamelist: Bj?rn Esser <me@besser82.io>21:43
-!- Netsplit *.net <-> *.split quits: @drwiking, lupinix, sonne|work, @ChanServ22:45
-!- Netsplit *.net <-> *.split quits: aditya12322:45
-!- Netsplit *.net <-> *.split quits: rcurtin22:45
-!- Netsplit *.net <-> *.split quits: lisitsyn, octokat, shogun-buildbot, @sonney2k22:46
-!- drwiking_ [~wiking@info2k1.hu] has joined #shogun22:52
-!- Netsplit over, joins: lupinix, shogun-buildbot, lisitsyn22:52
-!- sonne|work1 [~sonnenbu@ip5b414dfc.dynamic.kabel-deutschland.de] has joined #shogun22:52
-!- Netsplit over, joins: aditya123, octokat, @ChanServ, rcurtin, @sonney2k22:52
-!- shogun-toolbox [~shogun@7nn.de] has quit [Ping timeout: 252 seconds]23:19
--- Log closed Sat Feb 27 23:19:32 2016
--- Log opened Sat Feb 27 23:19:40 2016
-!- shogun-toolbox [~shogun@7nn.de] has joined #shogun23:19
-!- Irssi: #shogun: Total of 11 nicks [2 ops, 0 halfops, 0 voices, 9 normal]23:19
-!- Irssi: Join to #shogun was synced in 6 secs23:19
-!- sonney2k [~shogun@7nn.de] has quit [Ping timeout: 240 seconds]23:27
-!- lisitsyn [~lisitsyn@37.139.2.75] has quit [Ping timeout: 264 seconds]23:32
-!- lisitsyn [~lisitsyn@37.139.2.75] has joined #shogun23:34
-!- sonney2k [~shogun@7nn.de] has joined #shogun23:34
--- Log closed Sun Feb 28 00:00:15 2016