Open in new window / Try shogun cloud
--- Log opened Sun Aug 18 00:00:20 2013
-!- Heiko [5accf27c@gateway/web/freenode/ip.90.204.242.124] has joined #shogun00:24
Heikolisitsyn: hey!00:25
lisitsynHeiko: hey again :)00:25
Heikohow is it going?00:25
lisitsynstill ok ;)00:26
lisitsynHeiko: I was kind of researching 'parameters' thing00:26
Heikoyou mean how shogun parameters?00:26
lisitsynI'd say I have been doing that for a while though00:26
lisitsynnot really shogun but paraemeters in general00:26
Heikook you mean how to register etc?00:27
lisitsynHeiko: what I came with is https://github.com/lisitsyn/stichwort00:27
Heikogetter setter00:27
lisitsynyes more in this direction00:27
Heikosweet stichwort :)00:27
lisitsynHeiko: I broke my mind with casting idea - wanted to make it support implicit casts00:28
lisitsynlike you assign keyword to int and get float00:28
Heikoah sweet that looks nice!00:28
Heikoare there some more examples?00:28
lisitsynHeiko: not yet00:28
lisitsynwell I added some unit-tests to be sure it works00:28
Heikoravis fails00:29
lisitsynHeiko: the workflow with that thing is00:29
lisitsynI know00:29
lisitsynI have C++11 issues :D00:29
lisitsynso you define keyword00:29
lisitsynKeyword<double> width("width", 10.0);00:29
lisitsynthen you define function00:30
hushellwiking: Does 'sudo make install' need to be executed before ctest?00:30
lisitsynhmm say00:30
Heikolisitsyn: so this uses maps internally?00:30
lisitsynbool train(Parameters ps);00:30
lisitsynyou obtain the provided value with ps[width]00:30
lisitsynand call the function with00:30
lisitsyntrain({width=3.0})00:30
lisitsynHeiko: well it uses more C++ than I ever knew about :D00:31
Heikolooks quite nice, why is not not yet in shogun?00:31
lisitsynHeiko: I guess it is crazy slow00:31
lisitsynHeiko: the main challenge with it is I try to keep the Parameter class non-templated00:32
lisitsynParameter = Keyword<T> + T00:32
lisitsyni.e. width = 3.0 is the instance of Parameter00:33
lisitsynthat uses some internal shit underneath00:33
lisitsyn:D00:33
Heikosweet00:33
Heikospeed is a concern though00:34
Heikosetters should be fast00:34
lisitsynno that doesn't solve setters problem00:34
lisitsynas it has nothing to do with swig00:34
Heikoah ok00:35
Heikocool stuff though00:35
Heikoc++11 is really cool00:35
lisitsynHeiko: actually it worked with older C++00:36
Heikofinally one gets the syntactic stuff that one wants and that is possible to offer00:36
lisitsynthe only difference was00:36
lisitsyntrain(kwargs[width=3.0])00:36
lisitsynnot a big deal00:36
lisitsynHeiko: {} is possible due to std::initializer_list00:36
lisitsynHeiko: you may find std::optional<T> convenient too btw00:37
lisitsynbut it is C++14 :D00:37
lisitsynlol00:37
lisitsynI pushed DIY version of it to my code though00:37
Heikolisitsyn: cool!00:38
lisitsynHeiko: std::optional is used to represent a value that might not be present00:38
lisitsynso you don't have to deal with pointers or whatever00:39
Heikolisitsyn: wow I wonder how you cam eup with all this cool stuff00:39
Heikovery nice00:39
lisitsynHeiko: what exactly?00:39
Heikoso how can we get rid of pointers in shogun?00:39
Heiko:D00:40
lisitsynHeiko: no pointers are inside of shogun due to very OOP design00:40
Heiko?00:41
lisitsyna lot of related objects00:41
lisitsynHeiko: what's the deal with pointers btw? :)00:41
lisitsyndo you mean raw pointers we have?00:41
Heikoyeah00:42
lisitsynshared_ptr :)00:42
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has joined #shogun00:44
-!- mode/#shogun [+o iglesiasg] by ChanServ00:44
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has left #shogun []00:44
lisitsynHeiko: we have to find a solution for setters/getters00:45
Heikolisitsyn: would be nice00:45
lisitsynHeiko: I hate them! :D00:46
Heikolisitsyn: btw I would still drop the grid-search things00:46
Heikoyeah would be so nice00:46
Heikoin particular for modular bindings00:46
lisitsynHeiko: each time I find a way it breaks with something else00:46
Heikoalthough I guess proper examples which illustrate real problems would cause us to write all getters we need )00:46
Heikolisitsyn: I am counting on you!00:47
lisitsynHeiko: in python we might have svm.parameter(width=3)00:47
lisitsynas keywords can be converted to strings00:47
Heikoshould have something for all languages00:47
lisitsynand they are not to be defined anywhere00:47
lisitsynbut this fails for java00:47
HeikoI think its not a good idea to do things specific to single languages00:47
lisitsynmost of things fail for java00:47
lisitsynyes totally bad idea00:48
Heikowhat about using strings?00:48
Heikois this too slow?00:48
lisitsynthat's ok00:48
Heikosay we have a c backend for it00:48
lisitsynwell a bit slower00:48
lisitsynwe have other problem here00:48
Heikoquestion is does it matter if its slow?00:48
Heikowhich is?00:48
lisitsynhow to get the type :D00:48
lisitsynjust think about the declaration of such a function00:49
lisitsyn? parameter(const std::string& name);00:49
Heikowe have a parameter type00:50
HeikoTSGDatetype00:50
lisitsynokay lets have00:50
Heikoits possible to match things maybe00:50
lisitsynParameter parameter(const std::string& name)00:50
lisitsynthe problem is I don't see a way to go from00:50
lisitsynParameter00:50
lisitsynto say double00:51
lisitsyngetDouble();00:51
lisitsynthat's the only way I see00:51
lisitsynHeiko: that's essentially the same problem I met in that stichwort00:52
Heikoyeah true, I ea it could be solved with runtime errors00:52
Heikouser can call the method which exist for everything00:53
Heikoand then if types dont match there is an error00:53
lisitsynI was stucked with no possible virtual template methods00:53
lisitsyn:D00:53
lisitsynHeiko: I don't mind such way to do that00:54
Heikolisitsyn: ah I dont know00:54
lisitsynno I mean runtime errors00:55
lisitsynI am ok with them00:55
Heikolisitsyn: did you see my suggestion for the obtain from generic thing?00:55
Heikolisitsyn: almost the only way (runtime errors)00:55
lisitsynauto generate things?00:55
Heikolisitsyn: yeah00:55
lisitsynyes00:55
lisitsynthat's the same wall00:55
lisitsynruntime vs compile-time00:55
lisitsynHeiko: swig obsoletes CRTP so no static polymorphism for us :(00:56
Heikolisitsyn: but the idea should work, no?00:57
lisitsynyes sure00:58
lisitsynHeiko: what you suggest is totally ok and should work00:58
Heikolisitsyn: so should we do it?00:58
Heikowould at least solve all the mailing list questions ;000:59
Heiko\;)00:59
lisitsynyes as we have no other solution00:59
Heikolisitsyn: ok then, will push it a bit more this week01:00
lisitsynHeiko: the only other solution I can think of01:01
lisitsynis to preprocess headers somehow01:01
Heikolisitsyn: yes I also thought about that01:01
Heikobut its tricky01:02
Heikoits a bit annoying that c doesnt allow to modify classes in a different file01:02
Heikobut I guess there are reasons for that01:02
lisitsynshogun_class(SVM)01:02
lisitsyn{01:02
lisitsyn}01:02
lisitsynHeiko: I think we could do that like that ^01:02
@iglesiasgoh you guys are on!01:03
@iglesiasg:)01:03
lisitsynthe definition of such a macro is01:03
lisitsyniglesiasg: yes, hey01:03
Heikolisitsyn: but then we have another layer01:03
Heikoand everyone has to use it01:03
Heikowhile obtain from generic is only for a few01:04
Heikoso I rather prefer a solution with global functions01:04
Heikoiglesiasg: hi!01:04
lisitsynHeiko: yeah but later we can add more functions01:04
lisitsynHeiko: I guess what he have is just a typical stuff in every big project :)01:05
lisitsyna lot of classes and you have to sort the shit out01:05
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]01:06
Heikolisitsyn: I guess01:08
Heikolisitsyn:  ok sleep01:08
Heikosee you Monday probably when I have my computer back :)01:08
@iglesiasgHeiko, you still on holidays?01:08
lisitsynalright01:09
Heikoiglesiasg: well its weekend and my machine is at work01:09
Heikobtw I think we should meet in person this year again01:10
Heikobut ets discuss that next dev meeting01:10
Heikosee you, have a good night01:10
-!- Heiko [5accf27c@gateway/web/freenode/ip.90.204.242.124] has left #shogun []01:10
@iglesiasgHeiko, ah! Just out of curiosity if you were still out somewhere  holidays :)01:10
@iglesiasggood night01:10
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has quit [Quit: Ex-Chat]02:15
shogun-buildbotbuild #438 of nightly_none is complete: Failure [failed compile]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/nightly_none/builds/43803:44
-!- gsomix [~gsomix@109.169.225.75] has quit [Ping timeout: 248 seconds]08:00
-!- lambday [67157f37@gateway/web/freenode/ip.103.21.127.55] has joined #shogun08:49
-!- gsomix [~gsomix@88.200.244.212] has joined #shogun11:05
-!- lambday [67157f37@gateway/web/freenode/ip.103.21.127.55] has quit []13:27
-!- gsomix [~gsomix@88.200.244.212] has quit [Ping timeout: 256 seconds]14:45
-!- gsomix [~gsomix@88.200.244.212] has joined #shogun15:04
-!- gsomix_ [~gsomix@109.169.248.101] has joined #shogun15:58
-!- gsomix [~gsomix@88.200.244.212] has quit [Ping timeout: 256 seconds]16:01
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has joined #shogun17:20
-!- mode/#shogun [+o iglesiasg] by ChanServ17:20
-!- shogun-notifier- [~irker@7nn.de] has joined #shogun17:22
shogun-notifier-shogun: Roman Votyakov :develop * d60b0b1 / src/shogun/ (10 files): https://github.com/shogun-toolbox/shogun/commit/d60b0b1c364ef0eaacc07082c2c165f1701283a217:22
shogun-notifier-shogun: fix some formulas17:22
shogun-notifier-shogun: Fernando Iglesias :develop * 901c758 / src/shogun/ (10 files): https://github.com/shogun-toolbox/shogun/commit/901c7581e8b44177648bb1284685526d2c0f1ac517:22
shogun-notifier-shogun: Merge pull request #1436 from votjakovr/feature/gp_refactoring17:22
shogun-notifier-shogun:17:22
shogun-notifier-shogun: Fix some formulas17:22
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has joined #shogun17:24
shogun-buildbotbuild #1431 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1431  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>17:29
shogun-buildbotbuild #925 of rpm1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/925  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>17:29
shogun-buildbotbuild #1462 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1462  blamelist: Fernando Iglesias <fernando.iglesiasg@gmail.com>17:33
shogun-buildbotbuild #1550 of deb3 - modular_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/1550  blamelist: Roman Votyakov <votjakovr@gmail.com>18:13
shogun-buildbotbuild #1432 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1432  blamelist: Roman Votyakov <votjakovr@gmail.com>18:13
shogun-buildbotbuild #926 of rpm1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/926  blamelist: Roman Votyakov <votjakovr@gmail.com>18:13
shogun-buildbotbuild #1463 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1463  blamelist: Roman Votyakov <votjakovr@gmail.com>18:16
@iglesiasgpickle27, hey!18:42
@iglesiasgpickle27, travis failed again in the same line https://travis-ci.org/shogun-toolbox/shogun/jobs/10336090#L704618:42
@iglesiasgsame test, sorry18:43
-!- gsomix__ [~gsomix@88.200.247.36] has joined #shogun18:44
-!- gsomix_ [~gsomix@109.169.248.101] has quit [Ping timeout: 248 seconds]18:47
@sonney2kgsomix__, ping?18:49
@iglesiasgsonney2k, hi! how are you doing?18:50
@iglesiasgsonney2k, do you think we could update a few things in the buildbot to solve the crashes ^?18:50
@iglesiasgone of them seems to be caused by cmake's version18:50
gsomix__sonney2k, pong.18:51
@sonney2kiglesiasg, I am not root on rpm118:55
@iglesiasgoh I see18:57
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has quit [Quit: Ex-Chat]19:24
shogun-notifier-shogun: lambday :develop * 91e1a00 / / (3 files): https://github.com/shogun-toolbox/shogun/commit/91e1a00db4db6d989c8c8cbed5321feff9e6cfb919:59
shogun-notifier-shogun: Rational approximation CG-M job unit-test modified (log-det)19:59
shogun-notifier-shogun: lambday :develop * 7ea907b / / (4 files): https://github.com/shogun-toolbox/shogun/commit/7ea907b75359f55f43eaa0afd0e33b228064167119:59
shogun-notifier-shogun: Log Rational approximation CG-M operator function added19:59
shogun-notifier-shogun: Heiko Strathmann :develop * 1fb1a95 / / (7 files): https://github.com/shogun-toolbox/shogun/commit/1fb1a956e0803417dd53cc4e11d31829f31155a719:59
shogun-notifier-shogun: Merge pull request #1437 from lambday/feature/log_determinant19:59
shogun-notifier-shogun:19:59
shogun-notifier-shogun: Log Rational approximation CG-M operator function added19:59
shogun-buildbotbuild #1433 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1433  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>20:05
shogun-buildbotbuild #927 of rpm1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/927  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>20:05
shogun-buildbotbuild #1464 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1464  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, lambday <heavensdevil6909@gmail.com>20:08
shogun-notifier-shogun: Soeren Sonnenburg :develop * f3d7110 / src/shogun/distributions/classical/ (2 files): https://github.com/shogun-toolbox/shogun/commit/f3d7110f848c848e7c47baf57aeed4a85722d22220:25
shogun-notifier-shogun: fix warning20:25
shogun-buildbotbuild #1551 of deb3 - modular_interfaces is complete: Success [build successful]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/155120:40
shogun-buildbotbuild #928 of rpm1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/928  blamelist: Soeren Sonnenburg <sonne@debian.org>20:44
shogun-buildbotbuild #1434 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1434  blamelist: Soeren Sonnenburg <sonne@debian.org>20:44
shogun-buildbotbuild #1435 of deb2 - static_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb2%20-%20static_interfaces/builds/1435  blamelist: lambday <heavensdevil6909@gmail.com>20:45
shogun-buildbotbuild #929 of rpm1 - libshogun is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/rpm1%20-%20libshogun/builds/929  blamelist: lambday <heavensdevil6909@gmail.com>20:45
shogun-buildbotbuild #1553 of deb3 - modular_interfaces is complete: Failure [failed configure]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/deb3%20-%20modular_interfaces/builds/1553  blamelist: lambday <heavensdevil6909@gmail.com>20:46
shogun-buildbotbuild #1465 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1465  blamelist: Soeren Sonnenburg <sonne@debian.org>20:48
shogun-buildbotbuild #1466 of bsd1 - libshogun is complete: Failure [failed test]  Build details are at http://www.shogun-toolbox.org/buildbot/builders/bsd1%20-%20libshogun/builds/1466  blamelist: lambday <heavensdevil6909@gmail.com>20:52
-!- lambday [67157e37@gateway/web/freenode/ip.103.21.126.55] has joined #shogun20:53
lambdayHeiko not here :(20:53
-!- gsomix__ is now known as gsomix20:55
-!- lambday [67157e37@gateway/web/freenode/ip.103.21.126.55] has quit [Client Quit]20:57
-!- pickle27 [~kevin@d67-193-243-174.home3.cgocable.net] has left #shogun []21:25
-!- iglesiasg [~iglesias@89-77-4-38.dynamic.chello.pl] has joined #shogun23:02
-!- mode/#shogun [+o iglesiasg] by ChanServ23:02
lisitsyniglesiasg: you must be in poland due to your hostname ;)23:06
@iglesiasglisitsyn, you got me :)23:07
lisitsyniglesiasg: how do you like it?23:07
@iglesiasglisitsyn, it is nice23:07
-!- shogun-notifier- [~irker@7nn.de] has quit [Quit: transmission timeout]23:25
--- Log closed Mon Aug 19 00:00:21 2013