--- Log opened Sat Jan 20 00:00:27 2018 | ||
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 264 seconds] | 00:16 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 00:31 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 00:31 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 256 seconds] | 01:01 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 01:19 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 01:19 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4089 | 01:23 |
---|---|---|
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4089 karlnapf added label: "good first issue" | 01:23 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4089 karlnapf added label: "BUG" | 01:23 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4089 karlnapf removed label: "good first issue" | 01:24 |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 248 seconds] | 01:31 | |
-shogun-buildbot:#shogun- Build nightly trusty deb #94 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/26/builds/94 | 03:01 | |
-shogun-buildbot:#shogun- Build clang - undefined behaviour analysis #75 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/18/builds/75 | 03:27 | |
-!- witness [uid10044@gateway/web/irccloud.com/x-gmirmsbchqyhcwfw] has joined #shogun | 05:23 | |
-!- saurabh7 [~saurabh@106.51.19.168] has joined #shogun | 05:35 | |
-shogun-buildbot:#shogun- Build doxygen - nightly #75 is complete: Success [build successful] - http://buildbot.shogun-toolbox.org:8080/#builders/12/builds/75 | 07:06 | |
-!- rrahul [~rahul@49.206.127.43] has joined #shogun | 07:46 | |
-!- saurabh7 [~saurabh@106.51.19.168] has quit [Ping timeout: 264 seconds] | 08:17 | |
-!- saurabh7 [~saurabh@106.51.19.168] has joined #shogun | 08:20 | |
-!- rrahul [~rahul@49.206.127.43] has quit [Ping timeout: 268 seconds] | 11:16 | |
-!- rrahul [~rahul@49.206.127.43] has joined #shogun | 11:23 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 11:57 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 11:57 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 248 seconds] | 12:09 | |
-!- saurabh7 [~saurabh@106.51.19.168] has quit [Quit: Ex-Chat] | 12:33 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4092 opened by shubham808 | 14:16 |
-!- rrahul [~rahul@49.206.127.43] has left #shogun [] | 15:11 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4087 synchronized by vinx13 | 16:12 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4092 synchronized by shubham808 | 16:13 |
-!- witness [uid10044@gateway/web/irccloud.com/x-gmirmsbchqyhcwfw] has quit [Quit: Connection closed for inactivity] | 16:22 | |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has joined #shogun | 17:50 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 17:50 | |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4087 merged by karlnapf | 17:55 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/c5f2733dd73b1aa82e96dedbcb9e90223ebeb6d9 by karlnapf | 17:55 |
@HeikoS | lisitsyn: you around? | 18:25 |
lisitsyn | HeikoS: partially :) | 18:26 |
@HeikoS | lisitsyn: I would like to discuss the API stuff for a few mins | 18:26 |
@HeikoS | since I am writing up the GSoC project | 18:26 |
lisitsyn | ok | 18:26 |
@HeikoS | so all this API that we cam up with | 18:26 |
@HeikoS | https://github.com/shogun-toolbox/shogun/wiki/Hackathon-2017-base-api | 18:26 |
@HeikoS | where does that live? | 18:26 |
@HeikoS | I had in mind to write a new set of classes for that | 18:27 |
@HeikoS | but now I am wondering whether that is the best idea | 18:27 |
lisitsyn | I don't get | 18:27 |
lisitsyn | what do you mean? | 18:27 |
@HeikoS | when we say we want to re-design the API | 18:27 |
@HeikoS | what does that actually mean technically? | 18:27 |
@HeikoS | I mean I have some picture in mind how it should look from interfaces | 18:28 |
lisitsyn | well one task is to rename it to fit/transform, then the other task is .. | 18:28 |
@HeikoS | but how to we get from CMachine.h to that simple thing we discussed that just has fit/predict | 18:28 |
lisitsyn | like redesign labels | 18:28 |
lisitsyn | I think we gradually change CMachine to work this way | 18:28 |
lisitsyn | no? | 18:28 |
@HeikoS | okok | 18:28 |
@HeikoS | and then merge the preprocessor and transformer | 18:29 |
@HeikoS | but we work with the existing classes | 18:29 |
lisitsyn | yes | 18:29 |
lisitsyn | I think so | 18:29 |
@HeikoS | cool | 18:29 |
@HeikoS | and then are the common base classes? | 18:29 |
@HeikoS | like for "fit" | 18:29 |
@HeikoS | ? | 18:29 |
@HeikoS | I guess yes | 18:29 |
lisitsyn | yes | 18:29 |
lisitsyn | well it is just renaming | 18:30 |
@HeikoS | ok | 18:30 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4093 opened by vigsterkr | 18:30 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4093 vigsterkr added label: "SWIG" | 18:30 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4093 vigsterkr added label: "BUG" | 18:30 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4093 | 18:30 |
lisitsyn | now we call it train :) | 18:30 |
@HeikoS | and what about stuff like "apply_locked" | 18:30 |
@HeikoS | we hide that from SWIG? | 18:30 |
lisitsyn | I hope so | 18:30 |
lisitsyn | I mean apply_locked is some kind of workaround iirc | 18:31 |
@HeikoS | yes | 18:32 |
@HeikoS | okok | 18:32 |
@HeikoS | so this is renaming, re-designing/re-factoring, and cleaning | 18:32 |
@HeikoS | and we start from some cute user stories | 18:32 |
Trixis | lol | 18:32 |
lisitsyn | user stories is like what we had discussed? | 18:33 |
lisitsyn | like how the code looks like | 18:33 |
lisitsyn | then probably yes | 18:33 |
Trixis | ok so if i have stringcharfeatures, what exactly does get_feature_vector return, in python | 18:33 |
lisitsyn | we can describe something in code and then make it possible | 18:33 |
lisitsyn | Trixis: what do you get? | 18:34 |
Trixis | well, id like to get it as a python string | 18:34 |
Trixis | the feature vector at the corresponding index | 18:34 |
lisitsyn | but you get ['s', 'o', 'm', 'e', 't', 'h', 'i', 'n', 'g']? | 18:35 |
Trixis | (i have a director kernel which essentially performs a look up for the precomputed result) | 18:35 |
Trixis | i assume that's what im getting | 18:35 |
Trixis | hmm | 18:35 |
Trixis | ['' '' '' '' '' '' '' '' '' ''] even better | 18:38 |
lisitsyn | :) | 18:39 |
Trixis | features = StringCharFeatures(id_data, ALPHANUM) is how i create the features | 18:39 |
Trixis | where id_data is a python list of strings | 18:40 |
Trixis | not really sure why it's printing that | 18:50 |
@HeikoS | Trixis: hey | 18:52 |
Trixis | HeikoS: hi | 18:52 |
@HeikoS | sorry I wasnt following ealier, whats the prob? | 18:52 |
Trixis | i'm trying to work with StringFeatures, and i'd like to get the ft. returned by get_feature_vector() as a python string | 18:53 |
Trixis | however instead what gets returned is ['' '' '' '' '' '' '' '' '' ''] which doesnt look even remotely write (or thats what it prints as) | 18:54 |
@HeikoS | I see | 18:54 |
@HeikoS | there must be some example somewhere ... | 18:54 |
@HeikoS | let me dig | 18:54 |
Trixis | thx | 18:56 |
@HeikoS | there is a problem | 19:05 |
@HeikoS | Trixis: at least with Python 3 | 19:05 |
Trixis | oh | 19:05 |
Trixis | any workarounds? | 19:05 |
@HeikoS | .get_features() gives me a python list of strings | 19:06 |
@HeikoS | (all of them) | 19:06 |
Trixis | right | 19:06 |
Trixis | yep | 19:07 |
Trixis | that works | 19:07 |
Trixis | thx | 19:07 |
@HeikoS | nw | 19:08 |
@HeikoS | Ill put up an issue | 19:08 |
@HeikoS | what problem do you get if you ask for a vector? | 19:08 |
@HeikoS | I get this: https://gist.github.com/karlnapf/b9122a880c9954cf795f20471b12363c | 19:08 |
@HeikoS | on cloud.shogun.ml which runs on python3 | 19:08 |
Trixis | i dont even get an error | 19:09 |
Trixis | just something malformed | 19:09 |
Trixis | the nb would print ['' '' '' '' '' '' '' '' '' ''] | 19:10 |
Trixis | welp and shogun just crashed after i reran a few things, and in a bad way... guess ill have to restart interpreter | 19:10 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4094 karlnapf added label: "good first issue" | 19:12 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4094 karlnapf added label: "BUG" | 19:12 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4094 opened by karlnapf | 19:12 |
@HeikoS | Trixis: could you run a script that does this with valgrind and see whether it complains? | 19:12 |
@HeikoS | see above for the bug report | 19:12 |
Trixis | nah the crash is related to director errors | 19:13 |
Trixis | the notebook doesnt like if a director paragraph gets rerun | 19:13 |
Trixis | so yeah, ill see if alls working once the whole thing reruns, which means recomputing all kernels. probably in two hrs | 19:16 |
@HeikoS | can't you store intermediate results? | 19:21 |
@HeikoS | lisitsyn: another question | 19:22 |
@HeikoS | "help on parameters" ... what is that? | 19:22 |
Trixis | HeikoS: i should yeah... | 19:22 |
lisitsyn | HeikoS: well we have some descriptions for parameters | 19:34 |
@HeikoS | lisitsyn: where would those live? | 19:34 |
@HeikoS | doxygen? | 19:34 |
lisitsyn | but I think it would be nice to have a way to read them | 19:34 |
@HeikoS | or runtime? | 19:34 |
lisitsyn | probably runtime | 19:34 |
@HeikoS | @brief? | 19:34 |
@HeikoS | lisitsyn: do tags have a "description" field? | 19:34 |
lisitsyn | not yet but they should | 19:35 |
@HeikoS | ah, we should somehow integrate that with doxygen | 19:35 |
@HeikoS | otherwise we have two | 19:35 |
@HeikoS | runtime and doxygen | 19:35 |
@HeikoS | which would suck | 19:35 |
lisitsyn | yeah probably (if possible) | 19:35 |
lisitsyn | yes | 19:35 |
@HeikoS | we already have @brief and cookbook which overlaps too much | 19:35 |
lisitsyn | so that's another task | 19:35 |
lisitsyn | integrate this runtime thingy with doxygen | 19:35 |
lisitsyn | well it is some .py script that enriches stuff with parameter descriptions | 19:35 |
lisitsyn | doable | 19:35 |
@HeikoS | kk | 19:36 |
@HeikoS | lisitsyn: the python script modifies the c++ code? | 19:37 |
@HeikoS | mmmmmmh | 19:37 |
lisitsyn | HeikoS: no, reads it | 19:37 |
@HeikoS | and then? | 19:37 |
lisitsyn | puts into doxygen for interfaces | 19:37 |
@HeikoS | it needs to be in the .so no? | 19:37 |
@HeikoS | ah | 19:37 |
@HeikoS | you mean doxygen is generated from tags | 19:37 |
lisitsyn | yes | 19:37 |
@HeikoS | kk | 19:37 |
lisitsyn | that should be good enough | 19:37 |
@HeikoS | lisitsyn: soo | 19:38 |
@HeikoS | shall we move all docs to the tags? | 19:38 |
@HeikoS | @brief as well? | 19:38 |
@HeikoS | ah | 19:38 |
@HeikoS | actually | 19:38 |
@HeikoS | in python you can do already | 19:38 |
@HeikoS | help(CSVM) | 19:39 |
@HeikoS | I think | 19:39 |
lisitsyn | yes | 19:39 |
lisitsyn | HeikoS: we already had some scrub_docstrings thingy | 19:40 |
@sukey | [https://github.com/shogun-toolbox/shogun] Wiki page: GSoC_2018_project_usability edited by karlnapf | 19:40 |
@HeikoS | kk | 19:40 |
lisitsyn | no idea what it does | 19:40 |
@HeikoS | lisitsyn: could you read https://github.com/shogun-toolbox/shogun/wiki/GSoC_2018_project_usability | 19:40 |
@HeikoS | and edit | 19:40 |
@HeikoS | tell me what I should edit | 19:40 |
@HeikoS | scrape what you dont like | 19:40 |
@HeikoS | I think plugins should maybe not be part of it | 19:41 |
@HeikoS | aready enough | 19:41 |
lisitsyn | no, we don't need plugins yet | 19:41 |
lisitsyn | plugins would be trivial once we have all the required changes in | 19:41 |
lisitsyn | HeikoS: let me glance over it tomorrow | 19:42 |
lisitsyn | first look looks good but needs thorough reading :) | 19:43 |
@HeikoS | ill take care of that | 19:43 |
@HeikoS | just tell me if all points make sense, if you want to remove or add | 19:43 |
lisitsyn | HeikoS: yeah it looks good, but let me think and let you know | 19:45 |
lisitsyn | :) | 19:45 |
lisitsyn | thinking fast and slow you know haha | 19:45 |
@HeikoS | okok :) | 19:45 |
@HeikoS | lisitsyn: and the array? | 19:45 |
@HeikoS | lisitsyn: that is worrying me | 19:45 |
@HeikoS | that our integration tests are inactive | 19:46 |
lisitsyn | HeikoS: I stopped at the point of implementing clone | 19:46 |
@HeikoS | lisitsyn: no need | 19:46 |
@HeikoS | I can do | 19:46 |
@HeikoS | and also clone is not yet merged | 19:46 |
@HeikoS | only needs equals | 19:46 |
@HeikoS | but in fact you can just put a stub | 19:46 |
@HeikoS | I can implement the thing, just wanted your structure in there | 19:46 |
lisitsyn | uh then I can do it faster | 19:47 |
lisitsyn | but clone is a bit funny there | 19:47 |
@HeikoS | let's start with equals | 19:47 |
@HeikoS | we have a working clone | 19:47 |
@HeikoS | but equals is broken | 19:47 |
lisitsyn | HeikoS: ok so let me find add_vector | 19:47 |
lisitsyn | and also register array using the new functions | 19:48 |
@HeikoS | StringFeatures | 19:48 |
@HeikoS | or DynamicObjectArray | 19:48 |
lisitsyn | HeikoS: what test should I run? | 19:48 |
@HeikoS | there is no test that fails | 19:48 |
@HeikoS | need to write one | 19:48 |
lisitsyn | fsck | 19:48 |
@HeikoS | where you make two objects with different arrays and then expect_false on the equals | 19:48 |
@HeikoS | actually | 19:48 |
@HeikoS | wait a sec | 19:48 |
@HeikoS | TEST(SGObject, DISABLED_equals_DynamicObjectArray_different) | 19:49 |
@HeikoS | if you register the array in there this guy will fail | 19:49 |
lisitsyn | ok sounds good | 19:50 |
@sukey | [https://github.com/shogun-toolbox/shogun] Issue https://github.com/shogun-toolbox/shogun/issues/4071 closed by karlnapf | 19:54 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4075 merged by karlnapf | 19:54 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/de366755a53b4852f82c134896b10cbc99dd0cf4 by karlnapf | 19:54 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4095 opened by lisitsyn | 20:37 |
lisitsyn | HeikoS: we should replace SG_REF and SG_UNREF with functions | 21:12 |
lisitsyn | just declare ref()/unref() somewhere | 21:12 |
shogitter | (geektoni) lisitsyn: Some? ;) | 21:13 |
lisitsyn | oh geektoni from somewhere :) | 21:13 |
lisitsyn | I mean we have to unroll this macro a lot of times | 21:13 |
lisitsyn | while we can just use a global function | 21:13 |
shogitter | (geektoni) yeah, I'm always here, though. | 21:14 |
shogitter | (geektoni) watching | 21:14 |
shogitter | (geektoni) but yes, I get your idea | 21:15 |
shogitter | (geektoni) lisitsyn: does it improve compile time (or readability in general)? Or it is just to get rid of the macros? | 21:16 |
lisitsyn | I think it might improve compile time as well | 21:16 |
lisitsyn | just a bit tho | 21:16 |
lisitsyn | oh it is so funny how that gitter works | 21:17 |
lisitsyn | does anybody know if we can also bridge slack in there? | 21:17 |
shogitter | (geektoni) lisitsyn: no idea | 21:18 |
@wiking | yes | 21:40 |
@wiking | we can | 21:40 |
@sukey | [https://github.com/shogun-toolbox/shogun] Pull Request https://github.com/shogun-toolbox/shogun/pull/4095 merged by lisitsyn | 21:47 |
@sukey | [https://github.com/shogun-toolbox/shogun] New commit https://github.com/shogun-toolbox/shogun/commit/a66e13f0e10cd2e4645142c0ae87d93c992f211c by lisitsyn | 21:47 |
-!- HeikoS [~heiko@host86-129-231-92.range86-129.btcentralplus.com] has quit [Ping timeout: 248 seconds] | 23:29 | |
--- Log closed Sun Jan 21 00:00:28 2018 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!