IRC logs of #shogun for Monday, 2018-09-17

--- Log opened Mon Sep 17 00:00:40 2018
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has joined #shogun12:50
-!- mode/#shogun [+o HeikoS] by ChanServ12:51
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has quit [Ping timeout: 252 seconds]12:58
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has joined #shogun13:11
-!- mode/#shogun [+o HeikoS] by ChanServ13:11
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has quit [Ping timeout: 272 seconds]13:19
-!- witness [uid10044@gateway/web/irccloud.com/x-nanwkyaenzlyxvpq] has joined #shogun13:53
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has joined #shogun14:16
-!- mode/#shogun [+o HeikoS] by ChanServ14:16
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has quit [Ping timeout: 252 seconds]14:25
@wikinglisitsyn, man14:52
@wikingthis sort of functions void CSGObject::build_gradient_parameter_dictionary(CMap<TParameter*, CSGObject*>* dict)14:52
@wiking:)14:52
@wikinglisitsyn, i have a q16:47
@wikingsince currently we store w and features and labels as a model param16:48
@wikingthe only way to actually get out the actual params of a model is to somehow manually do a gettype... i'm wondering whether build_gradient_parameter_dictionary is something that would cover all the model params that are actually the params of the model :)16:49
@wikinglisitsyn, see https://pastebin.com/x4PyfYWf16:52
@wikingdata_locked, features, labels, store_model_features, w16:52
@wikingare not the model params16:52
@wikingthat traditional ml paramers think/call model params16:53
@wikingand since for example16:53
@wikingSG_ADD(16:53
@wiking    &use_bias, "use_bias", "Indicates if bias is used.", MS_NOT_AVAILABLE);16:53
@wikingSG_ADD(&epsilon, "epsilon", "Convergence precision.", MS_NOT_AVAILABLE);16:53
@wikingthe gradient thing would not fly as a good filter obviously16:53
@sukey[https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4398 opened by vigsterkr17:18
@wikinglisitsyn, so?17:26
@wiking:)17:26
lisitsynwiking: so you want to get all the parameters of the object?17:26
lisitsyntrainable?17:26
@wikingwell see the pastebin17:26
@wikingi mean some of those are not real ML parameters17:27
@wikingright? )17:27
lisitsynah ok17:27
@wikingdata_locked, features, labels, store_model_features, w17:27
@wikingthese are 'shogun' related stuff17:27
@wikingnot much to do with the model itself17:27
lisitsynI think we should switch to _data_locked17:27
lisitsyn:P17:27
lisitsynpython!17:27
@wikinghahahahahahha17:27
@wikingserious? :)17:27
lisitsynI don't know17:27
@wikingenum?17:27
lisitsynor add a few methods17:27
@wikingwith multimap?17:27
@wiking:)17:27
lisitsynlike trainable parameters17:27
lisitsynmodel_parameters, internal_parameters, etc17:28
lisitsynstate_parameters17:28
@wikinglisitsyn, we can use std::multinap17:28
@wikingno?17:28
@wiking:)17:28
lisitsynwhy? what for?17:28
@wikinglisitsyn, basically i wanna tag the tag17:29
lisitsynwiking: where do we have multiple keys?17:29
@wiking:)17:29
@wikingif you see what i mean? :)17:29
lisitsynthat's fine17:29
@wikingbut trying to avoid another hashmap17:29
@wiking:)17:29
@wikingbut yeah the simplest way is to have those various hashmaps17:30
@wiking:)17:30
@wikingbut it feels eeeeh17:30
@wikingbut i guess it's gonna be that17:30
@wiking:)17:30
lisitsynwiking: anyway you don't need multimap17:31
@wikingyeah i know17:31
@wikingi mean i was trying to say that i'd like to index the tags17:31
@wikingwith multiple keys17:31
@wiking:)17:31
lisitsynthat's like 2-level map17:31
lisitsynwiking: but adding _ is a good hack17:32
lisitsyn:)17:32
@wikingyou are note serious now right? :)17:32
@wiking*not17:32
@wikingi mean but what would you do17:32
@wiking[i.startswith("_") for i parameters_list()]17:33
@wiking?17:33
@wiking:D17:33
@wikingor sophistication level ++17:33
@wikingthat when you create a Tag you check for "_" prefix?17:33
@wiking :D17:33
@wikingand then insert it into different maps17:33
@wikingthere are some other issues here17:34
@wikinglike we currently set the default value of a parameter by code, but the only way to get that info is actually construct an obj and check the values of the model param17:34
@wikingso i cannot just say17:35
@wikingget_param("name?)17:35
@wikingor something17:35
@wikingand it will give me back17:35
@wikingparam value, documentation and default value17:35
@wiking:)17:35
@wikingwe have this magic17:36
@wikingchar* get_modsel_param_descr(const char* param_name);17:36
@wikingbut i mean17:36
@wiking:D17:36
lisitsynwiking: I just don't know if we really have good groups for parameters17:36
lisitsynlike classification of parameters17:36
@wikingyeah we currently have 217:37
@wikingright?17:37
@wikingi mean 2 gorups17:37
@wikingMS_AVAILABLE vs MS_NOT_AVAILABLE17:37
@wikingnow i wanna add a new group17:37
@wiking:)17:37
@wikingbasically this is the story17:37
@wikingbut i mean17:38
@wikingwe can hide this17:38
@wikinginto AnyParameterProperties17:38
@wikingright? :)17:38
@wikingi guess actually that would be a good place for this17:38
@wikinglisitsyn, ^17:38
lisitsynwiking: yeah lemme check17:39
lisitsynsomewhere like that17:39
lisitsynwiking: yeah a good place probably17:42
@wikinglisitsyn, hehe17:48
@wikinglisitsyn, and then just expose these params17:48
@wikingi mean AnyParameterProperties get_properties() const17:48
@wikingis there17:48
lisitsynyeah17:48
lisitsynthat's exactly for such things17:48
@wikingonly thing that AnyParameter is not exposed17:49
@wikingand i guess we dont wanna expose it right? :)17:49
@wiking(to swig)17:49
@wikingso i mean in the c++ api i would do something like17:49
@wikingstd::vector<> get_parameters(std::vector<AnyParamTypes> anyParameterFilter)17:50
@wikingand then do some dummy wrappers over this for SWIG?17:50
@wikingor fully expose anyparameter? :)17:51
@wikingsee what i mean?17:51
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has joined #shogun18:14
-!- mode/#shogun [+o HeikoS] by ChanServ18:14
-!- HeikoS [~heiko@host86-151-43-178.range86-151.btcentralplus.com] has quit [Ping timeout: 245 seconds]18:39
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has joined #shogun19:55
-!- mode/#shogun [+o HeikoS] by ChanServ19:55
-!- HeikoS [~heiko@2a00:23c5:e10a:5c00:adf4:8dac:e66a:2204] has quit [Ping timeout: 252 seconds]20:07
--- Log closed Tue Sep 18 00:00:42 2018

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