IRC logs of #shogun for Monday, 2019-02-25

--- Log opened Mon Feb 25 00:00:25 2019
@lambdayanyone around?03:48
@lambdaylisitsyn: hi!03:49
@lambdaybesser82: hi!03:49
@besser82lambday, hi!08:20
@lambdaybesser82: hey how're you? how's it going?08:21
@besser82lambday, I'm fine.  How about you?08:21
@lambdaybesser82: I'm good! it's been a long time since I've been active in the community..08:22
@besser82Me too.08:22
@lambdaywas talking to Heiko.... hope to pick up some stuffs that I had left off earlier08:22
@lambdaytons of changes in Shogun?08:22
@besser82Have been busy with other things for about 3 years08:22
@lambdaybesser82: me too!08:22
@besser82Looks like from the excess amount of commits to the repo08:23
@lambdayyeah... I think I'm gonna jump onto the noob train... everything is so new08:23
@besser82Looks the same for me.  I'm really looking forward to the v7.0 release08:25
@lambdaywas hoping to gather some info on the main changes in framework in last couple of years and the philosophy going forward08:25
@besser82There 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 #shogun09:36
lisitsynlambday: hey11:10
@lambdaylisitsyn: hola amigo11:11
@lambdaylisitsyn: how have you been?11:11
lisitsynlambday: all good11:11
lisitsynwhat about you?11:11
@lambdaylisitsyn: can't complain... finally working on something related to ML11:11
lisitsynoh that's good11:11
@lambdaylisitsyn: joined bing ads team recently11:12
lisitsynlambday: what location?11:12
@lambdaylisitsyn: Bangalore11:13
lisitsynlambday: sorry but I do not remember, did you have to relocate?11:13
lisitsyn:)11:13
@lambdayhehe no... I was in Bangalore since I graduated.. before that, I was in Mumbai11:13
@lambdaylisitsyn: you're at Yandex? or did you change?11:14
lisitsynlambday: nah still yandex11:15
@lambdaylisitsyn: great man you're liking it there :)11:16
lisitsynthe best place in russia11:16
lisitsyn:)11:16
@lambdayhehe11:16
@lambdaylisitsyn: 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
lisitsynlambday: I am not sure about std::vectors now..11:17
lisitsynthings were really fast since guys joined11:17
@lambdayyeah I couldn't really keep track either based on the emails...11:19
@lambdayso 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 framework11:20
@lambdaygf712: hi!11:23
gf712lambday hey11:24
@lambdaygf712: 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
gf712lambday I don't think so! Cool! I joined shogun a few months ago in a collaboration with the Alan Turing institute here in london11:28
gf712ah, and my name is Gil!11:28
gf712what did you work on?11:28
@lambdaygf712: nice to meet you Gil :)11:28
gf712nice to meet you too Rahul!11:28
@lambdaygf712: well, a bit on the linalg part... and a bit on the statistical testing framework11:29
@lambdaygf712: you're at UCL as well... I was there for a short internship at Gatsby, working with Arthur and Heiko :)11:30
gf712ah cool! yup, I am doing a PhD at UCL, but in the department of biosciences11:31
gf712lambday: are you mentoring in GSoC this year?11:32
@lambdaygf712: 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 myself11:33
@lambdaygf712: 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
gf712lambday i think the main thing is the SG_ADD11:36
gf712which is a macro that is defined in SGOBject11:36
gf712SGObject.h11:36
gf712which then adds the parameters as an Any object to a self->map11:37
@lambdaygf712: ah great! so it's the same interface as before, just the internals changed?11:37
gf712self is a private class inside CSGObject, which is defined in SGObject.cpp11:37
gf712ah kinda I guess11:37
gf712I wasn't here when things started moving to the new framework11:38
gf712lambday: I guess the new part for you is Any?11:38
@lambdaygf712: ah sorry okay11:38
@lambdaygf712: yeah I was around when lisitsyn was working on it but I'm not sure how we are using it11:38
gf712basically all parameters that are registered in SG_ADD go to the self->map11:39
gf712where the parameter name is the key and the value is a any object instantiated with the parameter reference11:40
@lambdaygf712: I see... checking the SGObject code now... it looks amazing!11:40
gf712actually the value is AnyParameter, which is a class holding an any instance and some stuff like description11:41
@lambdaygf712: so key idea is, individual getters/setters are gone11:41
gf712yup, and then in the interface you can use put/get instead of a getter11:41
@lambdaygf712: sweet!11:42
gf712for example model("param_name", param)11:42
gf712model.put("param_name", param)11:42
gf712sorry11:42
@lambdayhehe got it11:42
gf712and then in python you can just do model.get("param_name")11:42
gf712and it will return the correct type11:42
gf712but that only works in python11:43
@lambdaygf712: in c++ I am guessing you're gonna have to tell the type by some means?11:43
gf712in the other interfaces you have something like model.get_int("param_name")11:43
gf712yes exactly11:43
@lambdayalright11:43
gf712so that is in shogun.i, it has all the templated get calls11:43
@lambdaygf712: so, we're supporting all the ptypes11:44
@lambdayand SGMatrix/SGVector as well?11:44
gf712lambday: I think so11:44
gf712yes, so most ptypes and some SGMatrix/SGVector11:45
@lambdaygreat!11:45
gf712lambday: https://github.com/shogun-toolbox/shogun/blob/07f55bba21b7c9a52a51a0a53650f8115032f36f/src/interfaces/swig/shogun.i#L21611:45
gf712those are the supported types in the interface with put and get11:46
@lambdaygf712: thanks! this is exactly what I was looking for11:47
@lambdaygf712: can you tell me what this "add" method is for? I understand put/get11:48
gf712lambday: that I am not sure, as I never used it11:49
gf712from the name I am assuming it's to add a new parameter?11:49
@lambdaygf712: ah yes you're right... this is the add that SG_ADD macro uses internally11:50
@lambdayno, sorry, maybe I'm wrong11:51
@lambdaygf712: 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
gf712lambday: no problem! Let me know if you need any more help!11:56
@lambdaygf712: sure :) thanks12:01
-!- doitliao [~user@203.205.141.47] has joined #shogun14:04
doitliaoanybody here?14:04
gf712hi doitliao14: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 #shogun15:12
-!- mode/#shogun [+o besser82] by ChanServ15:12
-!- doitliao [~user@203.205.141.47] has quit [Ping timeout: 244 seconds]17:29
-!- doitliao [~user@203.205.141.48] has joined #shogun18:48
-!- doitliao [~user@203.205.141.48] has quit [Remote host closed the connection]19:00
-!- doitliao [~user@203.205.141.48] has joined #shogun19:00
-!- doitliao [~user@203.205.141.48] has quit [Ping timeout: 255 seconds]19:29
-!- doitliao [~user@203.205.141.49] has joined #shogun21:25
-!- doitliao [~user@203.205.141.49] has quit [Ping timeout: 246 seconds]22:00
-!- doitliao [~user@203.205.141.50] has joined #shogun23: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!