--- Log opened Wed Jun 06 00:00:38 2018 | ||
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has joined #shogun | 00:32 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 00:32 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has quit [Ping timeout: 260 seconds] | 01:04 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has joined #shogun | 01:13 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 01:13 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has quit [Read error: No route to host] | 01:16 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has joined #shogun | 01:16 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 01:17 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has quit [Ping timeout: 240 seconds] | 01:21 | |
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Ping timeout: 260 seconds] | 03:07 | |
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun | 03:09 | |
-!- witness_ [uid10044@gateway/web/irccloud.com/x-vszsnqvahaqacvsk] has quit [Quit: Connection closed for inactivity] | 03:44 | |
-shogun-buildbot:#shogun- Build nightly stretch deb #125 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/38/builds/125 | 04:57 | |
wuwei | wiking: hi | 08:05 |
---|---|---|
wuwei | morning :) | 08:05 |
@wiking | wuwei, hello | 08:05 |
@wiking | plz write down the issue | 08:06 |
@wiking | i still need some time to boot up | 08:06 |
@wiking | :) | 08:06 |
wuwei | sure | 08:06 |
wuwei | so you know i'm doing some refactor on machine api | 08:07 |
wuwei | previously we features and labels are stored in the machine | 08:07 |
wuwei | one question is how we deal with things like train_locked | 08:08 |
wuwei | and should we still store feature and labels otherwise we will have to pass them around internal helpers in that machine | 08:08 |
wuwei | since that's realy a big refactor so i'm a bit unclear now :) | 08:10 |
wuwei | check the example https://github.com/shogun-toolbox/shogun/blob/94c093bf640ccc52a36f2cd59e9faeabdbfb0bd4/src/shogun/classifier/Perceptron.cpp#L55 , where features are implicitly stored | 08:13 |
@wiking | k | 08:19 |
@wiking | yeah that's a crazy refactor | 08:19 |
@wiking | i might for a second | 08:19 |
@wiking | just hold on to this idea | 08:19 |
@wiking | of refactoring this :) | 08:19 |
@wiking | just having a typical fit(f,l) kind of approach | 08:19 |
@wiking | is already great! | 08:19 |
@wiking | we should have a clear goal for you for the next 2 weeks i believe :) | 08:19 |
@wiking | as the pipeline transformer story is almost over | 08:19 |
wuwei | yeah | 08:20 |
@wiking | it'd be great if we could close up and merge the whole transformer branch | 08:20 |
wuwei | i've made fit as a wrapper of old api now | 08:20 |
@wiking | but that requires some minimum fixes/changes in the prs | 08:20 |
@wiking | :) | 08:20 |
@wiking | yeye i saw that | 08:20 |
@wiking | that is great | 08:20 |
@wiking | so what i woudl actually concentrate | 08:21 |
wuwei | are there sth to add/fix for the transformer branch | 08:21 |
@wiking | is the story of exceptions :) | 08:22 |
@wiking | that i've mentioned in your pr | 08:22 |
@wiking | as as you can see from the unit test with mocs | 08:22 |
@wiking | *mocks | 08:22 |
@wiking | you dont really know | 08:22 |
@wiking | unless you read the exception message | 08:22 |
@wiking | why things failed | 08:22 |
wuwei | yeah i've seen that | 08:22 |
@wiking | which is bad | 08:22 |
@wiking | if you are trying to use this within a bigger system | 08:22 |
@wiking | because then you cannot automate really things | 08:22 |
@wiking | or you need to start parsing the exception message :) | 08:23 |
@wiking | which is not ideal | 08:23 |
wuwei | agree | 08:23 |
wuwei | i checked REQUIRE, we need change SGIO a bit to allow throwing different exceptions | 08:24 |
@wiking | yeah REQUIRE might need seomthing like | 08:24 |
@wiking | exception type | 08:24 |
@wiking | :) | 08:24 |
wuwei | making SGIO::message a template function? | 08:25 |
@wiking | yeah something like that | 08:25 |
@wiking | buuuuuut | 08:25 |
@wiking | that reminds me! | 08:25 |
@wiking | about SGIO | 08:25 |
@wiking | that is a self brew-ed logger thingy | 08:26 |
@wiking | not the best :) | 08:26 |
@wiking | https://github.com/gabime/spdlog is great and it's header only | 08:26 |
wuwei | yeah i think better we could separate message formatting and throwing exceptions | 08:26 |
@wiking | yeah | 08:26 |
@wiking | exactly | 08:26 |
@wiking | that's another point | 08:26 |
@wiking | :) | 08:26 |
wuwei | i will spend some time on SGIO now | 08:30 |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 09:02 | |
-!- witness_ [uid10044@gateway/web/irccloud.com/x-mvbobtignvtygctu] has joined #shogun | 09:08 | |
-!- 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:10 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 09:12 | |
-!- 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:31 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 09:31 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has quit [Client Quit] | 09:34 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 09:56 | |
wuwei | wiking: are we having the meeting now? | 11:08 |
-!- 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:15 | |
@wiking | wuwei, | 11:15 |
@wiking | should | 11:15 |
@wiking | how about 10 mins | 11:15 |
wuwei | wiking: sure | 11:16 |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 11:22 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has quit [Client Quit] | 11:23 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 11:49 | |
@wiking | doh | 11:50 |
@wiking | here i am | 11:50 |
@wiking | wuwei, around? | 11:50 |
@wiking | :) | 11:50 |
wuwei | wiking: hi | 11:51 |
@wiking | ok | 11:53 |
@wiking | so | 11:53 |
@wiking | lets see what you can do first on the remaining days this week | 11:54 |
@wiking | and then maybe talk about what should we do in the next 2 weeks? | 11:54 |
wuwei | sure | 11:54 |
wuwei | I'm working on SGIO right now to allow throw custom exceptions | 11:57 |
@wiking | ok | 12:04 |
@wiking | and then lets go back to finish up with pipelines | 12:04 |
wuwei | okay | 12:07 |
wuwei | wiking: and then? what's next two weeks | 12:20 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 12:40 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:40 | |
@wiking | wuwei, mmmm i would say what's with linalg? :) | 13:02 |
wuwei | start working on new linalg? | 13:03 |
wuwei | all right | 13:03 |
wuwei | wiking: i'm implementing some new macro, like, REQUIRE(condition, std::invalid_argument, message...) | 13:06 |
wuwei | could u suggest some name for this macro? | 13:06 |
@HeikoS | shubham808: hi | 13:18 |
shubham808 | hey | 13:18 |
shubham808 | i did the macro refactor | 13:18 |
shubham808 | and a few other things :) | 13:19 |
lisitsyn | HeikoS: hey | 13:19 |
lisitsyn | can we get back to that feature block thingy | 13:20 |
@HeikoS | lisitsyn: hi | 13:20 |
@HeikoS | shubham808: cool, can you send me link of things I should look at? :) | 13:20 |
@HeikoS | lisitsyn: yes | 13:20 |
@HeikoS | sorry had to leave yesterday | 13:20 |
shubham808 | progress bar: https://github.com/shogun-toolbox/shogun/pull/4305/commits/4a4e82237c59d9ec0283a5cf7f6e430767dd88d5 | 13:21 |
shubham808 | HeikoS: i did not understand ur comment about "all_model_tests" | 13:23 |
@HeikoS | shubham808: it is currently called "trained_model_serialization" tests or something | 13:26 |
@HeikoS | but now you also test whether algorithms are stoppable | 13:26 |
@HeikoS | so the name is not appropriate anymore | 13:26 |
@HeikoS | and we need a new one | 13:27 |
shubham808 | ah i see | 13:27 |
@HeikoS | since we aim to test all models | 13:27 |
shubham808 | u mean a new file altogether | 13:27 |
@HeikoS | I would call it something like "all_models_test" | 13:27 |
@HeikoS | yes | 13:27 |
shubham808 | we might end up copying the test fixture | 13:27 |
@HeikoS | shubham808: btw I dont understand your SG_SPROGRESS thing | 13:30 |
@HeikoS | that is supposed to be used from static contexts where there is no "this" | 13: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] | 13:30 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 13:30 | |
@HeikoS | but you use "this" inside the definition and also use it from inside training methods | 13:30 |
@HeikoS | lisitsyn: so any thoughts on changing that API? | 13:31 |
lisitsyn | HeikoS: it is a bit shitty so I am open to any suggestions actually | 13:32 |
lisitsyn | :P | 13:32 |
@HeikoS | lisitsyn: what about a simple index based thing | 13:36 |
@HeikoS | rather than objects than contain the ranges | 13:36 |
@HeikoS | so working with vectors | 13:36 |
@HeikoS | shubham808: got my comment on SG_SPROGRESS? | 13:36 |
shubham808 | HeikoS: kinda | 13:37 |
shubham808 | what i did was | 13:37 |
shubham808 | not having to pass an io object anymore | 13:37 |
@HeikoS | shubham808: so SG_SPRINT is supposed to be used from *outside* SGOBject context | 13:39 |
@HeikoS | so in external library functions for example | 13:39 |
@HeikoS | there is no "this" available in that case | 13:39 |
@HeikoS | so the global io has to be used | 13:39 |
@HeikoS | for the progress bar, we want to do the same | 13:39 |
@HeikoS | either user this->io | 13:39 |
@HeikoS | or sg_io | 13:39 |
@HeikoS | and the SG_PROGRESS can also use "this-get_name()" | 13:39 |
@HeikoS | whereas SG_SPROGRESS has to do something else, either accept a string, or put a default | 13:40 |
shubham808 | i see | 13:40 |
shubham808 | sg_io is to be used outside of scope | 13:42 |
@HeikoS | shubham808: so SG_PRGRESS will be used in every ::train method | 13:42 |
@HeikoS | and actually in any CSGObject:: method | 13:42 |
@HeikoS | and SG_SPROGRESS will be used from external code | 13:43 |
shubham808 | i see | 13:43 |
shubham808 | yeah | 13:43 |
@HeikoS | so you can just put SG_PROGRESS everywhere | 13:43 |
@HeikoS | and where the compiler errors saying that "this" is not available, you put SG_SPROGRESS | 13:43 |
shubham808 | and they will always use this->io | 13:43 |
@HeikoS | exactly | 13:43 |
shubham808 | makes sense | 13:43 |
@HeikoS | you will need to do something about the this->get_name() | 13:44 |
@HeikoS | either make the macro accept another string, or make it default | 13:44 |
shubham808 | we could just go 'PROGRESS :' | 13:44 |
shubham808 | again | 13:44 |
@HeikoS | well in SG_PRGORESS, we have | 13:44 |
@HeikoS | this->get_name()::__FUNCTION__ | 13:44 |
@HeikoS | in static we would want | 13:44 |
@HeikoS | CALLER_STRING::__FUNCTION__ | 13:44 |
@HeikoS | or we can use the filename | 13:45 |
@HeikoS | when you update | 13:45 |
@HeikoS | pls first only do deploy it in a few places | 13:45 |
@HeikoS | so you dont end up changing all those files over and over | 13:45 |
shubham808 | yeah | 13:45 |
shubham808 | so do we want file::function or caller_string | 13:46 |
shubham808 | file::function makes more sense since if user want a caller string he can directly use to constructors | 13:46 |
@HeikoS | shubham808: yes | 13:48 |
@HeikoS | think that is ok | 13:48 |
@HeikoS | or even just nothing | 13:48 |
@HeikoS | actually | 13:48 |
@HeikoS | just __FUNCTION__ | 13:49 |
@HeikoS | might be cleaner | 13:49 |
@HeikoS | or the filename without suffix | 13:49 |
@HeikoS | I'll leave it to you to figure out something nice | 13:49 |
shubham808 | alright | 13:49 |
shubham808 | also did u see the helper PR ? | 13:49 |
@HeikoS | yes | 13:54 |
@HeikoS | I think we should make this a bit more elaborate | 13:55 |
@HeikoS | Let's give the StoppableObject a member that is a file | 13:55 |
@HeikoS | and by default it will be ascii and the filename you made up | 13:55 |
@HeikoS | but then the user can change it | 13:55 |
@HeikoS | shubham808: see what I mean? | 13:55 |
@HeikoS | I dont like forcing filenames and formats in there | 13:55 |
@HeikoS | should be modular | 13:55 |
@HeikoS | for those who care | 13:56 |
shubham808 | yeah | 13:56 |
shubham808 | scalable | 13:56 |
@HeikoS | cool | 13:56 |
@HeikoS | I gotta go somehwere now, but will be back later to discuss more | 13:56 |
shubham808 | okay | 13:56 |
shubham808 | see you later | 13:56 |
-!- 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:59 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 17:30 | |
shubham808 | HeikoS: hey | 17:44 |
shubham808 | u remember we talked of a test to check if state is properly updated or not ? | 17:45 |
shubham808 | in the meeting ? | 17:45 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 240 seconds] | 18:12 | |
-!- 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] | 18:30 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 18:46 | |
-!- 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] | 19:21 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 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:01 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 20:03 | |
-!- 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:08 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 20:19 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has quit [Client Quit] | 20:21 | |
-!- shubham808 [0e8bf0fb@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.240.251] has joined #shogun | 21:49 | |
-!- 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:33 | |
-!- witness_ [uid10044@gateway/web/irccloud.com/x-mvbobtignvtygctu] has quit [Quit: Connection closed for inactivity] | 22:48 | |
-!- HeikoS [~heiko@host86-128-122-106.range86-128.btcentralplus.com] has joined #shogun | 23:49 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 23:49 | |
--- Log closed Thu Jun 07 00:00:39 2018 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!