IRC logs of #shogun for Friday, 2018-05-25

--- Log opened Fri May 25 00:00:21 2018
-!- iglesiasg [~iglesias@f119189.upc-f.chello.nl] has quit [Quit: Leaving]00:56
-!- Elfarouk [695d4ff2@gateway/web/freenode/ip.105.93.79.242] has quit [Ping timeout: 260 seconds]02:28
-shogun-buildbot:#shogun- Build nightly trusty deb #166 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/26/builds/16603:00
-shogun-buildbot:#shogun- Build clang - undefined behaviour analysis #147 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/18/builds/14703:00
-shogun-buildbot:#shogun- Build doxygen - nightly #147 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/12/builds/14703:00
-shogun-buildbot:#shogun- Build clang - static analysis #147 is complete: Exception [exception update shogun (failure) uploading static_analysis (exception)] - http://buildbot.shogun-toolbox.org:8080/#builders/29/builds/14703:00
-shogun-buildbot:#shogun- Build nightly_bsd_license #161 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/4/builds/16103:00
-shogun-buildbot:#shogun- Build cookbook - nightly #149 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/14/builds/14903:00
-shogun-buildbot:#shogun- Build nightly jessie deb #154 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/20/builds/15403:00
-shogun-buildbot:#shogun- Build nightly_default #149 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/17/builds/14903:00
-shogun-buildbot:#shogun- Build nightly stretch deb #117 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/38/builds/11703:00
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4291 merged by karlnapf08:07
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/024e4658d3cbc46e9168a1b283b8ee32d7048126 by karlnapf08:07
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun08:09
shubham808Hi, today i will look into using typed_tests to automate premature stopping08:10
shubham808and also refactoring the meta examples08:10
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4293 merged by vigsterkr09:31
@sukey[https://github.com/shogun-toolbox/shogun] vigsterkr pushed 6 commits:09:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/da950d59f724ebb93deaf827f2258be63b24beaa09:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/8d720dd00276e8efe68e2c8a7b2701e1e671b68809:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/7cab56e736b01918aa03c60c3f95e29c1ba4de4209:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/8b44285611e4240d5898bee847c97b3e6842f4ae09:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/b85355c43b33da0f1cba0a79ba857c3e98b7a6bc09:31
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/040692b88ffa69fe2488ef17fe91bb133b3a634809:31
-shogun-buildbot:#shogun- Build deb4 - python3 #419 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/28/builds/41909:31
-shogun-buildbot:#shogun- Build trusty - libshogun #385 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/33/builds/38509:31
-shogun-buildbot:#shogun- Build deb3 - interfaces #341 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/37/builds/34109:32
-shogun-buildbot:#shogun- Build FC23 - libshogun #485 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/27/builds/48509:33
-shogun-buildbot:#shogun- Build yakkety - libshogun #477 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/1/builds/47709:33
-shogun-buildbot:#shogun- Build xenial - libshogun #474 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/16/builds/47409:33
-shogun-buildbot:#shogun- Build zesty - libshogun #473 is complete: Failure [failed update shogun (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/13/builds/47309:34
@wikinghuhuuuuu09:42
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/3776b02c873ecd2b06ac3a5d7dbb96be3149ac58 by vigsterkr09:48
@wikingthis should do it...09:48
-shogun-buildbot:#shogun- Build trusty - libshogun - viennacl #483 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/6/builds/48309:54
@wikingwuwei, are you here?09:58
-shogun-buildbot:#shogun- Build deb1 - libshogun #455 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/10/builds/45509:58
wuweiwiking: hi09:59
@wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/doc/ipython-notebooks/multiclass/naive_bayes.ipynb?short_path=d818fbc#L16409:59
@wikingis there any specific reason why its RealFeatures here instead of features ?10:00
wuweii guess no :) but let me check10:01
@wikingkk10:01
@wikinglemme know10:01
@wikingif not then i'll fix it10:01
wuweiactually no, i missed that10:03
-!- travis-ci [~travis-ci@ec2-54-161-193-191.compute-1.amazonaws.com] has joined #shogun10:03
travis-ciit's Giovanni De Toni'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/38357071610:04
-!- travis-ci [~travis-ci@ec2-54-161-193-191.compute-1.amazonaws.com] has left #shogun []10:04
@wikingkk10:04
@wikingwill fix it10:04
@sukey[https://github.com/shogun-toolbox/shogun] vigsterkr pushed 2 commits:10:05
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/5e4c2e8234b0235d45d19834e7a919456053a26110:05
@sukeyhttps://github.com/shogun-toolbox/shogun/commit/6b852ce4f152fcbe43c877034c0d087a26b2cf1f10:05
-shogun-buildbot:#shogun- Build trusty - libshogun #387 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/33/builds/38710:07
-shogun-buildbot:#shogun- Build FC23 - libshogun #487 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/27/builds/48710:12
-shogun-buildbot:#shogun- Build yakkety - libshogun #479 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/1/builds/47910:12
-shogun-buildbot:#shogun- Build zesty - libshogun #475 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/13/builds/47510:13
-shogun-buildbot:#shogun- Build deb4 - python3 #421 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/28/builds/42110:14
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has quit [Ping timeout: 276 seconds]10:16
-shogun-buildbot:#shogun- Build xenial - libshogun #476 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/16/builds/47610:20
-shogun-buildbot:#shogun- Build deb3 - interfaces #342 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/37/builds/34210:48
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun10:49
shubham808HeikoS here?10:50
@wikinghe isn't10:55
@wikingcan i help?10:56
shubham808so about the preamture testing11:02
shubham808orignally the idea was to11:02
shubham808use TYPED_TESTS11:02
shubham808but since not all classes can be used in the same way (features/labels requirements)11:03
shubham808i wanted to talk about trying something like we did in serialization unit test11:04
@wikingyou mean you cannot use a template because they need different way of training?11:05
@wikingi mean you know that you can use typed_tests11:05
shubham808yes11:05
@wikingbut with different fixtures11:05
@wikingand you name the fixture variables the same11:06
@wikingor can you give me a line11:06
@wikinghow you imagine having a problem with different way of doing things with machines?11:06
shubham808we need all the machine to reach the train step11:08
shubham808before we can stop it11:08
shubham808will it not cause problems when i try to train all machines with same kind of features11:09
shubham808since the automation dont know beforehand what it will need11:10
shubham808but also11:10
shubham808since the tests we write will be based on serializing and deserializing models11:11
shubham808it makes sense to use the code for serialization tests11:13
-!- wiking [~wiking@huwico/staff/wiking] has quit [Quit: ZNC 1.6.5 - http://znc.in]11:17
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun11:19
-!- mode/#shogun [+o HeikoS] by ChanServ11:19
shubham808am i missing something here?11:27
-!- travis-ci [~travis-ci@ec2-54-161-193-191.compute-1.amazonaws.com] has joined #shogun11:30
travis-ciit's Viktor Gal'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/38358090611:30
-!- travis-ci [~travis-ci@ec2-54-161-193-191.compute-1.amazonaws.com] has left #shogun []11:30
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]11:45
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun11:52
-!- mode/#shogun [+o wiking] by ChanServ11:52
@wikingHeikoS, have you missed shubam by any chance?11:52
@wikingi had lost connection11:52
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 240 seconds]12:23
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/51b403c87d0f82c35dd9b4fa1b9afb414867bcde by besser8212:46
-!- wiking [~wiking@huwico/staff/wiking] has quit [Read error: Connection reset by peer]13:05
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun13:09
-!- mode/#shogun [+o wiking] by ChanServ13:09
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4285 synchronized by vinx1315:27
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4306 opened by vigsterkr15:35
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/430615:35
-!- Elfarouk [695d4ff2@gateway/web/freenode/ip.105.93.79.242] has joined #shogun16:12
Elfaroukwiking, are you here?16:14
@wikinghelo16:14
@wikingyes16:14
ElfaroukHey! So I have sth weird in the new API that I wanna ask about16:14
Elfaroukso basically in the example (.sg file), I have the following line:16:15
ElfaroukStratifiedCrossValidationSplitting splitting_strategy(labels_train, 2)16:15
Elfarouknow when the labels_train is in the old API (BinaryLabels) it works okay16:16
Elfaroukbut if I change it to Labels (new API) then the .cpp file crashes16:16
Elfarouknow I traced it back16:16
Elfaroukin the .cpp file to this line of code:16:16
@wikingmmm is this the xval notebook pr?16:16
Elfaroukif (labels->get_num_labels()<num_subsets) { SG_ERROR("Only %d labels for %d subsets!\n", labels->get_num_labels(), num_subsets); }16:17
Elfaroukyea it is16:17
@wikinglemme see16:17
Elfaroukfor some reason if I use the old API, labels->get_num_labels() is correct, but if I use the new API, labels->get_num_labels() is equal to 016:17
ElfaroukThis line of code is in SplittingStrategy.cpp btw (The base class of StratifiedCrossValidationSplitting )16:18
@wikingok so you changed this line16:19
@wikingBinaryLabels labels_train(f_labels_train)16:19
@wikingto16:19
@wikingLabels labels_train = labels(f_labels_train)16:19
@wiking?16:19
Elfaroukyes exactly16:19
@wikingor yeah i see label_train_new16:19
Elfaroukyea thats the only way i managed to make it run fine16:20
@wikingkk16:21
@wikingok but wait16:21
@wikingi'm just wondering16:21
@wikingthat this used to work?16:21
@wikingso if you use label_train16:21
@wikingthen everything is good?16:21
ElfaroukYes, if you use labels_train, everything is good16:22
@wikingmmm16:22
Elfaroukswitch to labels_train_new and you get that error16:22
@wikingmmmm16:22
@wikingthis is weird16:22
@wikingas there's no assertation on anything16:22
@wikingabout the label type16:23
@wikingbut lemme see16:23
ElfaroukAlright then, thanks a lot!16:23
@wikingElfarouk, it's the cpp-evaluation-cross_validation right?16:39
Elfaroukwiking, yes16:39
Elfaroukctest -R generated_cpp-evaluation-cross_validation -V16:40
@wikingok i see :)16:40
@wikingmanaged to get it reproduced locally16:40
ElfaroukSo I am guessing this is a bug no?16:42
@sukey[https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4307 opened by micmn16:43
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4308 opened by vigsterkr16:49
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4308 vigsterkr added label: "meta examples"16:49
@wikingElfarouk, ok16:52
@wikingno16:52
@wikingso the thing is that you do this16:52
@wikingauto f_labels_train = wrap(csv_file("../../data/classifier_binary_2d_linear_labels_train.dat"));16:53
@wikingand then use the same object twice16:53
@wikingBinaryLabels labels_train(f_labels_train)16:53
@wikingauto label_train_new = wrap(labels(f_labels_train));16:53
ElfaroukOhh!!16:53
Elfaroukso you can't use it twice16:53
@wikingnow the problem with this is that f_labels_train is a file descriptor16:53
@wikingso basically it reads in the data into16:54
@wikingBinaryLabels labels_train(f_labels_train)16:54
@wikingbut then there's nothing more to be read for label_train_new16:54
ElfaroukOhhhhhhh16:54
Elfaroukthat makes a ton more sense now!16:54
@wikingbuut16:54
@wikingonce i'm done16:54
@wikingwe are still here16:54
@wiking[ERROR] In file /home/wiking/shogun/src/shogun/evaluation/StratifiedCrossValidationSplitting.cpp line 44: Multiclass or binary labels required for stratified crossvalidation16:54
@wikingterminate called after throwing an instance of 'shogun::ShogunException'16:54
@wiking  what():  [ERROR] In file /home/wiking/shogun/src/shogun/evaluation/StratifiedCrossValidationSplitting.cpp line 44: Multiclass or binary labels required for stratified crossvalidation16:54
@wiking:)16:54
Elfarouk:O16:55
@wikingthat's because labels(csvfile) generates a DenseLabel16:55
@wikingwhich has LT_DENSE_GENERIC16:56
Elfaroukcan we use binary_labels() to change DenseLabels to BinaryLabels ?16:56
Elfaroukin xvalidation.cpp16:56
@wikingyeah16:56
@wikingbut actually this is just a bad design16:56
@wiking:)))16:56
ElfaroukOhh, do u mean a bad design referring to the labels?16:58
@wikingyes16:59
@wikingthe factory16:59
@wikingbecause still16:59
@wikingi mean which one do you wanna have16:59
@wikingmulticlass or binary16:59
@wikingbecause you can cast a binary imput16:59
@wikinginto both a BinaryLabels17:00
@wikingand MulticlassLabels17:00
ElfaroukOhhh I see what you mean17:00
@wikingok17:05
@wikingare yo ublock17:05
@wikingwith other stuff?17:05
@wikingbecause this one is now up in the air17:05
@wikingi've sent an email to Heiko17:05
@wikingbut i would prefer till then you work on something else17:05
@wiking?17:05
@wikingi mean the cost function?17:05
ElfaroukYea for now I'm good, I will fix the line 4417:05
@wikingi mean line 44 is something17:06
@wikingthat needs some design decisions17:06
@wikingso i would not actually touch that17:06
Elfaroukohh17:06
ElfaroukI thought its a minor fix like change it to binary_labels17:06
@wikingyeah not really17:06
@wikingbecause you would need to do this17:06
@wikingtry17:06
@wiking{17:06
@wikingbinary_labels(input)17:06
@wiking} catch () {17:06
@wikingmulticlass_labels(input)17:06
@wiking}17:06
@wikingand that's pretty shitty17:07
Elfarouk:)17:07
ElfaroukI can pause this for now and switch to the cost function then17:07
@wikinggreat17:07
@wikingthnx17:07
@wikingi have to run now17:07
@wikingttyl17:07
ElfaroukI have a lot of comments there already17:07
Elfaroukttyl17:07
Elfaroukthanks for the help again!17:07
wuweihi, here are update for today: 1) updated doc of transformers  2) refactored ica converters with fit+apply17:56
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/fb1b5d342823e35f9cf8973c30db58c5cffaa737 by vigsterkr18:09
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/2afac8303953173975f2a21aec53e16af0ed3a80 by besser8218:23
-!- Elfarouk [695d4ff2@gateway/web/freenode/ip.105.93.79.242] has quit [Quit: Page closed]18:23
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/af2ea4c54309abbde8b85cdd563e864a5c33ec2b by vigsterkr19:15
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/d84907709fa872a0209d7c269bddec7468f44815 by vigsterkr19:27
@sukey[https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/4666249f3224b473c193ba0897f5e42b789b0133 by besser8220:29
-!- Elfarouk [9cc4a6d7@gateway/web/freenode/ip.156.196.166.215] has joined #shogun22:32
Elfaroukwiking are you here?23:57
--- Log closed Sat May 26 00:00:22 2018

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