--- Log opened Fri May 19 00:00:36 2017 | ||
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun | 00:07 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 00:07 | |
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 260 seconds] | 00:26 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 01:18 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 01:22 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 01:26 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 01:49 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 01:54 | |
-!- shixudongleo [~shixudong@182.55.169.157] has joined #shogun | 02:03 | |
-!- shixudongleo_ [b637a99d@gateway/web/freenode/ip.182.55.169.157] has joined #shogun | 02:04 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 02:05 | |
-!- shixudongleo_ [b637a99d@gateway/web/freenode/ip.182.55.169.157] has quit [Client Quit] | 02:06 | |
-!- shixudongleo [~shixudong@182.55.169.157] has quit [Client Quit] | 02:06 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 246 seconds] | 02:11 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 02:27 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 02:32 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 03:24 | |
-!- witness_ [uid10044@gateway/web/irccloud.com/x-ccbnqfoogsqqngpu] has quit [Quit: Connection closed for inactivity] | 03:45 | |
-!- mikeling [uid89706@gateway/web/irccloud.com/x-xajsjdghpjfsjwiw] has joined #shogun | 03:49 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 04:07 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 04:16 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 04:27 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 04:33 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 04:51 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 04:51 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 05:07 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 05:34 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 05:39 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 05:58 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 06:03 | |
-!- iglesiasg [~iglesiasg@217.119.234.214] has joined #shogun | 07:09 | |
-!- mode/#shogun [+o iglesiasg] by ChanServ | 07:09 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 08:00 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 255 seconds] | 08:04 | |
-!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has joined #shogun | 09:07 | |
geektoni | ping lisitsyn | 09:54 |
---|---|---|
lisitsyn | geektoni: hey | 09:55 |
geektoni | Do you have some time? :) I have some question regarding Tags. | 09:55 |
lisitsyn | yes | 09:56 |
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun | 09:56 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 09:56 | |
geektoni | ok, thanks :) first of all, https://github.com/shogun-toolbox/shogun/projects/6 | 09:56 |
geektoni | is this a list related to my project? | 09:57 |
geektoni | or is just for you devs. Because I see things that I should also do while porting shogun to Tags. | 09:57 |
lisitsyn | geektoni: for sure you're welcome to do anything from this project :) | 09:58 |
geektoni | ;) because for example, as is written there, equals and close will stop working, since we will drop the Parameter class. | 10:00 |
lisitsyn | geektoni: yeah but before dropping we have to come up with working non-owning any | 10:00 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 10:00 | |
lisitsyn | which can take a pointer and treat it as any | 10:00 |
geektoni | so the final result will be have tags and also have parameters defined into the same class? | 10:02 |
lisitsyn | no it is just tags | 10:02 |
lisitsyn | in the end we drop TParameter thing | 10:02 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 255 seconds] | 10:05 | |
geektoni | mmh, I got a bit lost at the "any" part. I know it is used inside tags, but what do you mean by non-owning? | 10:09 |
lisitsyn | geektoni: in SG_ADD we wrap the pointer to member variable | 10:09 |
lisitsyn | and we also have map<Tag, any> which stores all the parameters | 10:10 |
lisitsyn | we want to make it able to use the same SG_ADD but to put it into this map | 10:10 |
lisitsyn | but this means any should just take the pointer and do no memory management | 10:10 |
lisitsyn | by default it 'owns' the memory | 10:10 |
lisitsyn | so there is an idea to introduce different policies (you may check the any's code) | 10:11 |
lisitsyn | but it is broken still | 10:11 |
lisitsyn | meh :) | 10:11 |
lisitsyn | int value = 3; | 10:11 |
lisitsyn | auto any_value = wrap(&value); | 10:12 |
lisitsyn | value = 4; | 10:12 |
lisitsyn | assert any_value.get() == 4; | 10:12 |
lisitsyn | this works | 10:12 |
lisitsyn | but | 10:12 |
lisitsyn | any_value = any(8); | 10:12 |
lisitsyn | kaboom | 10:12 |
geektoni | mmh, I understand. | 10:16 |
geektoni | but I thought that register_member() was enough to register a parameter inside the map. | 10:17 |
lisitsyn | using TParameter | 10:17 |
lisitsyn | but not the modern approach TM | 10:17 |
geektoni | ok! Got it! :) | 10:23 |
geektoni | btw, I'm a little puzzled by the behavior of Some<> (probably because I'm not a C++ master). | 10:28 |
geektoni | https://gist.github.com/geektoni/e78b204bb5a8fd1f17c933ab9c0912e8 | 10:28 |
geektoni | line 27,28 | 10:28 |
geektoni | Why does this example compile? | 10:29 |
geektoni | ^ lisitsyn | 10:29 |
lisitsyn | geektoni: there is operator* that is called | 10:30 |
lisitsyn | I'd suggest adding a print to check if it is called | 10:31 |
lisitsyn | and then dynamic cast is happening | 10:31 |
geektoni | oh I see. Thanks :D it's clearer now! | 10:34 |
-!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has left #shogun [] | 10:53 | |
-!- geektoni[m] [geektonima@gateway/shell/matrix.org/x-gxehukuknhjeqeng] has joined #shogun | 10:54 | |
-!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has joined #shogun | 10:56 | |
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 272 seconds] | 10:59 | |
mikeling | lisitsyn ping | 11:23 |
lisitsyn | mikeling: sup | 11:23 |
mikeling | lisitsyn: hey, I write some code in Linalg like this https://pastebin.mozilla.org/9022153, but it keeps telling me ‘matrix_prod’ was not declared in this scope, | 11:24 |
mikeling | https://pastebin.mozilla.org/9022154 | 11:24 |
lisitsyn | what's matrix_prod? | 11:25 |
mikeling | http://shogun.ml/api/latest/namespaceshogun_1_1linalg.html#a7debb2540ef822fd0cd9ac74bf0ea798 here | 11:25 |
lisitsyn | ah | 11:25 |
lisitsyn | I guess you miss some include then | 11:25 |
mikeling | but I write it in the LinalgNamespace.h | 11:26 |
mikeling | so I don't think I need to include linalg:: or other file due to the I define it just in the same place with 'matrix_prod' | 11:27 |
lisitsyn | mikeling: check args and namespaces | 11:30 |
lisitsyn | just in case | 11:30 |
mikeling | lisitsyn: here is the gist https://gist.github.com/MikeLing/23158041b7fffdcbe749ff531db317cd#file-patch-cc-L130 I just created | 11:33 |
mikeling | a is a SGMatrix, x is a SGVector. I can't found anything from the args | 11:35 |
lisitsyn | uhm | 11:36 |
lisitsyn | can't see either | 11:39 |
mikeling | Could you find find anything in the log https://pastebin.mozilla.org/9022154? | 11:41 |
mikeling | I have no idea about it | 11:41 |
-!- iglesiasg [~iglesiasg@217.119.234.214] has quit [Quit: leaving] | 11:43 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has joined #shogun | 12:03 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:03 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has quit [Ping timeout: 240 seconds] | 12:09 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has joined #shogun | 12:13 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:14 | |
-!- geektoni [~geektoni@93-34-234-212.ip52.fastwebnet.it] has left #shogun [] | 12:30 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has quit [Ping timeout: 255 seconds] | 12:33 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has joined #shogun | 12:47 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 12:48 | |
-!- HeikoS [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has quit [Quit: Leaving.] | 12:54 | |
-!- HeikoS1 [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has joined #shogun | 12:54 | |
@wiking | hello morning | 12:57 |
@wiking | :) | 12:57 |
@wiking | mikeling, still stuck? | 12:58 |
@wiking | have you tried shogun::linalg::matrix_matrix_prod | 12:59 |
@wiking | ? | 12:59 |
@wiking | hahah | 13:01 |
@wiking | this is very sad | 13:01 |
@wiking | http://scikit-learn.org/ml-benchmarks/ | 13:01 |
@wiking | :) | 13:01 |
@wiking | although: "Last Update: July-2011" | 13:02 |
mikeling | wiking: hey | 13:13 |
@wiking | ho | 13:13 |
mikeling | No I haven't | 13:13 |
@wiking | try that | 13:13 |
mikeling | But why matrix_matrix_prod? | 13:13 |
@wiking | oh no | 13:18 |
@wiking | that is just a typo | 13:18 |
@wiking | shogun::linalg::matrix_prod | 13:18 |
-!- HeikoS1 [~heiko@host81-152-92-223.range81-152.btcentralplus.com] has quit [Ping timeout: 255 seconds] | 13:29 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 14:01 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 260 seconds] | 14:06 | |
mikeling | wiking: sorry for the late reply( | 14:25 |
@wiking | no problem | 14:25 |
mikeling | still doesn't work https://pastebin.mozilla.org/9022161 | 14:26 |
mikeling | and I don;t think we need linalg:: | 14:26 |
@wiking | should | 14:27 |
mikeling | due to cblas_dgemv just in the linalg namespace | 14:27 |
mikeling | https://gist.github.com/MikeLing/23158041b7fffdcbe749ff531db317cd#file-patch-cc-L87 | 14:27 |
@wiking | if you check | 14:27 |
@wiking | the header starts like this | 14:27 |
@wiking | namespace shogun | 14:27 |
@wiking | { | 14:27 |
@wiking | namespace linalg | 14:27 |
@wiking | { | 14:27 |
@wiking | src/shogun/mathematics/linalg/LinalgNamespace.h | 14:27 |
@wiking | mikeling, but i wouldn't add to linalg | 14:29 |
@wiking | such a method as +void cblas_dger(T alpha, const SGVector<T> x, const SGVector<T> y, SGMatrix<T>& A) | 14:30 |
@wiking | az it's name is crazy | 14:30 |
@wiking | so i would just simply do an ifdef | 14:30 |
@wiking | in Gaussian.cpp:169 | 14:30 |
@wiking | for HAVE_LAPACK | 14:30 |
@wiking | and put there the implementation | 14:30 |
@wiking | if lapack is not available | 14:30 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 14:31 | |
mikeling | hmmm but we call cblas_dgemv multiple times | 14:32 |
mikeling | which means we need write same things again and again | 14:33 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 246 seconds] | 14:36 | |
mikeling | wiking: and why we don't need add shogun::linalg in here https://github.com/shogun-toolbox/shogun/blob/26ea21443c3bf2b3f618d563f592037de2bac834/src/shogun/mathematics/linalg/LinalgNamespace.h#L688 | 14:36 |
@wiking | mmm | 14:37 |
@wiking | you can call it a function | 14:37 |
@wiking | but please dont call it | 14:37 |
@wiking | cblas_dgemv | 14:37 |
@wiking | az that is almost like a random set of strings | 14:37 |
mikeling | alright | 14:39 |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun | 14:39 | |
-!- mode/#shogun [+o HeikoS] by ChanServ | 14:39 | |
mikeling | wiking: doesn't work :/ https://pastebin.mozilla.org/9022163 | 14:41 |
@wiking | mmm | 14:42 |
@wiking | mikeling, in my linalgnamespace | 14:42 |
@wiking | the first declaration of matrix_prod | 14:42 |
@wiking | is line 516 | 14:42 |
@wiking | is it the same for you? | 14:42 |
@wiking | because then dont wonder | 14:42 |
@wiking | that /home/mikeling/shogun/src/shogun/mathematics/linalg/LinalgNamespace.h:387:21: error: ‘matrix_prod’ is not a member of ‘shogun::linalg’ | 14:43 |
@wiking | auto temp_vector = shogun::linalg::matrix_prod(a, x, false); | 14:43 |
@wiking | because you try to call a function that has not been declared yet | 14:43 |
@wiking | see line 387 | 14:43 |
mikeling | ......damn. I feel myself like a 'shabi' | 14:45 |
mikeling | :( | 14:45 |
mikeling | wiking: thank you | 14:45 |
@wiking | :) | 14:45 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 16:32 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Ping timeout: 240 seconds] | 16:36 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 16:40 | |
@sukey | Pull Request #3818 "Update install instructions for homebrew" merged by vigsterkr - https://github.com/shogun-toolbox/shogun/pull/3818 | 19:16 |
@sukey | New Commit "Merge pull request #3818 from duhduhdan/update-homebrew-install-docs | 19:16 |
@sukey | Update install instructions for homebrew" to shogun-toolbox/shogun by vigsterkr: https://github.com/shogun-toolbox/shogun/commit/64310df152e249992cc598378688bce258dcec22 | 19:16 |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 20:05 | |
-!- mikeling [uid89706@gateway/web/irccloud.com/x-xajsjdghpjfsjwiw] has quit [Quit: Connection closed for inactivity] | 20:39 | |
-!- geektoni [~geektoni@93-34-128-38.ip49.fastwebnet.it] has joined #shogun | 21:58 | |
-!- geektoni [~geektoni@93-34-128-38.ip49.fastwebnet.it] has left #shogun [] | 21:59 | |
-!- geektoni [~geektoni@93-34-128-38.ip49.fastwebnet.it] has joined #shogun | 21:59 | |
-!- geektoni[m] [geektonima@gateway/shell/matrix.org/x-gxehukuknhjeqeng] has left #shogun ["User left"] | 22:04 | |
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 260 seconds] | 22:06 | |
-!- geektoni [~geektoni@93-34-128-38.ip49.fastwebnet.it] has left #shogun [] | 22:11 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 22:13 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 23:08 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 23:25 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 23:27 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has joined #shogun | 23:46 | |
-!- goksinen [~goksinen@rrcs-50-75-193-138.nyc.biz.rr.com] has quit [Remote host closed the connection] | 23:54 | |
--- Log closed Sat May 20 00:00:37 2017 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!