IRC logs of #shogun for Friday, 2019-03-01

--- Log opened Fri Mar 01 00:00:31 2019
-!- Adarsh [7afcff68@gateway/web/freenode/ip.122.252.255.104] has joined #shogun09:27
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has joined #shogun09:44
-!- Adarsh [7afcff68@gateway/web/freenode/ip.122.252.255.104] has quit [Quit: Page closed]09:51
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun11:10
wiking_gf712: hey11:10
-!- wiking_ is now known as wiking11:11
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]11:11
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun11:11
-!- mode/#shogun [+o wiking] by ChanServ11:11
gf712wiking: hey!11:12
gf712I think that code is going to cause a linking error no?11:13
@wikingmmmm no there's more problem11:13
@wikingwith constness11:13
@wiking:DDD11:13
gf712yea I saw that...11:13
@wikingalthough it's weird11:13
gf712btw windows is down11:14
@wikingas i've compiled and tested this (almost this) on11:14
@wikingdonbot11:14
@wikingwhat do you mean down?11:14
gf712the CI is complaning11:14
gf712complaining11:14
gf712no cblas.h11:14
@wikingaaah11:14
@wikingsince when?11:14
gf712so I started a PR to force msvc to use mkl11:14
@wikingin develop?11:14
gf712yes11:14
@wikinggf712: yeah that is a shitty job :))))11:15
gf712since the start of the week11:15
@wikingaaah fuck11:15
@wikingthen it seems mkl has changed again11:15
@wikingin condda11:15
@wiking*conda11:15
@wikinglemme see the logs11:15
@wikingno it did not11:16
gf712https://dev.azure.com/shogunml/shogun/_build/results?buildId=67611:16
gf712         D:\a\1\s\src\shogun/mathematics/lapack.h(29): fatal error C1083: Cannot open include file: 'cblas.h': No such file or directory [D:\a\1\s\build\src\shogun\libshogun.vcxproj]11:16
@wikingyeah11:17
gf712yea I was trying to see what could have happened with some Cmakecache printing11:17
@wikingbut the mkl version hasn't changed11:17
@wikingso i really dont get it what has changed11:17
@wiking:D11:17
gf712but I don't think it was using mkl before was it>11:18
gf712?11:18
gf712or it might be an azure thing with pathing>11:18
gf712?11:18
gf712so now the conda path of the shogun env is not detected?11:18
gf712that's why forcing the path works11:19
@wikingonce it was11:19
@wikinglike back in november11:19
@wikingbut since then things changed somewhere11:19
@wikingand since then its not using mkl11:20
@wikingimo we need to the trick11:21
@wikingthat you do on mac11:21
@wikingor is that what you mean by the paths?11:21
gf712yes that's what I did11:22
gf712in the PR11:22
gf712https://github.com/shogun-toolbox/shogun/pull/454711:22
gf712but it means that something is not working with the Cmake file detecting blash11:23
gf712blas/lapack11:23
gf712if you see here https://dev.azure.com/shogunml/shogun/_build/results?buildId=68311:23
@wikingyes11:24
gf712in the setup it thinks it found mkl11:24
@wikingthat's for sure that there's somewthing weird with cmake11:24
@wikingBUT11:24
gf712but before it didn't detect it11:24
@wikingi have a windows machine11:24
@wikingdid almost everything the same11:24
@wikingand there it is being detected11:24
@wikingso this is somethign azure specific11:24
@wiking:(11:24
gf712but that's because it's in the path of your machine right?11:24
@wikingi've tried both11:24
gf712as in anaconda is in PATH11:24
@wiking:)))11:24
gf712ah ok11:24
gf712then I don't know :(11:25
@wikingyou can check windows-cleanup or whatever branch11:25
@wikingwith all those dll fixes11:25
@wikingthere i wanted to fix the path11:25
@wikingmeaning that conda is in the path11:25
@wikingso mkl gets fixed11:25
@wikingit didn't help11:25
@wikingand the detection of MKL is cmake based11:25
@wikingok so you solved now the detection?11:25
gf712yes it works fine now11:26
gf712and uses mkl\11:26
@wikingwhich one?11:26
@wikingbecause  https://dev.azure.com/shogunml/shogun/_build/results?buildId=68311:26
gf712the anaconda one11:26
@wikingdetects mkl as openblas11:26
@wiking:)11:26
@wikingand that's not optimal11:26
gf712https://dev.azure.com/shogunml/shogun/_build/results?buildId=70211:26
@wikingoh cool11:26
@wikingis this merged?11:27
@wiking:)11:27
@wikingif not, why not :D11:27
gf712ah was just waiting for you to approve11:27
gf712and if you wanted to look at the actual issue in Cmake :p11:27
@wikingmmm11:27
@wikingyeah i looked into it11:27
gf712right now we are just avoiding solving that issue11:27
@wikingwe cannot do too much coz the scripts are cmake's11:27
@wikingmkl_core_dll.lib  is required?11:27
@wikingcant we use mkl_rt.dll?11:28
gf712we might11:28
gf712but then the library has to be in the path11:28
gf712because then we just add -lmkl_rt11:28
gf712rather than the path11:28
gf712right?11:28
@wikingmmmm i mean that u know there's 2 ways to link against mkl11:29
@wikingone is the oldschool11:29
@wikingand the other is mkl_rt11:29
gf712yes11:29
gf712but the mkl_rt only works if $(conda)/Library/lib is in the linker path right?11:30
gf712search path*11:30
gf712which I am not sure it is...11:30
gf712in my machine I had to add it specifically to get it to work11:31
gf712but let me try and see what happens11:31
@wikingi mean just showing you my end11:31
@wikinglemme get the link11:32
@wikinggf712: check this https://dev.azure.com/shogunml/shogun/_build/results?buildId=62411:32
@wikingsee that there's a new task there11:32
@wikingAdd conda to path11:32
@wikingthat should add all the paths that usually conda adds automagically to the path11:32
@wikingbut then if you check Setup11:33
@wikingit still fails to detect mkl11:33
@wikingaas lapack backend11:33
gf712hmmm ok, I have no idea why it doesn't find then...11:34
gf712how does it find blas but not lapack?11:35
@wikingdunno11:36
@wikingbut i couldn't reproduce it locally11:36
@wikingon a windows :(11:36
gf712trying out mkl_rt.dll11:36
gf712let's see if it works, I think there will be a linking error11:37
@wikingoookeee11:42
@wikinggf712: q11:42
@wikingso now because add_to_dense_vector cannot be const (see later) we cannot have get_mean and get_std const11:42
@wikingthe reason is add_to_dense is not const because we have a caching in the object11:44
@wikinghow do you feel about `mutable` qualifier/ :)11:45
gf712ah11:46
gf712haha11:46
gf712where are you putting it?11:46
gf712do you get a performance boost relative to not using const at all?11:47
gf712*not using anything at all?11:48
@wikingshould11:48
@wiking"Don't use const for performance reasons. Use it for maintainability reasons."11:49
@wiking:)11:49
@wiking"That said, it is trivial for the compiler to look at the code it generates and determine if it actually writes to a given variable, and apply optimizations accordingly."11:50
gf712OK!11:51
gf712but where does the mutable go then?11:51
gf712add_to_dense?11:51
@wikingnono11:52
@wikingsome of the member vars11:52
gf712ah right11:52
@wikingof densefeatures11:52
gf712ok!11:52
gf712and then can add const and compiler knows that some stuff is not actually const?11:52
gf712I just used mutable in lambdas before..11:52
@wikingyeah so that way the compiler will know that for some member vars11:54
@wikingit's ok to mutate even if the member function is marked const11:54
gf712ok! are there any side effects that can cause weird behaviour>11:55
gf712I guess it's more that you can mark things const even though it doesn't make much sense to do so11:55
gf712btw:11:56
gf712CMake Error at C:/Program Files/CMake/share/cmake-3.13/Modules/CheckLibraryExists.cmake:39 (message):   Syntax error in cmake code at      C:/Program Files/CMake/share/cmake-3.13/Modules/CheckLibraryExists.cmake:39    when parsing string      Looking for cblas_dgemv in C:\Users\VssAdministrator\.conda\envs\shogun/Library/lib/mkl_rt.dll    Invalid character escape '\U'.11:56
gf712what is this? :D11:56
@wikinglol11:57
@wikingdunno11:57
@wiking:D11:57
gf712https://stackoverflow.com/questions/13737370/cmake-error-invalid-escape-sequence-u12:05
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]12:05
gf712is there a way reverse "\" in env variables in azure?12:05
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has joined #shogun12:06
-!- wiking [~wiking@2001:67c:10ec:5784:8000::3ff] has quit [Changing host]12:06
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun12:06
-!- mode/#shogun [+o wiking] by ChanServ12:06
gf712wiking: is there a way reverse "\" in env variables in azure?12:14
gf712so instead of "C:\path\to\something" have "C:/path/to/something"12:15
-!- HeikoS53 [5534e6bc@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.188] has joined #shogun13:11
HeikoS53gf712 yo!13:14
HeikoS53lambday yp!13:14
gf712HeikoS hey!13:16
gf712HeikoS53 hey!13:16
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]13:16
HeikoS53just going through the diff of the enum PR13:16
gf712ah yes, a bit large because I did some formatting13:16
gf712because I just used chunks around the parameter registration with gitkraken...13:17
HeikoS53no worries13:17
HeikoS53I think it is there right?13:17
gf712I think so.. It works in the interfaces13:17
gf712I hid the tag dispatching from SWIG btw13:17
gf712it was causing ambiguity according to the compiler13:18
HeikoS53ah yeah good13:18
HeikoS53this is quite cute now13:18
HeikoS53it is actually much more "typesafe" than before13:18
HeikoS53before one could just put in anything13:18
HeikoS53but now one can only put what is in the map13:19
gf712yup, I added some checks for both put with int and with string13:19
gf712so should be safe!13:19
gf712also seem to have found the bug with windows CI13:19
gf712was talking to viktor earlier  but we couldn't figure out why it stopped working...13:20
gf712just trying something out and then should merge it to get the CI up and running again13:20
gf712I just want to make sure that the macro business works fine with msvc13:21
HeikoS53ok13:22
HeikoS53so shall I hold before merging the options?13:22
HeikoS53or you mean your other fix?13:22
gf712yes, should wait until msvc is working13:23
gf712and then I'll trigger CI with the working msvc build13:24
HeikoS53ok13:25
HeikoS53ok13:25
HeikoS53just going through everything once more13:26
HeikoS53lisitsyn are you there?13:26
gf712HeikoS53 the windows fix should be good to be merged13:31
gf712I reverted to a commit that was working13:31
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun13:36
-!- mode/#shogun [+o wiking] by ChanServ13:36
@wikinggf712: ok so i merge than that pr13:44
@wikingok13:44
@wiking?13:44
@wikinghttps://github.com/shogun-toolbox/shogun/pull/454713:44
gf712yup13:49
gf712wiking: mkl_rt causes linker error13:49
@wikingyep13:50
@wikingseen it13:50
@wikingi've squashed and merged13:50
gf712cool13:50
gf712I wonder why the error happened..13:50
@wikingthnx for the fix!13:50
gf712no worries13:50
gf712wiking: btw how was the drive in the "new" car? :p13:51
@wikinggreat she acted nice13:51
@wikingno hiccups nada13:51
@wikingso i'm happy with her13:51
@wiking:)13:51
gf712haha13:51
@wikingyeah its a she and called Berta13:51
@wiking;)(13:51
@wiking:>13:51
gf712lol, berta?13:52
@wikingyes13:52
gf712is she ready to pick up your boat then?13:52
@wikingseems like13:52
gf712btw are you going to Berlin in June for shogun meeting?13:52
@wikingyes13:54
gf712and last question, how can I force azure pipelines to rerun a job?13:55
@wikingmmmm i should add u to the group13:58
@wiking:))))13:58
@wikingcan you register yourself to azure pipelines13:58
gf712OK!13:58
gf712does it have to be the same as GitHub?13:59
gf712as in email13:59
@wikingno13:59
@wikingunfortunately it's not integrated with organization part of github13:59
gf712alright I registered14:00
gf712what do you need? email I guess?14:00
@wikingwhat's your email14:00
@wikingyes14:00
gf712gil_f.hoben@hotmail.com14:00
@wikingdman14:01
@wikingit cannot find u14:01
gf712dev.azure.com/gilfhoben  does this help?14:02
@wikinglemme see14:02
gf712I think something just happened14:03
@wiking"no identities found"14:03
gf712the screen refreshed14:03
gf712and I can now see more stuff14:03
gf712might take a while to make it public..14:03
@wikingtell me in the meanwhile14:04
@wikingwhat you need to rerun14:05
@wikingand i guess we could add a bot here like used to be with sukey14:05
@wikingthat could do minimum commands14:05
@wiking:D14:05
gf712wiking can you rerun this https://dev.azure.com/shogunml/shogun/_build/results?buildId=70514:06
gf712pls14:06
@wikingdone14:06
gf712talking about bots, have you every used https://probot.github.io/docs/development/ ?14:06
gf712thanks!14:06
@wikinghttps://dev.azure.com/shogunml/shogun/_build/results?buildId=71014:06
@wikingno14:06
@wikingsukey was some other bot14:06
@wikingbut any of these things are great to have at hand14:07
gf712yea I was thinking about starting one14:07
gf712just to see how it works14:07
gf712I never used GitHub hooks so now idea how it works..14:07
gf712no14:07
HeikoS53my water bottle is called Berta14:10
HeikoS53gf712 let me know when to  merge the options PR14:10
gf712OK!14:10
gf712just waiting on https://dev.azure.com/shogunml/shogun/_build/results?buildId=71014:11
gf712wiking: can you find https://dev.azure.com/gf712/ ?14:30
@wikinglemme try14:30
@wikingnothing :(14:30
gf712hmmm very weird14:33
gf712anyway I should be gf712 in azure at some point14:34
@wikingok14:36
gf712wiking: after forcing to rerun a job in azure shouldn't the windows CI work? I am still getting the cblas.h error14:36
gf712do I need to push something instead?14:36
@wikinggf712: have u rebased?14:36
@wikingok i've cleared up some mess regarding DotFeatures in feature/correct-initials14:37
gf712ah true true14:37
@wikingif that passes i'll merge the branch into develop14:37
gf712nvm me14:37
gf712OK!14:37
@wikingand yeah constexpr was failing14:37
@wiking:)14:37
gf712did you add the mutable then?14:37
@wikingmy bad sorry14:37
@wikingno actually i did not have to14:37
@wikingsince we store most of the member vars as pointers ;)14:37
gf712yea, I wish it worked as expected14:37
gf712what does that change?14:38
@wikingwell14:38
@wikingwe dont change the pointer value14:38
@wikingjust the object where it points to14:38
@wiking;)14:38
@wikingand that doesn't get effected14:38
@wikingby constness of a member func14:38
@wikingsince the compiler is just checking14:38
@wikingwhether you actually change the member vars value14:39
@wikingin a const function14:39
@wikingor call a function that is not const14:39
gf712hmmmm ok14:40
gf712let me see!14:40
gf712oh damn that is a lot of constness you added :p14:41
@wikingyes14:41
@wikingi mean it's more like because a lot of classes derive from DotFeatures14:42
HeikoS53gf712 wiking I am looking at flights for london14:43
HeikoS53for the cambrdige WS14:43
HeikoS53I want to spend another day in london14:43
@wikingHeikoS53: ah shit i think i havent told you only to gf71214:43
HeikoS53to meet with gf71214:43
@wikingi wont be able to make it14:43
HeikoS53shall we sync?14:43
HeikoS53ah ok14:43
HeikoS53gf712 and you only are there one day or so right?14:43
HeikoS53what day is good to meet at the ATIss14:44
gf712yes, I won't be around on the Friday14:44
gf712can meet on Wednesday?14:44
HeikoS53what date is that?14:44
gf712good question...14:44
HeikoS5320th14:45
gf71220th14:45
gf712yes14:45
HeikoS53I think that should work14:45
HeikoS53Ill check for flights then14:45
HeikoS53are you around all day then?14:45
HeikoS53i.e. shall I arrive on 19th and come in the morning14:45
gf712but I am still not sure if I can to the thing because the application had already finished14:45
gf712yup ill be here all the time14:45
HeikoS53or arrive on 20th early and come in on afternoon14:45
gf712except 22nd14:45
HeikoS53ok14:45
HeikoS53so I will try to arrive at ATI morning of the 20th14:46
@wikingHeikoS53: here?14:46
gf712yup, that works14:46
HeikoS53y14:46
@wikingi mean do you have to discuss something14:46
HeikoS53ok let me check flights14:46
@wikingfor like 5-10 mins?14:46
HeikoS53wiking sure whats up14:46
@wikingand i guess it would be faster14:46
@wikingvia voice14:46
@wikingif that's ok with u14:46
@wikingthere's a design problem14:46
@wikingwith shogun's SVM classifiers14:46
@wikingand coreml14:46
HeikoS53ok sure14:46
@wikingwhatsapp?14:47
HeikoS53call me on hangout14:47
HeikoS53that also works14:47
@wikingk14:47
@wikingnow is good?14:47
HeikoS53yes14:47
@wikingk14:47
HeikoS53hangout is better thoug14:47
@wikingjust a sec14:47
@wikingi'll try hangout14:47
HeikoS53or actually14:47
HeikoS53whats app is ok14:47
HeikoS53Ill go for a walk :)14:47
HeikoS53give me one min14:47
@wikingjust call me then14:47
@wikingwhen its good for u14:47
@wiking:D14:47
HeikoS53ok14:47
-!- HeikoS53 [5534e6bc@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.188] has quit [Ping timeout: 250 seconds]14:52
-!- HeikoS53 [5534e6fd@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.253] has joined #shogun15:17
-!- HeikoS53 is now known as HeikoS15:17
-!- mode/#shogun [+o HeikoS] by ChanServ15:17
@HeikoSgf712 hey btw15:23
@HeikoSI had this other thing that would be good for the API15:23
@HeikoSnamely CKernel::init(CFeatures*, CFeatures*)15:23
@HeikoSthis is the way for kernels to be initialized15:23
@HeikoSand in fact15:24
@HeikoSkernel.put("lhs") should not be accepted15:24
@HeikoSi.e. a read-only feature15:24
@HeikoScan we have a property for that?15:24
@HeikoSand then a generic check inside "put"?15:24
gf712sure thing15:24
gf712I am just thinking if this is starting to add a lot of runtime cost?15:25
gf712but then I guess it's just when using getter15:25
gf712which is not part of the actual ML algo15:25
@HeikoSjust when using put15:26
@HeikoSbut yes it does15:26
@HeikoSwell first thing is I wanted to ask you for thoughts15:26
@HeikoSwe have this problem15:26
@HeikoSalso CFeatures::feature_matrix15:26
@HeikoSshould not be puttable15:26
@HeikoSI wonder whether this is something that we should address within registration15:27
@HeikoSJust thinking loud here15:27
@HeikoSbut if we registered something as const15:27
@HeikoSSG_ADD(const CKernel* my_kernel, ....)15:27
@HeikoSthen the put would  give an error15:28
@HeikoS"No parameter of type CKernel::lhs of type CFeatures* for provided const CFeatures*"15:28
@HeikoSor?15:28
@HeikoSlisitsyn ^15:28
gf712I mean it is easy to implement that15:29
gf712I am just thinking if we can hide it from put somehow15:29
gf712rather than do runtime checks of a map with const features15:30
gf712parameters*15:30
gf712and these things have to be registered right?15:30
@HeikoSput is explicitly defined for certain c-types15:30
@HeikoSso there just wouldnt be a put for the const parameters15:31
gf712as in, we can't just not do SG_ADD(CKernel* mykernel,...)15:31
@HeikoSand trying to use a non-const one we would get an error15:31
@HeikoSyes have to be registered15:31
@HeikoSas we want "get"15:31
gf712true15:31
@HeikoSactually, let me try this const registration locally15:31
gf712OK!15:32
gf712are you adding a check inside CSGObject::update_parameter?15:32
@HeikoSno15:33
@HeikoSI would just register as const pointer15:33
@HeikoSand see what happens15:33
gf712ah ok!15:33
@HeikoSthe put/get require *exact* type matching15:33
gf712put that only works for classes right?15:34
@HeikoSwhat do you mean?15:34
gf712ah nvm15:34
gf712I was thinking you wouldn't have a const int15:34
gf712but that would still not decay to int15:34
gf712nvm me15:35
@HeikoSah lots of discards qualifiers errors15:35
@HeikoSyeah sure makes sense15:36
@HeikoSok so back to runtime15:37
@HeikoSso first thing is15:37
@HeikoSput is expensive already15:37
@HeikoSas it has to check the type inmformation15:37
@HeikoSmmmh15:38
gf712what do you mean it "has to check the type information"?15:38
@HeikoSany_cast type of stuff15:38
gf712ah is that expensive?15:38
gf712never really looked under the hood of that15:38
@HeikoSactually good question15:38
@HeikoSI think it uses typeid15:39
@HeikoSso maybe not that bad15:39
lisitsynoops15:39
lisitsynHeikoS:15:39
@HeikoSlisitsyn yo15:39
@HeikoShello15:39
lisitsynI'd avoid using const pointer15:39
lisitsynthis might be a problem since we want to use shared pointers15:39
lisitsynthey won't be const friendly I think15:39
lisitsynHeikoS: ^15:39
@HeikoSok15:39
@HeikoSlisitsyn so read-only parameters?15:39
lisitsynyeah it might be better15:39
@HeikoSvia an additional runtime check?15:39
@HeikoSok15:39
lisitsynyes15:39
@HeikoSother question15:39
@HeikoScan you have a quick look on this: https://github.com/shogun-toolbox/shogun/pull/453715:40
lisitsynHeikoS: yuge!15:40
@HeikoSgf712 so can we have that property and a check in the libshogun put (the lowest one that all others call)15:40
@HeikoSlisitsyn just check the relevant bits15:41
gf712OK!15:41
@HeikoSlisitsyn SG_ADD_OPTIONS15:41
gf712so the same as CSGObject::update_parameter in the auto stuff15:41
@HeikoSgf712 not exactly sure what you mean15:41
@HeikoSyou have a link?15:41
lisitsynoh that's really cool guys15:41
@HeikoSlisitsyn the fame goes to gf71215:42
@HeikoSblame is for me :D15:42
lisitsynship it!15:42
@HeikoSok15:42
@HeikoSmicroservice?15:42
lisitsynHeikoS: microservice?15:43
lisitsyn:)15:43
@HeikoShehe ;)15:43
@HeikoSjust waiting for the CI15:43
@HeikoSand then it will go in15:43
lisitsynmicroservice what?15:43
@HeikoSand then I will kill liblinear15:43
lisitsynsome changes are irrelevant formatting stuff15:43
@HeikoSin swig15:43
lisitsynbut I guess this came from clang format?15:43
@HeikoSyes and then some mixing up in the git commit15:43
lisitsyngf712: HeikoS: the only minor thing is how you declare15:43
lisitsynI mean it has a lot of params and at some point it starts to be the list15:44
@HeikoSyou think there will be more than a handful of options for parameters?15:44
gf712lisitsyn you mean the collection of macros?15:44
@HeikoSwe had one-by-one before, but I didntl like it because you had to write the parameter string name every time15:44
lisitsynhttps://github.com/shogun-toolbox/shogun/pull/4537/files#r26162829515:45
gf712the issue is that I can't convert enum to string without macros15:45
lisitsyngf712: maybe SG_OPTIONS could be just no-op macros just for readability?15:45
lisitsynI mean to specify where is the list15:45
lisitsynsee what I mean?15:46
gf712hmm, but then how do associate the enum to the parameter?15:46
lisitsyngf712: I mean can we just wrap the actual values somehow?15:47
gf712you would need SG_OPTIONS(param_name, enum1, enum2, ...)15:47
lisitsynwhy?15:47
@HeikoSlisitsyn not sure you realised, it is lr.put("liblinear_regression_type", 'L2R_L2LOSS_SVR_DUAL')15:47
lisitsynI do15:47
@HeikoSokok15:47
@HeikoSlisitsyn options are assiciated to parameters15:47
@HeikoSnot to classes15:47
gf712because you need to put the enums in the map that keeps track of them no?15:48
gf712and the map uses the parameter name as key15:48
lisitsyngf712: HeikoS: ah sorry15:48
lisitsynmy comment is broken :)15:48
gf712I am not sure how you can get that information by just adding enum values15:48
lisitsyngf712: HeikoS: https://github.com/shogun-toolbox/shogun/pull/4537/files#r26162829515:49
lisitsynplease check again15:49
lisitsynI wasn't clear enough sorry :)15:49
gf712ahhh15:49
@HeikoSgotcha!15:49
gf712ok, I understand :D15:49
@HeikoSyeah that'd be neat15:49
lisitsynanyway that thing is awesome15:50
gf712I can give it a go and see if msvc likes it...15:50
lisitsyngf712: I think no-op _VA_ARGS_ -> _VA_ARGS_ thing could work15:50
gf712ok, let me give it a go15:51
gf712:)15:51
@wikingif there are no objections i'm merging feature/correct-initials15:53
@HeikoScan we have a diff of it for one more iteration/reading?15:54
@HeikoSi.e. a PR?15:54
gf712wiking: cool! unless you want to start PR and can change more default params?15:55
@wikingHeikoS: it's a feature branch15:55
@wikingif i do a pr now15:55
@wikingit's gonna run again the CI15:55
@HeikoSwiking sure but it is hard to see what is the sum of changes15:55
@wikingi think you can check the PR by trying to create one15:55
@wikingbut then actually not creating one15:55
@HeikoSbut then I cannot comment or?15:55
@wikingyou should have there the diff15:55
@wikingnoup15:56
@wikingi mean if u want u can create the pr15:56
@wikingand i just kill the build job15:56
@HeikoSok let me do that15:56
@HeikoSthanks15:56
@HeikoSok opened15:57
@wikingcancelled15:57
@HeikoSmerci15:58
@wikingbut most of this has been actually reviewed :)15:59
@wikingjust realised15:59
@wikingi've just added some tidbits15:59
@wikinglike for example gf712's stuff has been discussed in a pr15:59
@HeikoSsure, I just always review different for feature branch PR16:06
@HeikoSanyways, I think it is good16:06
@HeikoSthere is this thing with the column wise std-dev16:06
@wikingyes16:06
@wikingcheck my comments16:06
@wikingyou'll get it16:06
@HeikoSah ok16:06
@HeikoSok cool16:07
@HeikoSnice to have that feature16:07
@wikingok i merge the feature branch16:07
@HeikoSgo for it ill close the pr16:07
@wikingand close the pr16:07
@wikingkk16:07
@wikingclose it16:07
@wikingi merge16:07
@HeikoSgf712 would be cool to have some API for swig to set those auto init things16:07
@HeikoSbut the read-only thing is more important I think16:08
@wikingpushed16:08
@wikingbbl16:08
@HeikoScu16:08
@HeikoSgf712 conflicts in the string enum PR now16:09
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]16:09
gf712HeikoS I can look into adding auto stuff to swig16:09
gf712yes I'll have a look into that16:10
@HeikoSgf712 cool!16:10
gf712also msvc is complaining randomly16:10
@HeikoSthe read-only is also important for the auto init stuff16:10
gf712I don't msvc macros16:10
gf712get*16:10
@HeikoSsince here we have to make the lhs/rhs of kernel read-only so that auto-init makes sense and users cannot change features afterwards16:10
gf712OK, I can add a runtime check of readinly16:11
@HeikoShaha16:11
gf712only16:11
gf712let me finish refactoring the stuff with lisitsyn suggestions16:11
gf712and then I'll look into the readonly stuff16:12
@HeikoSsweet16:12
@HeikoSgf712 good stuff!16:12
@HeikoSreally nice work all this :)16:12
gf712HeikoS thanks! very cool going through a bit of everything in shogun16:13
@HeikoShaha yes indeed16:13
gf712btw I posted my first thing in the website16:13
@HeikoScool, you have a link?16:13
@HeikoSI will tweet it16:13
gf712but it isn't in the right order16:13
gf712https://gf712.github.io/shogun/enable_meta_learning/extend_python_getters.html16:14
gf712I already have more ideas of things to write about16:14
gf712and there are links but no text :D16:14
gf712HeikoS btw when are releasing?16:15
gf712we*16:15
@HeikoSgf712 I want to as soon as possible16:15
@HeikoSbut the API refactoring is a lot of work16:15
@HeikoSoptimal world would be: swig is clean of specialized classes16:16
@HeikoSbut I think that might be unrealistic16:16
@HeikoSand we have to do some sort of API-preview release16:16
@HeikoSand then keep updating that every now and then until complete16:16
@HeikoSnot sure what is still coming with that16:16
gf712OK! Sounds good. Maybe can push for that stuff to be done as entrance tasks?16:17
gf712btw for Berlin is the weekend fixed then? Want to book flights soon so that they don't get too expensive16:17
@HeikoSgf712 just booked flights, Ill be at the ATI on the 20th16:22
@HeikoSand then travel to Cambridge that evening16:22
@HeikoSor next morning, will see16:22
@HeikoSgf712 yes entrance task is the best16:24
@HeikoScan you check whether this is well described in the top 10 entrance tasks that are linked on the gsoc page in the wiki?16:25
@HeikoSsince I wrote that, it is not always clear to me whether it is clear16:25
gf712OK, let me have a look16:25
@HeikoSfeel free to bump/edit things to make sure we get a lot of students doing that task :)16:25
gf712HeikoS can maybe rename the issue to 2019 instead of 2017?16:26
gf712it's a but confusing16:26
@HeikoS:D16:26
@HeikoSdo it16:26
gf712bit16:26
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun16:27
-!- mode/#shogun [+o wiking] by ChanServ16:27
-!- wiking [~wiking@huwico/staff/wiking] has quit [Ping timeout: 258 seconds]16:34
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun16:36
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]16:36
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun16:36
-!- mode/#shogun [+o wiking] by ChanServ16:36
gf712wiking: how does this error make any sense: error C2947: expecting '>' to terminate template-argument-list, found '>'16:45
gf712'>' equals '>' no??16:46
@HeikoS:D16:48
gf712HeikoS the doc you just shared, is that the one that needed a one liner?16:53
@HeikoSnope16:53
@HeikoSI already sent that16:53
@HeikoSthis one needs more16:53
@HeikoSI will fill it out16:53
@HeikoSbut you should have a read16:53
gf712ok, I will keep an out on it16:54
gf712eye*16:54
gf712HeikoS: lisitsyn: just added SG_OPTIONS for readability16:54
gf712I also hid the static_asserts from msvc16:55
@HeikoSgf712Gil, while working on connecting Shogun to @open_ml, wrote a nice blog post about Shogun's new language agnostic parameter interface. https://gf712.github.io/shogun/enable_meta_learning/extend_python_getters.html16:55
@HeikoSgood tweet?16:55
@HeikoSor I change it to:16:57
@HeikoSGil, while working on connecting Shogun to @open_ml, wrote a nice blog post about the details of building a language agnostic parameter interface.16:57
@HeikoSgf712 good?16:57
@HeikoSI gotta go now16:57
@HeikoSwill post it16:57
@HeikoSif you dont like send me an email and I will update it16:58
gf712No worries sounds good!16:59
-!- zxtx [~zxtx@sunnythinking.org] has quit [Quit: ZNC - http://znc.in]17:04
-!- zxtx [~zxtx@sunnythinking.org] has joined #shogun17:13
-!- HeikoS [5534e6fd@gateway/web/cgi-irc/kiwiirc.com/ip.85.52.230.253] has quit [Ping timeout: 264 seconds]17:18
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]17:38
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun17:42
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]17:42
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:42
-!- mode/#shogun [+o wiking] by ChanServ17:42
-!- wiking [~wiking@huwico/staff/wiking] has quit [Client Quit]17:47
-!- zxtx [~zxtx@sunnythinking.org] has quit [Quit: ZNC - http://znc.in]17:51
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has quit [Ping timeout: 256 seconds]18:03
-!- Reinhard [6757a406@gateway/web/freenode/ip.103.87.164.6] has joined #shogun19:23
-!- Reinhard [6757a406@gateway/web/freenode/ip.103.87.164.6] has quit [Client Quit]19:23
-!- taichi303j [672c33dc@gateway/web/freenode/ip.103.44.51.220] has joined #shogun19:56
-!- taichi303j [672c33dc@gateway/web/freenode/ip.103.44.51.220] has quit [Ping timeout: 256 seconds]20:01
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]]20:41
-!- besser82 [~besser82@fedora/besser82] has joined #shogun20:41
-!- mode/#shogun [+o besser82] by ChanServ20:41
-!- besser82 [~besser82@fedora/besser82] has quit [Quit: Freedom, Friends, Features, First [fedoraproject.org]]20:55
-!- besser82 [~besser82@fedora/besser82] has joined #shogun20:55
-!- mode/#shogun [+o besser82] by ChanServ20:55
-!- zxtx [~zxtx@sunnythinking.org] has joined #shogun20:58
-!- zxtx [~zxtx@sunnythinking.org] has quit [Quit: ZNC - http://znc.in]22:36
-!- zxtx [~zxtx@sunnythinking.org] has joined #shogun22:38
-!- zxtx [~zxtx@sunnythinking.org] has quit [Quit: ZNC - http://znc.in]22:49
-!- zxtx [~zxtx@sunnythinking.org] has joined #shogun22:50
--- Log closed Sat Mar 02 00:00:33 2019

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