--- Log opened Mon Feb 25 00:00:25 2019 | ||
@lambday | anyone around? | 03:48 |
---|---|---|
@lambday | lisitsyn: hi! | 03:49 |
@lambday | besser82: hi! | 03:49 |
@besser82 | lambday, hi! | 08:20 |
@lambday | besser82: hey how're you? how's it going? | 08:21 |
@besser82 | lambday, I'm fine. How about you? | 08:21 |
@lambday | besser82: I'm good! it's been a long time since I've been active in the community.. | 08:22 |
@besser82 | Me too. | 08:22 |
@lambday | was talking to Heiko.... hope to pick up some stuffs that I had left off earlier | 08:22 |
@lambday | tons of changes in Shogun? | 08:22 |
@besser82 | Have been busy with other things for about 3 years | 08:22 |
@lambday | besser82: me too! | 08:22 |
@besser82 | Looks like from the excess amount of commits to the repo | 08:23 |
@lambday | yeah... I think I'm gonna jump onto the noob train... everything is so new | 08:23 |
@besser82 | Looks the same for me. I'm really looking forward to the v7.0 release | 08:25 |
@lambday | was hoping to gather some info on the main changes in framework in last couple of years and the philosophy going forward | 08:25 |
@besser82 | There have been so many changes, I guess it will be hard to break them down to a few bullets. | 08:28 |
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has joined #shogun | 09:36 | |
lisitsyn | lambday: hey | 11:10 |
@lambday | lisitsyn: hola amigo | 11:11 |
@lambday | lisitsyn: how have you been? | 11:11 |
lisitsyn | lambday: all good | 11:11 |
lisitsyn | what about you? | 11:11 |
@lambday | lisitsyn: can't complain... finally working on something related to ML | 11:11 |
lisitsyn | oh that's good | 11:11 |
@lambday | lisitsyn: joined bing ads team recently | 11:12 |
lisitsyn | lambday: what location? | 11:12 |
@lambday | lisitsyn: Bangalore | 11:13 |
lisitsyn | lambday: sorry but I do not remember, did you have to relocate? | 11:13 |
lisitsyn | :) | 11:13 |
@lambday | hehe no... I was in Bangalore since I graduated.. before that, I was in Mumbai | 11:13 |
@lambday | lisitsyn: you're at Yandex? or did you change? | 11:14 |
lisitsyn | lambday: nah still yandex | 11:15 |
@lambday | lisitsyn: great man you're liking it there :) | 11:16 |
lisitsyn | the best place in russia | 11:16 |
lisitsyn | :) | 11:16 |
@lambday | hehe | 11:16 |
@lambday | lisitsyn: hey, quick question: (a) are we allowing std::vector as params now? and (b) can you suggest some classes which have already ported to the new sgobject/parameter framework so that I can use them as references? | 11:17 |
lisitsyn | lambday: I am not sure about std::vectors now.. | 11:17 |
lisitsyn | things were really fast since guys joined | 11:17 |
@lambday | yeah I couldn't really keep track either based on the emails... | 11:19 |
@lambday | so basically I was hoping to get back at some unfinished work I was doing with Heiko... and we discussed that the first thing would be to port the code that I have under statistical testing thingi to the modern framework | 11:20 |
@lambday | gf712: hi! | 11:23 |
gf712 | lambday hey | 11:24 |
@lambday | gf712: hey I don't think we have talked before... this is Rahul... I worked on a couple of gsocs as a student with heiko... quite sometime back.... | 11:27 |
gf712 | lambday I don't think so! Cool! I joined shogun a few months ago in a collaboration with the Alan Turing institute here in london | 11:28 |
gf712 | ah, and my name is Gil! | 11:28 |
gf712 | what did you work on? | 11:28 |
@lambday | gf712: nice to meet you Gil :) | 11:28 |
gf712 | nice to meet you too Rahul! | 11:28 |
@lambday | gf712: well, a bit on the linalg part... and a bit on the statistical testing framework | 11:29 |
@lambday | gf712: you're at UCL as well... I was there for a short internship at Gatsby, working with Arthur and Heiko :) | 11:30 |
gf712 | ah cool! yup, I am doing a PhD at UCL, but in the department of biosciences | 11:31 |
gf712 | lambday: are you mentoring in GSoC this year? | 11:32 |
@lambday | gf712: no man... I was out of touch for a long time due to personal commitments.. I am not really sure what's going on with Shogun now a days... hoping to pick up the stuff myself | 11:33 |
@lambday | gf712: lisitsyn: so guys, can you give me some pointers at where I should be looking at if I wanted to see the parameter/tags at work? | 11:34 |
gf712 | lambday i think the main thing is the SG_ADD | 11:36 |
gf712 | which is a macro that is defined in SGOBject | 11:36 |
gf712 | SGObject.h | 11:36 |
gf712 | which then adds the parameters as an Any object to a self->map | 11:37 |
@lambday | gf712: ah great! so it's the same interface as before, just the internals changed? | 11:37 |
gf712 | self is a private class inside CSGObject, which is defined in SGObject.cpp | 11:37 |
gf712 | ah kinda I guess | 11:37 |
gf712 | I wasn't here when things started moving to the new framework | 11:38 |
gf712 | lambday: I guess the new part for you is Any? | 11:38 |
@lambday | gf712: ah sorry okay | 11:38 |
@lambday | gf712: yeah I was around when lisitsyn was working on it but I'm not sure how we are using it | 11:38 |
gf712 | basically all parameters that are registered in SG_ADD go to the self->map | 11:39 |
gf712 | where the parameter name is the key and the value is a any object instantiated with the parameter reference | 11:40 |
@lambday | gf712: I see... checking the SGObject code now... it looks amazing! | 11:40 |
gf712 | actually the value is AnyParameter, which is a class holding an any instance and some stuff like description | 11:41 |
@lambday | gf712: so key idea is, individual getters/setters are gone | 11:41 |
gf712 | yup, and then in the interface you can use put/get instead of a getter | 11:41 |
@lambday | gf712: sweet! | 11:42 |
gf712 | for example model("param_name", param) | 11:42 |
gf712 | model.put("param_name", param) | 11:42 |
gf712 | sorry | 11:42 |
@lambday | hehe got it | 11:42 |
gf712 | and then in python you can just do model.get("param_name") | 11:42 |
gf712 | and it will return the correct type | 11:42 |
gf712 | but that only works in python | 11:43 |
@lambday | gf712: in c++ I am guessing you're gonna have to tell the type by some means? | 11:43 |
gf712 | in the other interfaces you have something like model.get_int("param_name") | 11:43 |
gf712 | yes exactly | 11:43 |
@lambday | alright | 11:43 |
gf712 | so that is in shogun.i, it has all the templated get calls | 11:43 |
@lambday | gf712: so, we're supporting all the ptypes | 11:44 |
@lambday | and SGMatrix/SGVector as well? | 11:44 |
gf712 | lambday: I think so | 11:44 |
gf712 | yes, so most ptypes and some SGMatrix/SGVector | 11:45 |
@lambday | great! | 11:45 |
gf712 | lambday: https://github.com/shogun-toolbox/shogun/blob/07f55bba21b7c9a52a51a0a53650f8115032f36f/src/interfaces/swig/shogun.i#L216 | 11:45 |
gf712 | those are the supported types in the interface with put and get | 11:46 |
@lambday | gf712: thanks! this is exactly what I was looking for | 11:47 |
@lambday | gf712: can you tell me what this "add" method is for? I understand put/get | 11:48 |
gf712 | lambday: that I am not sure, as I never used it | 11:49 |
gf712 | from the name I am assuming it's to add a new parameter? | 11:49 |
@lambday | gf712: ah yes you're right... this is the add that SG_ADD macro uses internally | 11:50 |
@lambday | no, sorry, maybe I'm wrong | 11:51 |
@lambday | gf712: thanks a lot for your time mate... this is a good start... I am gonna work on porting the statistical testing framework into this... you may have to review my PRs :) | 11:53 |
gf712 | lambday: no problem! Let me know if you need any more help! | 11:56 |
@lambday | gf712: sure :) thanks | 12:01 |
-!- doitliao [~user@203.205.141.47] has joined #shogun | 14:04 | |
doitliao | anybody here? | 14:04 |
gf712 | hi doitliao | 14:34 |
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has quit [Ping timeout: 256 seconds] | 15:08 | |
-!- besser82 [~besser82@fedora/besser82] has quit [Read error: Connection reset by peer] | 15:11 | |
-!- besser82 [~besser82@fedora/besser82] has joined #shogun | 15:12 | |
-!- mode/#shogun [+o besser82] by ChanServ | 15:12 | |
-!- doitliao [~user@203.205.141.47] has quit [Ping timeout: 244 seconds] | 17:29 | |
-!- doitliao [~user@203.205.141.48] has joined #shogun | 18:48 | |
-!- doitliao [~user@203.205.141.48] has quit [Remote host closed the connection] | 19:00 | |
-!- doitliao [~user@203.205.141.48] has joined #shogun | 19:00 | |
-!- doitliao [~user@203.205.141.48] has quit [Ping timeout: 255 seconds] | 19:29 | |
-!- doitliao [~user@203.205.141.49] has joined #shogun | 21:25 | |
-!- doitliao [~user@203.205.141.49] has quit [Ping timeout: 246 seconds] | 22:00 | |
-!- doitliao [~user@203.205.141.50] has joined #shogun | 23:56 | |
--- Log closed Tue Feb 26 00:00:27 2019 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!