--- Log opened Thu May 12 00:00:55 2011 | ||
-!- blackburn [~qdrgsm@188.168.5.27] has quit [Quit: Leaving.] | 00:35 | |
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun | 02:09 | |
-!- alesis-novik [~alesis@188.74.87.84] has quit [Quit: I'll be Bach] | 06:13 | |
-!- alesis-novik [~alesis@188.74.87.84] has joined #shogun | 06:48 | |
-!- blackburn [~qdrgsm@188.168.4.95] has joined #shogun | 10:03 | |
-!- blackburn [~qdrgsm@188.168.4.95] has quit [Quit: Leaving.] | 10:52 | |
-!- heiko [~heiko@infole-06.uni-duisburg.de] has joined #shogun | 11:24 | |
-!- heiko [~heiko@infole-06.uni-duisburg.de] has left #shogun [] | 11:50 | |
-!- warpy [~androirc@80.74.111.178] has joined #shogun | 14:47 | |
-!- f-x [b49531e3@gateway/web/freenode/ip.180.149.49.227] has joined #shogun | 14:54 | |
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection] | 15:21 | |
-!- f-x [b49531e3@gateway/web/freenode/ip.180.149.49.227] has quit [Quit: Page closed] | 15:24 | |
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun | 15:25 | |
-!- warpy [~androirc@80.74.111.178] has quit [Read error: Connection reset by peer] | 16:04 | |
-!- blackburn [~qdrgsm@188.168.4.251] has joined #shogun | 16:16 | |
-!- warpy [~androirc@80.74.111.178] has joined #shogun | 16:24 | |
-!- warpy [~androirc@80.74.111.178] has quit [Ping timeout: 260 seconds] | 16:29 | |
@sonney2k | blackburn, around? | 17:22 |
---|---|---|
-!- warpy [~androirc@bzq-79-183-44-64.red.bezeqint.net] has joined #shogun | 17:26 | |
@sonney2k | blackburn, hmmhh so we missed each other again | 17:29 |
@sonney2k | anyway I have the following proposal (hopefully you will read this in the logs) | 17:29 |
@sonney2k | I would try to change anything that returns a vector / sets a vector as follows: | 17:30 |
@sonney2k | SGVector get_FOO(); | 17:30 |
@sonney2k | void set_FOO(SGVector* vec); | 17:32 |
@sonney2k | question is whether get_FOO() should return a ptr | 17:34 |
@sonney2k | I wouldn't want to use any pointers! | 17:57 |
-!- warpy [~androirc@bzq-79-183-44-64.red.bezeqint.net] has quit [Remote host closed the connection] | 18:12 | |
-!- CIA-28 [cia@cia.atheme.org] has joined #shogun | 18:24 | |
-!- warpy [~warpy@bzq-79-183-44-64.red.bezeqint.net] has joined #shogun | 18:52 | |
-!- CIA-28 [cia@cia.atheme.org] has quit [Remote host closed the connection] | 19:01 | |
-!- CIA-29 [~CIA@cia.atheme.org] has joined #shogun | 19:11 | |
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Remote host closed the connection] | 19:21 | |
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun | 19:23 | |
blackburn | sonney2k: here :) | 19:47 |
blackburn | SGVector get_FOO(); | 19:47 |
blackburn | you mean it should return an instance? | 19:47 |
blackburn | but what about it's matrix 'nature'? | 19:51 |
blackburn | i.e. when we call get_FOO() we often just get pointer to some part of matrix and so on | 19:57 |
-!- dave718 [d8a57e6f@gateway/web/freenode/ip.216.165.126.111] has joined #shogun | 20:31 | |
dave718 | hahaha | 20:31 |
dave718 | I was wondering, are there any example files that are compatible with RealFileFeatures? I've tried to build one myself according to what's in the source code but still not working properly. | 20:32 |
dave718 | (and just out of curiosity, how much memory will be used when training/testing on RealFileFeatures + how much of a performance hit should I expect in general?) | 20:33 |
-!- ameerkat [~ameerkat@184-98-140-155.phnx.qwest.net] has joined #shogun | 21:01 | |
-!- CIA-29 [~CIA@cia.atheme.org] has quit [] | 21:20 | |
-!- CIA-31 [cia@cia.atheme.org] has joined #shogun | 21:28 | |
-!- warpy [~warpy@bzq-79-183-44-64.red.bezeqint.net] has quit [Ping timeout: 246 seconds] | 21:42 | |
@sonney2k | blackburn, with matrix same thing | 21:56 |
@sonney2k | you get a copy of the SGMatrix structure | 21:57 |
@sonney2k | so a copy of the pointer and the matrix dimensions | 21:57 |
blackburn | aaaaaah | 21:57 |
blackburn | a copy of pointer! | 21:57 |
@sonney2k | so | 21:58 |
@sonney2k | SGMatrix get_FOO(); | 21:58 |
blackburn | but what is the problem? I think copy of pointer should work good | 21:58 |
@sonney2k | and | 21:58 |
@sonney2k | void set_FOO(SGMatrix x) | 21:58 |
@sonney2k | OK? | 21:58 |
blackburn | I think it is ok | 21:59 |
blackburn | why not? | 21:59 |
blackburn | moreover | 21:59 |
blackburn | in jblas guys had some problems because of 'voidness' of getters | 21:59 |
blackburn | as seen on mailing list | 21:59 |
blackburn | it could solve it, right? | 21:59 |
@sonney2k | blackburn, yes I hope | 22:00 |
blackburn | yeah, so I like it | 22:00 |
blackburn | ah! no goal :( | 22:01 |
@sonney2k | the only problem is that it is hard to understand for java people who would expect just a reference to the struct | 22:01 |
blackburn | why? it looks just like any java object | 22:02 |
blackburn | or may be I don't understand what you mean for sure | 22:04 |
blackburn | * 1-1 !! yeah! | 22:11 |
@sonney2k | blackburn, in java you only get a reference to an object - here it is a direct copy... | 22:32 |
@sonney2k | blackburn, java would be returning a ptr aka ref | 22:33 |
* blackburn is celebrating russia goes to 1/2 | 22:33 | |
blackburn | aha, I see | 22:33 |
blackburn | I think the way it is now - e.g. float64_t* vec, int32_t len - isn't more convenient | 22:34 |
@sonney2k | that is out of question | 22:35 |
@sonney2k | :D | 22:35 |
blackburn | so the question only related to point or not to point? :) | 22:35 |
blackburn | modern shakespeare | 22:35 |
@sonney2k | pointing to a SGVector struct could be problemeatic | 22:37 |
blackburn | soooo? | 22:37 |
@sonney2k | I mean we would have to allocate the struct with new[] | 22:37 |
@sonney2k | and delete[] it | 22:37 |
@sonney2k | ok so I will do the return copy thing as a test | 22:39 |
@sonney2k | lets see | 22:39 |
blackburn | yeap, I think that will work | 22:40 |
* blackburn today finally sent scans of tax and enrollment forms to google | 22:42 | |
@sonney2k | ok so we have a plan - but I don't have time to implement it right now *sigh* | 22:43 |
@sonney2k | l8r | 22:43 |
blackburn | see you :) | 22:43 |
-!- blackburn [~qdrgsm@188.168.4.251] has quit [Ping timeout: 260 seconds] | 23:25 | |
-!- blackburn [~qdrgsm@188.168.4.251] has joined #shogun | 23:26 | |
-!- dave718 [d8a57e6f@gateway/web/freenode/ip.216.165.126.111] has quit [Quit: Page closed] | 23:40 | |
--- Log closed Fri May 13 00:00:57 2011 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!