IRC logs of #shogun for Tuesday, 2019-02-12

--- Log opened Tue Feb 12 00:00:07 2019
-!- lambday [a7dcee98@gateway/web/freenode/ip.167.220.238.152] has quit []06:05
-!- lambday [a7dcee98@gateway/web/freenode/ip.167.220.238.152] has joined #shogun06:34
-!- mode/#shogun [+o lambday] by ChanServ06:35
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun08:32
-!- wiking_ [~wiking@bmi-airport-1.inf.ethz.ch] has joined #shogun09:40
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]]09:42
-!- wiking_ is now known as wiking09:43
-!- wiking [~wiking@bmi-airport-1.inf.ethz.ch] has quit [Changing host]09:43
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun09:43
-!- mode/#shogun [+o wiking] by ChanServ09:43
-!- besser82 [~besser82@fedora/besser82] has joined #shogun09:43
-!- mode/#shogun [+o besser82] by ChanServ09:43
-!- Lefteris [~lefteris@2a05:b400:100:100:34eb:43bc:7d95:dc49] has joined #shogun10:02
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has joined #shogun10:10
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has quit [Client Quit]10:11
@wikingwuwei[m]: are you here?10:11
wuwei[m]wiking: hey10:31
Lefterisgf712, any news about the ATI meeting next week?11:00
gf712hey, sorry about that I'll find a meeting room now11:08
gf712wiking what time are you arriving/leaving next week?11:08
LefterisNo problem gf712 I don't have anything scheduled next week so I am free for any date/time11:15
@wikinggf712: i think tuesday would be ideal but i would get back to you11:16
@wikingi should be there on 18-19 and 20 (on the 20th i leave on the afternoon)11:16
gf712wiking Lefteris: OK, I'll book something for Tuesday afternoon and then can book more rooms if needed11:34
LefterisOK, I will book tickets for Tuesday then11:41
LefterisThanks!11:41
Lefterisgf712, I am working on removing the m_gradient_parameters. The additions in PR https://github.com/shogun-toolbox/shogun/pull/4432/files might be helpfull. Is there a plan to merge it?12:21
LefterisI can steal it until you merge it :P12:24
gf712Lefteris yes it should be merged in https://github.com/shogun-toolbox/shogun/pull/452212:27
LefterisAh, ok, thansk12:28
gf712just thinking if it is worth making it return by reference12:28
gf712I am not sure what is happening behind the scenes but without any optimisation I think the map is being copied twie12:29
gf712twice12:29
gf712once by std::copy_if and then copied when it is returned12:29
gf712Lefteris is this correct?12:29
LefterisI think is better to not use a reference return. I believe it is safer the way you have it12:33
LefterisAre you worried about performace?12:34
gf712yes, but I guess it doesn't matter too much in this case12:36
gf712in which situation are you going to use it?12:37
LefterisI want to get the parameters that are gradients and for another case model_parameters12:38
LefterisAlso, ParametersMap result will go out of scope if you return it by reference12:39
LefterisGo to the end of this page to see example https://www.tutorialspoint.com/cplusplus/returning_values_by_reference.htm12:40
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]12:49
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun12:56
-!- mode/#shogun [+o wiking] by ChanServ12:56
gf712Lefteris true!13:03
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has joined #shogun13:32
-!- heytitle [~heytitle@ip5b4171a6.dynamic.kabel-deutschland.de] has quit []14:45
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]14:47
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun15:02
-!- mode/#shogun [+o wiking] by ChanServ15:02
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 268 seconds]15:07
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun15:52
-!- mode/#shogun [+o wiking] by ChanServ15:52
-!- Lefteris [~lefteris@2a05:b400:100:100:34eb:43bc:7d95:dc49] has quit [Quit: Leaving]15:59
-!- Lefteris [836f058f@gateway/web/freenode/ip.131.111.5.143] has joined #shogun16:01
-!- feriglegarc [6cab80bc@gateway/web/freenode/ip.108.171.128.188] has joined #shogun16:15
feriglegarcgf712: https://en.cppreference.com/w/cpp/language/lambda16:16
feriglegarcdangling references paragraph might explain it?16:16
gf712feriglegarc The issue only appears when I do casting in the lambda16:44
@wikingwuwei[m]: ok16:48
@wikingso yeah the problem is that pipeline woudl be then16:48
@wikingclass Cpipeline: public CMachine, public CTransformer16:49
@wikingright?16:49
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds]16:49
wuwei[m]yes16:49
-!- gf712_ [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun16:49
@wikingafaik swig doesn't support multiinheritance16:49
@wiking"as limited or allowed by the target language"16:49
-!- Lefteriss [~lefteris@2a05:b400:100:100:bdf1:ac1:4ec2:61dc] has joined #shogun16:50
@wiking"813. Warning for classname, base baseclass ignored. Multiple inheritance is not supported in Java. (Java)."16:50
@wiking"833. Warning for classname, base baseclass ignored. Multiple inheritance is not supported in C#. (C#)."16:50
@wikingso yeah we would loose c# and java then16:51
-!- Lefteris [836f058f@gateway/web/freenode/ip.131.111.5.143] has quit [Ping timeout: 256 seconds]16:51
-!- Lefteriss [~lefteris@2a05:b400:100:100:bdf1:ac1:4ec2:61dc] has quit [Client Quit]16:51
wuwei[m]what is the behaviour in java c#? the base class is ignored, do we still have the api available?16:52
@wikingi think the whole class is ignored thne16:52
wuwei[m]that's terrible16:53
-!- gf712_ [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds]16:53
@wikingyep16:53
wuwei[m]we can put the transformer parts to a interface "transform", but we are not able to pass pipeline as a transformer16:54
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Remote host closed the connection]16:55
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has joined #shogun17:09
gf712wiking the shogun.ml website seems to be down?17:11
@wikingyes17:11
@wikingthe server's hdd got full17:11
@wikingi'm working on it17:11
@wiking:D17:11
gf712ah ok, just checking you knew!17:11
gf712wiking did anything happen in the last couple minutes of the meeting? My connection went down17:12
@wikingwe were just discussing pipeline problems17:12
@wiking:>17:12
gf712last part I heard was taking stuff from swig because of factories17:12
gf712OK!17:12
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun17:15
feriglegarcgf712: about the cast in the lambda - I don't know for sure right away. At what point have you detected the dangling reference, returning from the lambda or just after the cast it is already corrupted17:22
feriglegarc?17:23
gf712feriglegarc: the bad memory error appears when I call the lambda. I am not sure I can break it down further17:37
gf712I think casting references inside a lambda is the issue but I haven't checked it yet17:38
gf712but capturing references and accessing their data members works fine17:39
gf712I.e. capture num_lhs and then dereferencing it *num_lhs works fine17:41
-!- feriglegarc_ [50fe9643@gateway/web/freenode/ip.80.254.150.67] has joined #shogun17:43
feriglegarc_gf712: all right17:43
feriglegarc_maybe checking the output directly after the cast can shed some light17:43
-!- feriglegarc [6cab80bc@gateway/web/freenode/ip.108.171.128.188] has quit [Ping timeout: 256 seconds]17:45
-!- gf712 [90520825@gateway/web/freenode/ip.144.82.8.37] has quit [Ping timeout: 256 seconds]18:13
-!- feriglegarc_ [50fe9643@gateway/web/freenode/ip.80.254.150.67] has quit [Quit: Page closed]18:19
-!- Dendemann [~besser82@fedora/besser82] has joined #shogun20:01
-!- mode/#shogun [+o Dendemann] by ChanServ20:01
-!- besser82 [~besser82@fedora/besser82] has quit [Ping timeout: 240 seconds]20:05
-!- Dendemann is now known as besser8220:05
-!- feriglegarc [3ea305ab@gateway/web/freenode/ip.62.163.5.171] has joined #shogun22:21
--- Log closed Wed Feb 13 00:00:09 2019

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