IRC logs of #shogun for Tuesday, 2019-04-09

--- Log opened Tue Apr 09 00:00:28 2019
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun01:02
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]02:28
-!- peng__ [896e5c69@gateway/web/freenode/ip.137.110.92.105] has joined #shogun05:17
-!- peng__ [896e5c69@gateway/web/freenode/ip.137.110.92.105] has quit [Client Quit]05:18
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]05:42
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun05:43
-!- lambday [a7dcee98@gateway/web/freenode/ip.167.220.238.152] has quit [Quit: Page closed]06:37
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun08:46
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Remote host closed the connection]09:25
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun09:27
-!- wiking_ [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Ping timeout: 255 seconds]09:32
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has joined #shogun09:34
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]09:49
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has quit [Ping timeout: 256 seconds]10:20
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has joined #shogun10:30
-!- wiking_ [~wiking@2001:67c:10ec:5784:8000::1153] has joined #shogun11:29
-!- wiking_ is now known as wiking11:29
-!- wiking [~wiking@2001:67c:10ec:5784:8000::1153] has quit [Changing host]11:29
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun11:29
-!- mode/#shogun [+o wiking] by ChanServ11:30
@wikinggf712: morning11:30
@wiking:)11:30
gf712wiking: hey!11:31
gf712wiking: I managed to fix the issue I was having yesterday btw11:31
@wikingcool11:31
@wikingwhat was the verdict actually?11:31
gf712I was deleting the underlying member twice11:31
gf712once in the class11:31
gf712and then again with the python gc11:31
@wikingoh lol11:32
@wikingok not good :)11:32
gf712so now I just copy11:32
gf712and then it's all good11:32
gf712btw I have an API design q11:32
@wikinggo ahead11:32
@wiking:)11:32
@wikingbtw do you think it would be good to have yaml descriptor support in shogun for pipelines?11:33
gf712ok, do you think the splitting strategy should be machine/features/label independent11:33
@wikingah for CV?11:33
gf712and then that information is passed after instantiation11:33
gf712yup11:33
@wikingwell11:33
gf712btw yaml would be really cool11:33
@wikingyou wanna have stratified support11:33
@wikingso that somehow needs some label thing going on11:34
@wikingi mean we can just work with a stratify = std::set(values)11:34
gf712yes, I was thinking evaluation should be the only thing that knows that11:34
gf712evaluate, or whatever the method is11:34
@wikingbut then you need to make sure that input labels is from that set11:34
gf712it just feels more natural to me personally11:34
gf712hmmm11:35
gf712I am not sure I understand what you mean with "input labels is from that set"11:35
@wikingso say you wanna have a stratified splitting right?11:36
@wikingso that the distrib of each split is following the original dataset distrib of labels11:36
@wikingso either stratify: boolean11:36
@wikingand then you do the internal munging of the input labels11:36
@wikingor stratify: std::set11:37
@wikingand then you know that the input labels should be from that set11:37
gf712ah ok, yes yes I understand now11:37
gf712need to think how that should be done11:38
gf712might be getting too complicated11:38
gf712wiking: are you thinking about implementing pipelines next then?11:40
@wikingwe have pipelines11:40
@wikingbut now working on serialization11:40
gf712would be cool to have a simple way to build nested structures11:41
@wikingyeah yaml could do that11:41
gf712but right now you can't attach multiple machines right?11:41
@wikingto one pipeline? no11:41
gf712is the serialisation stuff in that monster PR?11:41
@wikingyes11:41
@wikingbut that doesn't yet support pipelines11:41
@wikingand needs a minor fix for SGSparseMatrix11:42
@wikingbut i was doing react stuff (still)11:42
@wikingso everything was in air11:42
@wikinggonna be still today :)))11:42
gf712ah how are the widgets going?11:42
@wikingthey are nice11:42
@wikingbut the webworkers are adding some extra shit to it11:42
@wiking:)11:42
@wiking(js is not multithreaded, so need to add workers)11:42
gf712so when it's done you can run shogun in the browser?11:44
@wikingyou can already do it :)11:44
@wikingits just that i wanna have a nice demo for it11:44
@wikingthat's why the holdup11:44
gf712ah ok11:44
gf712and it runs with web assembly?11:44
@wikingyes11:44
gf712ah very cool11:45
@wikingthe demo is using typescript + react + redux + wasm11:45
@wikingso all the funky shit11:45
gf712but is that in a feature branch?11:45
gf712haha11:45
@wikingi haven't pushed it yet11:45
@wikingi mean to build this monster11:45
gf712you could spin off a startup with those words11:45
@wikingyou need to have an external utility that i wrote11:45
@wikingthat needs polishing and adding some website and all11:45
@wikingheheh the coolest stuff wil lbe11:46
gf712sounds painful11:46
gf712lee?11:46
@wikingthat when you train your model in the browser11:46
gf712lbe*11:46
@wiking*will be11:46
@wikingand then click a button11:46
gf712ah haha11:46
@wiking(export to coreml)11:46
@wikingand you get the protobuf file11:46
gf712and then import in the iphone11:46
@wikingyes11:46
@wikingi'm working with flutter11:46
@wikingto write a small ios app11:46
@wikingto support that11:46
gf712ah nice11:47
gf712I was going to say if you have seen a coreml project11:47
@wikingyeah11:47
gf712I tried a couple of them out11:47
gf712it's pretty neat11:47
@wikingon your phone?11:47
@wikingor machine?11:47
gf712no, simulation on the machine11:47
@wikingi haven't worked with it on the phones yet11:47
@wikingbut used it on my mac11:47
gf712but I think you can just transfer the app directly to the iPhone no?11:47
@wikingthe model yes11:48
@wikingi mean the thing is11:48
@wikingthat the react app should work on your phone11:48
@wikingi mean there's react native as well11:48
@wikingi'm just not sure11:48
@wikingif i can get the handle to the coreml system11:48
@wikingon the phone11:48
@wikingfrom react native11:48
@wikingor the safari app :)0)11:48
gf712ah, but aren't you using the swift code for coreml for an app?11:48
@wikingbut that's worth a try11:48
@wikingflutter :) dart ftw11:49
@wikingbecause with flutter i get android as well11:49
gf712no one idea what that is!11:49
gf712ah11:49
@wikingbut actually11:49
@wikingdunnno if i can get native calls11:50
@wikingfrom safari on the phone11:50
@wikingprobably not11:50
@wiking:)(11:50
@wiking:<11:50
@wikingso i need some app11:50
@wikingthat can access the frameworks on the phone11:50
gf712man, that sounds way beyond my comprehension11:51
gf712I never got into app and user friendly app designs :p11:51
@wikingheheh11:52
@wikingit's 201911:52
@wikingyou know :011:52
@wiking:>11:52
gf712so you are trying to run it on safari instead of a standalone app?11:52
@wikingyeah i dont like ui/ux stuff as i suck in it11:52
@wikingbut it's ok11:52
@wikingnow with shit like material ui11:52
gf712yea, but I never had to do this :p11:52
@wikingyeah i mean i'll try with safari11:52
@wikingit works on the phoen the react app11:53
gf712the scientific community isn't quite there yet11:53
@wikingbuuut11:53
@wikingcoreml will not work imo11:53
gf712but would you use a coreml importer?11:53
gf712to shougn11:53
gf712shogun11:53
gf712and then run with that?11:53
gf712or use the coreml engine?11:53
@wikingi'd like to use coreml engine on ios11:54
@wikingi mean with a native app11:54
@wikingyou can do that for sure11:54
gf712yup, that i can do :D11:54
@wikingso yeah i mean it should be funky funky11:54
@wikingwhen its ready11:54
@wikingjust all these stuff like redux and material ui11:55
@wikingis getting on my nerve sometimes11:55
@wikingtypescript is amazing11:55
@wiking:)))11:55
gf712yea, maybe one day I'll have a better look at these things...11:55
gf712is anyone helping you over there?11:55
@wikingno :)11:55
@wikinggoogle11:55
@wikingi mean11:56
@wikingadding stuff like autocompletion for an input form11:56
@wikingis like a 10 liner11:56
@wikingso it's really fucking nice11:56
@wikingthe ideas is that you can add models11:56
@wikingand then you can tune them11:56
@wikingand see the result right away on your screen11:56
@wikingwhen you move the sliders etc11:56
@wikingon your screen11:57
@wikingi mean this only works nicely with a 2d input11:57
@wikinghence it's gonna be super simple11:57
@wiking:)11:57
@wikingbut then this could be extended into a version where your input dataset is a spreadsheet :)))11:57
@wikingand you just drag and drop your xls/csv11:57
gf712that would be very cool!11:57
@wikingyeah its simple11:57
gf712shogun will be everywhere :p11:57
@wikingreact has all the stuff for this11:57
@wikingand you can even connect this to google spreadsheet11:58
@wikingi mean adding a js extension to it11:58
@wikingis 0 work11:58
@wiking:)11:58
gf712but is that all natively supported?11:58
@wikingyes11:58
gf712ah ok11:58
@wikingsince it runs in your browser11:58
@wiking:)11:58
@wikingand that's a nice thing as well11:59
@wikingyou just need a browser11:59
@wikingif you dont wanna use a browser11:59
@wikingjust use nodejs11:59
@wikingi mean what's the size of a nodejs runtime11:59
@wiking29M12:00
@wiking:)12:00
gf71229 million loc?12:00
@wikingnono12:01
@wikingsize of the runtime12:01
gf712ah right12:01
gf712haha12:01
@wikingand i. mean12:01
@wikingyou cannot compare the performance of js vs python for example12:01
@wikingi guess you've seen this b412:02
@wikinghttps://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/node-python3.html12:02
gf712in the case of shogun the most expensive calls are in the cpp code no?12:02
gf712but is this with proper python code?12:03
@wikingyeah these are native python code implementations12:03
@wiking(in the benchmark)12:03
gf712ah ok12:03
@wikingyeah i mean in case of shogun you dont have these crazy numbers12:03
@wikingas we just wrap a c++ code12:03
gf712impressive!12:03
@wikingbut i mean that's what all python hax0rs do12:03
@wikingwhen they need performance12:03
@wikingeither start cythonizing12:04
@wikingor wrap a c/c++ lib12:04
gf712cpp for the win :p12:04
@wikingyeah have u seen HN12:04
gf712HN?12:04
@wikingor no12:04
@wikingit's ./12:04
@wikinghttps://developers.slashdot.org/story/19/04/08/2045239/most-popular-programming-languages-c-knocks-python-out-of-top-three-in-new-study12:04
@wikingbasically https://www.techrepublic.com/article/most-popular-programming-languages-c-knocks-python-out-of-top-three/12:04
gf712ah I hadn't seen this!12:05
@wikingyep12:05
@wikinginteresting stuff :)12:05
gf712I mean cpp is so easy to write now12:05
@wikingyeah with c++14/1712:05
gf712or at least working cpp12:05
@wikingit's so much less code12:05
gf712the most difficult part is the linking12:05
@wikingheheh and having dependencies12:06
@wiking:)12:06
gf712yea12:06
gf712need a better cmake12:06
@wikingbut maybe one day we'll have import12:06
@wiking:)))12:06
gf712and package management12:06
@wikinghttp://www.informit.com/articles/article.aspx?p=2923213&seqNum=312:06
gf712yea, once they figure out how that is meant to work12:06
gf712its all theory for import and export12:06
gf712I worry it will add a lot of overhead12:06
@wikingyou dont have to use the feature12:07
@wiking;P12:07
@wikingok time to do the react shitzo12:07
gf712yea, but imagine you export a typedef12:07
@wikinghehehe12:07
gf712that has dependencies12:07
@wikingthat is gonna b crazy12:07
gf712everything has to be exported12:07
gf712and the linker has to magically find these...12:07
@wikingwell that's why u dont do those things i gues12:08
@wikings12:08
@wiking:)))12:08
gf712good in theory, but in practice the linker will have a hard time12:08
gf712compile time through the roof12:08
@wikingLTO12:08
@wikinghttps://llvm.org/docs/LinkTimeOptimization.html12:08
@wikingcrazy shit12:08
@wikingi think it's only g who uses this atm12:08
@wikingok12:09
@wikinglaterz12:09
gf712aight12:09
gf712ttyl12:09
@wikingneed to see this react shit working12:09
@wikingttyl12:09
-!- liya [507208e5@gateway/web/freenode/ip.80.114.8.229] has joined #shogun13:47
-!- liya [507208e5@gateway/web/freenode/ip.80.114.8.229] has quit [Client Quit]13:48
-!- Zpadger [de144e6a@gateway/web/freenode/ip.222.20.78.106] has joined #shogun14:23
-!- Zpadger [de144e6a@gateway/web/freenode/ip.222.20.78.106] has quit [Client Quit]14:23
@wikinggf712: here?14:58
@wikinggf712: just looking at this dispatching story in SGObject...14:59
@wikingimo it would make more sense to do a visitor14:59
@wikingas we already have any.visit14:59
@wikingbasically using this interface https://github.com/shogun-toolbox/shogun/pull/4573/files#diff-1689b0bd3ceb28355cc3c05ed7ffe4f0R86515:05
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun15:05
-!- TheMoatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun15:25
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]15:25
gf712wiking: yup looks fine to me15:46
@wikingas i really dont like that ife else story15:46
@wikingit looks pretty ugly15:46
@wiking:D15:46
gf712wiking: if else story?15:47
@wikinglemme show u15:47
@wikinghttps://github.com/shogun-toolbox/shogun/blob/develop/src/shogun/base/SGObject.h#L110015:47
@wikingand here you have to put all the base interfaces15:47
@wikinginstead you provide the visitor for the type you are interested15:48
gf712ah ok, I see15:51
gf712give me a minute to process a b it more :p15:52
@wikingk15:53
gf712so need to create a new visitor class for the dispatching then>15:53
gf712?15:53
gf712like there is one for the stringifying?15:53
@wikingyeah15:54
@wikingbasically it's like that15:54
@wikingi mean this is why we have the any visitor :)15:54
@wikingit dispatches things :)15:54
@wikingusing function overrides15:55
@wikinggf712: btw you are now daylight saving as well?15:56
gf712yes15:57
gf7122:55 here15:57
@wikingkk i guess its only US who's behind or so15:57
@wikingmaybe they've already changed as well15:57
gf712im not sure how it works there15:57
@wiking1 week diff15:57
@wikingusually15:57
@wikingor 215:57
@wikingsomething like that15:57
gf712I think Canada is later15:57
@wikingyeye same usa15:57
@wikinganyhow15:57
@wikingjust wanna figure out when's the dev meeting15:57
@wiking:))15:57
gf712aah true15:57
gf712I guess now!15:57
@wikingis it in 2 minutes or 1 hour and 2 minutes15:58
@wikingi think i put UTC15:58
@wikingwhich doesn't have DST15:58
gf712 my calendar says now15:58
@wikingbut i think Heiko put CEST15:58
@wiking:D15:58
@wikingor CET15:58
@wikingwhich is a bit shitty15:58
@wikingif you are not europe15:58
@wiking:)15:58
@wikingsee DST et al15:58
gf712I have 3-4pm gmt15:58
@wikingeven wrose15:58
@wiking*worse if its gmt based15:58
@wiking:D15:58
@wikinganyhow i'll come around in 2 minutes15:59
@wikingand then in 1 hour as well15:59
@wiking:DDD15:59
gf712haha15:59
@wikingsee who shows up15:59
@wiking:>>>>15:59
gf712Heiko is not around15:59
-!- TheMoatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Remote host closed the connection]15:59
@wikingyeah i guess climbing :)15:59
gf712he said he was out of data15:59
@wikingwould like to talk with Toni as well15:59
gf712well he just pushed stuff so I am guessing he is around16:00
@wikingyep but not here nor whatsapp16:00
@wiking:D16:00
@wikingso lalala16:00
@wikingok getting to zoom16:01
@wiking1 participant16:01
@wiking:D16:01
gf712ah is it zoom again16:01
gf712?16:01
@wikingmyself16:01
gf712lol16:01
@wikingi mean i dont know any other location16:01
@wikingheiko creates hangouts16:02
gf712yea16:02
gf712but no one is here to share them16:02
@wikinghttps://zoom.us/j/95837432616:02
@wikinglala16:02
gf712let me find a meeting room16:02
@wikingsame here16:03
-!- gf712 [c13cdcfd@gateway/web/freenode/ip.193.60.220.253] has quit [Ping timeout: 256 seconds]16:09
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]16:47
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:09
-!- mode/#shogun [+o wiking] by ChanServ17:09
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]17:37
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:44
-!- mode/#shogun [+o wiking] by ChanServ17:44
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]17:53
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun17:55
-!- mode/#shogun [+o wiking] by ChanServ17:55
-!- Hugo_ [731bc911@gateway/web/freenode/ip.115.27.201.17] has joined #shogun18:00
Hugo_Hi18:00
Hugo_I want to join GSoC, but it's too late for me to commit a pull request.18:07
Hugo_I'm busy this month but I look forward to contribute my code during and after GSoC.18:07
Hugo_I've mailed to the subscribe list18:08
Hugo_I've uploaded my proposal at GSoC's website, which includes my self-introduction and CV. Hope to hear from you soon :)18:31
-!- Hugo_ [731bc911@gateway/web/freenode/ip.115.27.201.17] has quit [Ping timeout: 256 seconds]18:35
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]19:12
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun19:17
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]19:17
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun19:17
-!- mode/#shogun [+o wiking] by ChanServ19:17
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun20:06
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]20:09
-!- TheMoatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun20:09
-!- TheMoatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Read error: Connection reset by peer]20:38
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun20:40
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Remote host closed the connection]20:58
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]22:37
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun22:41
-!- mode/#shogun [+o wiking] by ChanServ22:42
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]23:14
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has joined #shogun23:16
-!- wiking [~wiking@c-185-45-237-122.customer.ggaweb.ch] has quit [Changing host]23:16
-!- wiking [~wiking@huwico/staff/wiking] has joined #shogun23:16
-!- mode/#shogun [+o wiking] by ChanServ23:17
-!- wiking [~wiking@huwico/staff/wiking] has quit [Remote host closed the connection]23:34
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has joined #shogun23:35
-!- Moatman [~Moatman@pool-96-255-151-151.washdc.fios.verizon.net] has quit [Remote host closed the connection]23:53
--- Log closed Wed Apr 10 00:00:29 2019

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