IRC logs of #shogun for Tuesday, 2018-06-05

--- Log opened Tue Jun 05 00:00:36 2018
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Ping timeout: 240 seconds]03:05
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun03:09
-shogun-buildbot:#shogun- Build nightly stretch deb #124 is complete: Failure [failed dput (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/38/builds/12404:56
@wikingwuwei, have you managed to check07:16
@wikingabout the exception07:16
@wikingsorry yesterady i could check back the logs07:16
wuweipython exited07:16
@wikingmmmmhm07:17
@wikingi guess not in case when you get ShogunException07:17
@wikingright? :)07:17
@wikingi mean i hope07:18
wuweiyeah07:18
-!- Farouk [9cc52ce4@gateway/web/freenode/ip.156.197.44.228] has quit [Ping timeout: 260 seconds]07:19
wuweiin ShogunException case, it print an error07:19
wuweilike: SystemError: [ERROR] In file ...07:19
@wikingit's because of this07:19
@wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/src/interfaces/swig/SGBase.i#L29107:19
@wikingok07:19
@wikingso the next level here is07:19
@wikingi have to check wait :)07:19
@wikingbut i'm guessing that even if we inherit from shogunexception07:20
@wikingsay07:20
@wikingclass IllegalArgumentException: public ShogunException07:20
@wikingwe would still need to add the catch here for that exception07:20
@wikingas the catch doesn't catch the derivative ones07:20
@wikingimo07:20
@wikingso in this case we can use std::illegal_argument07:20
@wikingand things that already has exceptions07:21
@wikingdefined in standard c++07:21
@wikingand then things like07:21
@wikingclass MachineNotTrainedException: public ShogunException07:21
@wikingand things like this would be the next step07:21
@wikingi mean see my comment07:21
@wikinghttps://github.com/shogun-toolbox/shogun/pull/4317/files#r19278412107:22
@wikingsee what i mean?07:23
wuweiwe will use both std:: and  MachineNotTrainedException: public ShogunException ?07:23
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun08:25
-!- 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]09:38
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun09:39
shubham808wiking: hey09:41
-!- 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]09:58
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has joined #shogun11:15
-!- mode/#shogun [+o HeikoS] by ChanServ11:15
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has quit [Ping timeout: 240 seconds]11:29
-!- Farouk [9cc244a6@gateway/web/freenode/ip.156.194.68.166] has joined #shogun11:48
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun12:16
-!- mode/#shogun [+o HeikoS] by ChanServ12:16
FaroukHeikoS: Hi12:20
FaroukHeikoS: I'm having a weird problem. In the SVM Cookbook, all travis tests failed except the octave one which failed the integration test. But all other languages passed the integration test with no problems, is this common?12:22
Faroukall travis tests passed*12:22
@HeikoSFarouk: what is the error message?12:22
FaroukThe integration test for cross_validation failed12:23
FaroukThe values do not match12:23
Faroukfor on real number12:23
Faroukone*12:23
@HeikoSI need some more details12:25
@HeikoSFarouk: do you have the stdio?12:25
FaroukYea give me a sec12:25
FaroukThat's the debug messages:12:27
Faroukhttps://pastebin.com/G5J07hK312:27
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun12:28
shubham808HeikoS: what time is stammtisch today ?12:28
@HeikoSshubham808: ehm ... search your email :)12:29
@HeikoSFarouk: what number is this?12:29
@HeikoScan you give me the code listing as well?12:29
FaroukYea sure, the number is the mean square error, this line: real mse = MSE_evaluation.evaluate(reg_labels_predict, reg_labels_test)12:32
Faroukcode:12:33
Faroukhttps://github.com/FaroukY/shogun/blob/43de032367023248b19a64a6c4fea2c75ea8ed29/examples/meta/src/evaluation/cross_validation.sg12:33
Farouklast line12:33
@HeikoSFarouk: weird12:34
@HeikoSFarouk: I will try to reproduce this locally12:34
@HeikoSgive me a moment12:34
FaroukYea sure, thanks12:34
@HeikoSFarouk: I am building python/octave interface and will try your listing for all those12:35
FaroukYea. I tried the Java, C++, and Python interfaces locally and they all passed so I assumed all of them would pass, guess I was wrong.12:36
@HeikoSdid you push this into travis?12:38
FaroukYou mean the code that passed?12:41
@HeikoSFarouk: did you put it into the PR to see what travis says?13:16
FaroukYes, the pastebin is from Travis13:17
Faroukthe latest Travis13:17
FaroukHeikoS: https://travis-ci.org/shogun-toolbox/shogun/builds/387841118?utm_source=github_status&utm_medium=notification13:19
@HeikoSok so same thing13:20
@HeikoSshubham808: hey13:21
shubham808hi13:21
@HeikoSI dont understand this->io13:22
@HeikoSwhat is it for?13:22
shubham808i can only guess13:22
shubham808lets wait for Toni to comment13:22
@HeikoSshubham808: thing is that this->io can be done via the macro13:23
@HeikoSif it is called from inside SGObject13:23
shubham808thats true but its not like this everywhere13:24
shubham808u may find something like *sg_io13:24
@HeikoSsure13:24
@HeikoSthat makes sense13:24
shubham808somewhere instead of this->io13:24
@HeikoSif outside of an SGObject13:24
shubham808yeah13:24
@HeikoSIMO we should just have13:24
@HeikoSSG_PROGRESS13:25
@HeikoSthat does everything using this13:25
@HeikoSand then we can have SG_SPROGRESS13:25
@HeikoSthat uses sg-IO13:25
@HeikoSwould you mind sending an email to giovanni and me about this?13:25
shubham808sure13:25
@HeikoSFarouk: ok I can confirm this happens here as well13:26
@HeikoSwill dig intot it13:26
FaroukHeikoS: Alright, I'll go back to stan then13:27
FaroukHeikoS: I've seen some people doing a [WIP] pr13:27
Faroukis it okay if I do the same thing?13:27
Faroukor would I just be hogging Travis for no reason?13:28
@HeikoSyes do it13:29
@HeikoSyou can put [ci skip]13:29
@HeikoSinto the commit msg13:29
@HeikoSthen travis wont do anything13:29
@HeikoSFarouk: and then once that is done, you override the commit msg to trigger it13:30
FaroukOhh nice! didn't know that13:30
Faroukso in the commit message: git commit -m "something [ci skip]"13:31
shubham808HeikoS: mailed13:31
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 256 seconds]13:34
-!- 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]13:40
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun13:41
-!- Farouk [9cc244a6@gateway/web/freenode/ip.156.194.68.166] has quit [Quit: Page closed]14:23
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun15:36
-!- mode/#shogun [+o HeikoS] by ChanServ15:36
shogitter(geektoni) shubham808: hey15:53
@HeikoShi15:54
@HeikoSshogitter: did you see shubhams email?15:54
shubham808hey hey15:54
@HeikoScan we make SG_SPROGRESS?15:54
shogitter(geektoni) HeikoS: yes yes, should be totally feasible.15:54
shubham808so we should move the this->io thingi to the macro now15:55
shubham808alright15:55
@HeikoSwe have shogun stammtisch soon btw15:55
@HeikoSwho is attending?15:55
shubham808me15:55
@wikingHeikoS, i'll be there as a ghost as you need me for joining zoom15:55
@HeikoSwiking:  ok :)15:56
@wikingbut unfortunatley15:56
@wikingi cannot interact15:56
@wiking:(15:56
@HeikoSnw15:56
wuweihi wiking15:57
shogitter(geektoni) shubham808: yeah, that's the right way to proceed.15:57
@wikingwuwei, hihi15:57
@wikingsorry these 2 days are super hectic for me15:57
wuweiwhen do u have some time to discuss a bit ?15:57
@wikingmmm15:57
@wikingin 1.5h15:57
@wikingok?15:57
@wikingor any other day15:57
shogitter(geektoni) HeikoS: I would love to attend, but currently I'm just half-here15:57
wuweisure15:58
@wikingwuwei, is 1.5h good for you?15:58
shogitter(geektoni) I may come a bit later, though.15:58
@HeikoSkk15:58
@HeikoSill find a room then15:58
wuweiwiking: good!15:59
@wikingwuwei, thnx!15:59
@wikingi am muted right? :D16:00
@wikingjust coz i'm in a middle of a meeting16:00
@wikingHeikoS, wuwei shubham808 note that zoom conference is only free for the first 40 mins16:07
@wikingping?16:23
@wikingsorry people i have not seen anybody in the meeting16:24
@wikingso i quit16:24
@wikingplz lemme know if u need zoom16:24
@HeikoSsure16:27
@HeikoSit was short .)16:27
@wikingah ok16:27
@HeikoSI wrote notes Fiat Ducato 2.3 litre Rimor 6 berth motorhome16:27
@HeikoSwhoops16:27
@HeikoShttps://github.com/shogun-toolbox/shogun/wiki/Stammtisch-2018_06_0516:27
@wiking:D16:27
@wikinglemme see what this fiat ducato is about16:27
@wiking:D16:27
@wikinghahaha16:27
@wikingnice RV16:27
@wiking:D16:27
lisitsynhey16:28
lisitsynfiat ducato shogun wagon!16:28
@wikinglisitsyn, check some of my pings on github commits16:28
@wikingplz16:28
lisitsynohh ok16:28
@wikingif u have the time16:28
@wikingor when u have the time16:28
@wikingthnx16:28
lisitsynwiking: PRs?16:28
@wikinglisitsyn, yeah16:29
lisitsynI mean in PRs?16:29
lisitsynok cool I'll glance16:29
@wikingthere was one about the16:29
@wikingexception story in general16:29
@wikingand there was another one16:29
@wikingbut cannot remember :S16:29
@HeikoSwuwei: I checked the ascii string stuff only works for streaming16:30
@HeikoSas far as I can see, there is no immediate way to  load strings from files in shogun ....16:30
@HeikoSc++16:30
@HeikoSwiking: you know of something that can generate StringList from file in shogun?16:31
@HeikoSlisitsyn:  ^16:31
@HeikoSI only see StreamingAsciiFile16:31
wuweioh..16:31
@wikingHeikoS, i'll try to check16:31
@wikingits just a lot of noise here16:31
@wikingsorry :(16:31
@wikingi.e. my typing is noisy16:31
@wikingand i'm in a meeting still16:32
@wikingbut afaik there is16:32
@HeikoSwuwei:16:55
@HeikoSjust checked16:55
@HeikoSwhat if you try to pass a CSVFile instance or a StreamingAsciiFile instance to StringFeatures constructor, does that work?16:56
wuweiheiko: let me check16:57
@HeikoSwuwei: the constructor is there, the question is what kind of file it accepts16:58
@HeikoSwuwei: in any case, we could use this to generate a factory16:58
wuweii checked, open the string as csv and pass it to the constructor16:59
wuweiit works fine17:00
wuweii guess in this case newline is used as delimiter in csv17:00
@HeikoSok cool17:02
@HeikoSin that case17:02
@HeikoSthe only problem is that the factory creates real features17:02
@HeikoSfrom the file17:02
@HeikoSis there a way to "ask" the csvfile whether it has real or string features in its file?17:02
@HeikoSdont think so17:03
@HeikoSok option a) is to rename the features factory to features_real and then introduce feautres_string, that both take the csv file and return the instance17:04
wuweiyeah17:04
@HeikoSoption b) would be to find out about the file content and then to do this automatically from within the factory17:04
@HeikoSyou could try out what happens if you try to lead string features as a densefeatures and vice versa17:05
wuweiwhy renaming, how about features('DenseFeatures', filename)17:06
@HeikoSactually that is even more consistent with the rest of the API17:07
@HeikoSso yeah17:07
@HeikoSthat is option b17:07
wuweicrashed when i try to create dense features from string file17:11
@HeikoSwuwei: anything catchable? :D17:20
wuweiit is fine when i call the factory, but it crashed in get_feature_matrix17:23
@HeikoSok so no17:23
@HeikoSmmh17:23
@HeikoSok I guess your factory modification might be the way forward then17:24
wuweiforward to the constructor by the class name?17:28
@HeikoSyes17:31
@HeikoSthough I think I prefer to have a factory for each feature type17:31
@HeikoSthinking about it again17:31
@HeikoSotherwise we need to do string parsing17:31
wuweiwiking: hi18:03
@wikingwuwei, here18:26
@wikinghi18:26
@wikingsorry18:26
@wikingmanaged18:26
@wikingwhat'sup18:26
wuweiwiking: still here?18:46
wuweiwiking: gotta go now, talk to u tomorrow19:14
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 268 seconds]19:21
-!- 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]20:02
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun20:02
-!- 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]21:29
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun21:29
@wikingwuwei, okok pingme tomorrow21:29
@wikingi'm around starting 8am CET21: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]22:24
-!- witness_ [uid10044@gateway/web/irccloud.com/x-vszsnqvahaqacvsk] has joined #shogun23:15
--- Log closed Wed Jun 06 00:00:38 2018

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