--- 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 #shogun | 03:09 | |
-shogun-buildbot:#shogun- Build nightly stretch deb #124 is complete: Failure [failed dput (failure)] - http://buildbot.shogun-toolbox.org:8080/#builders/38/builds/124 | 04:56 | |
@wiking | wuwei, have you managed to check | 07:16 |
---|---|---|
@wiking | about the exception | 07:16 |
@wiking | sorry yesterady i could check back the logs | 07:16 |
wuwei | python exited | 07:16 |
@wiking | mmmmhm | 07:17 |
@wiking | i guess not in case when you get ShogunException | 07:17 |
@wiking | right? :) | 07:17 |
@wiking | i mean i hope | 07:18 |
wuwei | yeah | 07:18 |
-!- Farouk [9cc52ce4@gateway/web/freenode/ip.156.197.44.228] has quit [Ping timeout: 260 seconds] | 07:19 | |
wuwei | in ShogunException case, it print an error | 07:19 |
wuwei | like: SystemError: [ERROR] In file ... | 07:19 |
@wiking | it's because of this | 07:19 |
@wiking | https://github.com/shogun-toolbox/shogun/blob/develop/src/interfaces/swig/SGBase.i#L291 | 07:19 |
@wiking | ok | 07:19 |
@wiking | so the next level here is | 07:19 |
@wiking | i have to check wait :) | 07:19 |
@wiking | but i'm guessing that even if we inherit from shogunexception | 07:20 |
@wiking | say | 07:20 |
@wiking | class IllegalArgumentException: public ShogunException | 07:20 |
@wiking | we would still need to add the catch here for that exception | 07:20 |
@wiking | as the catch doesn't catch the derivative ones | 07:20 |
@wiking | imo | 07:20 |
@wiking | so in this case we can use std::illegal_argument | 07:20 |
@wiking | and things that already has exceptions | 07:21 |
@wiking | defined in standard c++ | 07:21 |
@wiking | and then things like | 07:21 |
@wiking | class MachineNotTrainedException: public ShogunException | 07:21 |
@wiking | and things like this would be the next step | 07:21 |
@wiking | i mean see my comment | 07:21 |
@wiking | https://github.com/shogun-toolbox/shogun/pull/4317/files#r192784121 | 07:22 |
@wiking | see what i mean? | 07:23 |
wuwei | we 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 #shogun | 08: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 #shogun | 09:39 | |
shubham808 | wiking: hey | 09: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 #shogun | 11:15 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11: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 #shogun | 11:48 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 12:16 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:16 | |
Farouk | HeikoS: Hi | 12:20 |
Farouk | HeikoS: 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 |
Farouk | all travis tests passed* | 12:22 |
@HeikoS | Farouk: what is the error message? | 12:22 |
Farouk | The integration test for cross_validation failed | 12:23 |
Farouk | The values do not match | 12:23 |
Farouk | for on real number | 12:23 |
Farouk | one* | 12:23 |
@HeikoS | I need some more details | 12:25 |
@HeikoS | Farouk: do you have the stdio? | 12:25 |
Farouk | Yea give me a sec | 12:25 |
Farouk | That's the debug messages: | 12:27 |
Farouk | https://pastebin.com/G5J07hK3 | 12:27 |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 12:28 | |
shubham808 | HeikoS: what time is stammtisch today ? | 12:28 |
@HeikoS | shubham808: ehm ... search your email :) | 12:29 |
@HeikoS | Farouk: what number is this? | 12:29 |
@HeikoS | can you give me the code listing as well? | 12:29 |
Farouk | Yea sure, the number is the mean square error, this line: real mse = MSE_evaluation.evaluate(reg_labels_predict, reg_labels_test) | 12:32 |
Farouk | code: | 12:33 |
Farouk | https://github.com/FaroukY/shogun/blob/43de032367023248b19a64a6c4fea2c75ea8ed29/examples/meta/src/evaluation/cross_validation.sg | 12:33 |
Farouk | last line | 12:33 |
@HeikoS | Farouk: weird | 12:34 |
@HeikoS | Farouk: I will try to reproduce this locally | 12:34 |
@HeikoS | give me a moment | 12:34 |
Farouk | Yea sure, thanks | 12:34 |
@HeikoS | Farouk: I am building python/octave interface and will try your listing for all those | 12:35 |
Farouk | Yea. 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 |
@HeikoS | did you push this into travis? | 12:38 |
Farouk | You mean the code that passed? | 12:41 |
@HeikoS | Farouk: did you put it into the PR to see what travis says? | 13:16 |
Farouk | Yes, the pastebin is from Travis | 13:17 |
Farouk | the latest Travis | 13:17 |
Farouk | HeikoS: https://travis-ci.org/shogun-toolbox/shogun/builds/387841118?utm_source=github_status&utm_medium=notification | 13:19 |
@HeikoS | ok so same thing | 13:20 |
@HeikoS | shubham808: hey | 13:21 |
shubham808 | hi | 13:21 |
@HeikoS | I dont understand this->io | 13:22 |
@HeikoS | what is it for? | 13:22 |
shubham808 | i can only guess | 13:22 |
shubham808 | lets wait for Toni to comment | 13:22 |
@HeikoS | shubham808: thing is that this->io can be done via the macro | 13:23 |
@HeikoS | if it is called from inside SGObject | 13:23 |
shubham808 | thats true but its not like this everywhere | 13:24 |
shubham808 | u may find something like *sg_io | 13:24 |
@HeikoS | sure | 13:24 |
@HeikoS | that makes sense | 13:24 |
shubham808 | somewhere instead of this->io | 13:24 |
@HeikoS | if outside of an SGObject | 13:24 |
shubham808 | yeah | 13:24 |
@HeikoS | IMO we should just have | 13:24 |
@HeikoS | SG_PROGRESS | 13:25 |
@HeikoS | that does everything using this | 13:25 |
@HeikoS | and then we can have SG_SPROGRESS | 13:25 |
@HeikoS | that uses sg-IO | 13:25 |
@HeikoS | would you mind sending an email to giovanni and me about this? | 13:25 |
shubham808 | sure | 13:25 |
@HeikoS | Farouk: ok I can confirm this happens here as well | 13:26 |
@HeikoS | will dig intot it | 13:26 |
Farouk | HeikoS: Alright, I'll go back to stan then | 13:27 |
Farouk | HeikoS: I've seen some people doing a [WIP] pr | 13:27 |
Farouk | is it okay if I do the same thing? | 13:27 |
Farouk | or would I just be hogging Travis for no reason? | 13:28 |
@HeikoS | yes do it | 13:29 |
@HeikoS | you can put [ci skip] | 13:29 |
@HeikoS | into the commit msg | 13:29 |
@HeikoS | then travis wont do anything | 13:29 |
@HeikoS | Farouk: and then once that is done, you override the commit msg to trigger it | 13:30 |
Farouk | Ohh nice! didn't know that | 13:30 |
Farouk | so in the commit message: git commit -m "something [ci skip]" | 13:31 |
shubham808 | HeikoS: mailed | 13: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 #shogun | 13: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 #shogun | 15:36 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 15:36 | |
shogitter | (geektoni) shubham808: hey | 15:53 |
@HeikoS | hi | 15:54 |
@HeikoS | shogitter: did you see shubhams email? | 15:54 |
shubham808 | hey hey | 15:54 |
@HeikoS | can we make SG_SPROGRESS? | 15:54 |
shogitter | (geektoni) HeikoS: yes yes, should be totally feasible. | 15:54 |
shubham808 | so we should move the this->io thingi to the macro now | 15:55 |
shubham808 | alright | 15:55 |
@HeikoS | we have shogun stammtisch soon btw | 15:55 |
@HeikoS | who is attending? | 15:55 |
shubham808 | me | 15:55 |
@wiking | HeikoS, i'll be there as a ghost as you need me for joining zoom | 15:55 |
@HeikoS | wiking: ok :) | 15:56 |
@wiking | but unfortunatley | 15:56 |
@wiking | i cannot interact | 15:56 |
@wiking | :( | 15:56 |
@HeikoS | nw | 15:56 |
wuwei | hi wiking | 15:57 |
shogitter | (geektoni) shubham808: yeah, that's the right way to proceed. | 15:57 |
@wiking | wuwei, hihi | 15:57 |
@wiking | sorry these 2 days are super hectic for me | 15:57 |
wuwei | when do u have some time to discuss a bit ? | 15:57 |
@wiking | mmm | 15:57 |
@wiking | in 1.5h | 15:57 |
@wiking | ok? | 15:57 |
@wiking | or any other day | 15:57 |
shogitter | (geektoni) HeikoS: I would love to attend, but currently I'm just half-here | 15:57 |
wuwei | sure | 15:58 |
@wiking | wuwei, is 1.5h good for you? | 15:58 |
shogitter | (geektoni) I may come a bit later, though. | 15:58 |
@HeikoS | kk | 15:58 |
@HeikoS | ill find a room then | 15:58 |
wuwei | wiking: good! | 15:59 |
@wiking | wuwei, thnx! | 15:59 |
@wiking | i am muted right? :D | 16:00 |
@wiking | just coz i'm in a middle of a meeting | 16:00 |
@wiking | HeikoS, wuwei shubham808 note that zoom conference is only free for the first 40 mins | 16:07 |
@wiking | ping? | 16:23 |
@wiking | sorry people i have not seen anybody in the meeting | 16:24 |
@wiking | so i quit | 16:24 |
@wiking | plz lemme know if u need zoom | 16:24 |
@HeikoS | sure | 16:27 |
@HeikoS | it was short .) | 16:27 |
@wiking | ah ok | 16:27 |
@HeikoS | I wrote notes Fiat Ducato 2.3 litre Rimor 6 berth motorhome | 16:27 |
@HeikoS | whoops | 16:27 |
@HeikoS | https://github.com/shogun-toolbox/shogun/wiki/Stammtisch-2018_06_05 | 16:27 |
@wiking | :D | 16:27 |
@wiking | lemme see what this fiat ducato is about | 16:27 |
@wiking | :D | 16:27 |
@wiking | hahaha | 16:27 |
@wiking | nice RV | 16:27 |
@wiking | :D | 16:27 |
lisitsyn | hey | 16:28 |
lisitsyn | fiat ducato shogun wagon! | 16:28 |
@wiking | lisitsyn, check some of my pings on github commits | 16:28 |
@wiking | plz | 16:28 |
lisitsyn | ohh ok | 16:28 |
@wiking | if u have the time | 16:28 |
@wiking | or when u have the time | 16:28 |
@wiking | thnx | 16:28 |
lisitsyn | wiking: PRs? | 16:28 |
@wiking | lisitsyn, yeah | 16:29 |
lisitsyn | I mean in PRs? | 16:29 |
lisitsyn | ok cool I'll glance | 16:29 |
@wiking | there was one about the | 16:29 |
@wiking | exception story in general | 16:29 |
@wiking | and there was another one | 16:29 |
@wiking | but cannot remember :S | 16:29 |
@HeikoS | wuwei: I checked the ascii string stuff only works for streaming | 16:30 |
@HeikoS | as far as I can see, there is no immediate way to load strings from files in shogun .... | 16:30 |
@HeikoS | c++ | 16:30 |
@HeikoS | wiking: you know of something that can generate StringList from file in shogun? | 16:31 |
@HeikoS | lisitsyn: ^ | 16:31 |
@HeikoS | I only see StreamingAsciiFile | 16:31 |
wuwei | oh.. | 16:31 |
@wiking | HeikoS, i'll try to check | 16:31 |
@wiking | its just a lot of noise here | 16:31 |
@wiking | sorry :( | 16:31 |
@wiking | i.e. my typing is noisy | 16:31 |
@wiking | and i'm in a meeting still | 16:32 |
@wiking | but afaik there is | 16:32 |
@HeikoS | wuwei: | 16:55 |
@HeikoS | just checked | 16:55 |
@HeikoS | what if you try to pass a CSVFile instance or a StreamingAsciiFile instance to StringFeatures constructor, does that work? | 16:56 |
wuwei | heiko: let me check | 16:57 |
@HeikoS | wuwei: the constructor is there, the question is what kind of file it accepts | 16:58 |
@HeikoS | wuwei: in any case, we could use this to generate a factory | 16:58 |
wuwei | i checked, open the string as csv and pass it to the constructor | 16:59 |
wuwei | it works fine | 17:00 |
wuwei | i guess in this case newline is used as delimiter in csv | 17:00 |
@HeikoS | ok cool | 17:02 |
@HeikoS | in that case | 17:02 |
@HeikoS | the only problem is that the factory creates real features | 17:02 |
@HeikoS | from the file | 17:02 |
@HeikoS | is there a way to "ask" the csvfile whether it has real or string features in its file? | 17:02 |
@HeikoS | dont think so | 17:03 |
@HeikoS | ok 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 instance | 17:04 |
wuwei | yeah | 17:04 |
@HeikoS | option b) would be to find out about the file content and then to do this automatically from within the factory | 17:04 |
@HeikoS | you could try out what happens if you try to lead string features as a densefeatures and vice versa | 17:05 |
wuwei | why renaming, how about features('DenseFeatures', filename) | 17:06 |
@HeikoS | actually that is even more consistent with the rest of the API | 17:07 |
@HeikoS | so yeah | 17:07 |
@HeikoS | that is option b | 17:07 |
wuwei | crashed when i try to create dense features from string file | 17:11 |
@HeikoS | wuwei: anything catchable? :D | 17:20 |
wuwei | it is fine when i call the factory, but it crashed in get_feature_matrix | 17:23 |
@HeikoS | ok so no | 17:23 |
@HeikoS | mmh | 17:23 |
@HeikoS | ok I guess your factory modification might be the way forward then | 17:24 |
wuwei | forward to the constructor by the class name? | 17:28 |
@HeikoS | yes | 17:31 |
@HeikoS | though I think I prefer to have a factory for each feature type | 17:31 |
@HeikoS | thinking about it again | 17:31 |
@HeikoS | otherwise we need to do string parsing | 17:31 |
wuwei | wiking: hi | 18:03 |
@wiking | wuwei, here | 18:26 |
@wiking | hi | 18:26 |
@wiking | sorry | 18:26 |
@wiking | managed | 18:26 |
@wiking | what'sup | 18:26 |
wuwei | wiking: still here? | 18:46 |
wuwei | wiking: gotta go now, talk to u tomorrow | 19: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 #shogun | 20: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 #shogun | 21:29 | |
@wiking | wuwei, okok pingme tomorrow | 21:29 |
@wiking | i'm around starting 8am CET | 21: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 #shogun | 23: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!