--- Log opened Sun Feb 26 00:00:19 2012 | ||
-!- ishaanmlhtr [~chatzilla@115.242.51.224] has quit [Ping timeout: 260 seconds] | 00:26 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 01:52 | |
-!- ishaanmlhtr [~chatzilla@115.240.99.77] has joined #shogun | 05:49 | |
-!- ishaanmlhtr [~chatzilla@115.240.99.77] has quit [Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111220165912]] | 07:33 | |
-!- delcoder [~ishaan@115.241.200.198] has joined #shogun | 09:43 | |
-!- blackburn [~qdrgsm@188.122.248.245] has joined #shogun | 10:09 | |
-!- blackburn [~qdrgsm@188.122.248.245] has quit [Quit: Leaving.] | 12:06 | |
-!- wangyi160 [3ac2e06c@gateway/web/freenode/ip.58.194.224.108] has joined #shogun | 12:20 | |
wangyi160 | hi,yo | 12:21 |
---|---|---|
wangyi160 | anybody here | 12:21 |
wangyi160 | I have a question, I am using java interface, where is Load.load_numbers, it is very confusing in the example | 12:22 |
wangyi160 | I use DoubleMatrix.loadAsciiFile to replace that, but seems wrong | 12:22 |
-!- blackburn [~qdrgsm@188.122.248.245] has joined #shogun | 12:26 | |
-!- wangyi160 [3ac2e06c@gateway/web/freenode/ip.58.194.224.108] has quit [Quit: Page closed] | 12:32 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 12:34 | |
n4nd0 | blackburn: hi! | 12:36 |
blackburn | hi | 12:36 |
n4nd0 | blackburn: I cannot manage to fix a compile error I am getting for the example with the Mahalanobis distance | 12:37 |
blackburn | heh let me try to help | 12:37 |
n4nd0 | blackburn: the include directive to the header file MahalanobisDistance.h is working fine | 12:37 |
n4nd0 | blackburn: but I still get 'CMahalanobisDistance' was not declared in this scope | 12:38 |
n4nd0 | blackburn: and the class is defined in that header | 12:38 |
blackburn | please paste source somewhere | 12:38 |
n4nd0 | http://snipt.org/uVR6 | 12:40 |
n4nd0 | and the header goes here | 12:40 |
n4nd0 | http://snipt.org/uVS3 | 12:41 |
n4nd0 | I thought it might be cause by the ifdef HAVE_LAPACK directive | 12:41 |
n4nd0 | put the error persisted when I commented it out :S | 12:41 |
n4nd0 | but* | 12:42 |
blackburn | ok let me think | 12:43 |
blackburn | n4nd0: does your snippet work with euclidean distance? | 12:44 |
n4nd0 | yes | 12:44 |
blackburn | hmm | 12:46 |
blackburn | strange, can't see any error | 12:46 |
blackburn | could you please paste the .cpp as well? | 12:46 |
n4nd0 | here it is http://snipt.org/uVV4 | 12:47 |
n4nd0 | blackburn: I am doubting whether the ifdef HAVE_LAPACK in the .cpp file might be a problem | 12:53 |
blackburn | n4nd0: shouldn't be if you have lapack | 12:53 |
blackburn | it should be here for sure | 12:53 |
n4nd0 | blackburn: ok | 12:54 |
blackburn | hm | 12:54 |
blackburn | n4nd0: chekc interfaces/modular/Distance_includes.i | 12:57 |
blackburn | and interfaces/modular/Distance.i | 12:57 |
blackburn | and add your distance to make it available from modular (python,etc) | 12:57 |
n4nd0 | blackburn: I have done it now but the error is still there | 13:02 |
n4nd0 | but I guess I have to compile shogun first again | 13:02 |
blackburn | no, it won't help with this error | 13:02 |
n4nd0 | mmm then it's bad | 13:03 |
blackburn | I currently can't see any reason why it fails :( | 13:03 |
n4nd0 | blackburn: you were right, it didn't make the trick to compile :( | 13:20 |
n4nd0 | blackburn: I have no idea why can it be wrong | 13:20 |
blackburn | try to use it from python | 13:20 |
blackburn | when things could get clearer | 13:20 |
n4nd0 | ok | 13:25 |
n4nd0 | blackburn: you like more python definetely ;P | 13:25 |
blackburn | sure, but I just want to check your distance is being included | 13:25 |
blackburn | btw you will like it too if you don't | 13:26 |
n4nd0 | I like it but I have more experience with C++ now | 13:26 |
n4nd0 | but I want to improve my python skills | 13:27 |
n4nd0 | I'll be back later | 13:28 |
blackburn | ok | 13:31 |
blackburn | I'll try to find out error | 13:32 |
-!- wangyi160 [3ac2e06c@gateway/web/freenode/ip.58.194.224.108] has joined #shogun | 15:15 | |
wangyi160 | hi | 15:18 |
blackburn | wangyi160: hi | 15:22 |
wangyi160 | Oh, finally, I found it in the examples/java_modular folder... it seems I should import the whole folder into eclipse.. | 15:46 |
wangyi160 | why no one answer me... no help, only help myself | 15:47 |
-!- wangyi160 [3ac2e06c@gateway/web/freenode/ip.58.194.224.108] has quit [Quit: Page closed] | 15:47 | |
blackburn | hah | 16:11 |
* blackburn is curious where is the question :D | 16:12 | |
n4nd0 | :D | 16:19 |
n4nd0 | blackburn: so the instruction from shogun.Distance import MahalanobisDistance works fine from python | 16:29 |
n4nd0 | blackburn: that is at least a good new I guess :) | 16:29 |
blackburn | yeah good news | 16:33 |
n4nd0 | blackburn:time to debug then! it looks like my Mahalanobis distance gives always zero as a result :S | 16:41 |
blackburn | haha good distance | 16:42 |
n4nd0 | haha eveything is close :P | 16:42 |
n4nd0 | blackburn: now that I think of it, is there any way to debug the code written in C++ from a example written in python? | 16:43 |
n4nd0 | blackburn: I don't know if I make my point clear... | 16:43 |
blackburn | well I usually do some debug print | 16:43 |
blackburn | it usually helps, but sometimes C++ example is required.. | 16:44 |
n4nd0 | blackburn: all right, so just using printf/cout in the C++ code I will get the traces when I execute the example with python? | 16:44 |
blackburn | no, use SG_PRINT | 16:44 |
n4nd0 | SG_PRINT("Test message", stdout)? | 16:47 |
blackburn | w/o stdout part | 16:47 |
n4nd0 | does it work with printf formatting style? | 16:47 |
n4nd0 | SG_PRINT("%d", 5)? | 16:47 |
blackburn | yes | 16:47 |
n4nd0 | cool, thank you | 16:47 |
-!- delcoder [~ishaan@115.241.200.198] has quit [Ping timeout: 252 seconds] | 17:10 | |
n4nd0 | blackburn: another question :P | 17:12 |
blackburn | shoot | 17:13 |
n4nd0 | blackburn: so when one is working with just one file within the project doing some debugging, like I am doing right now with this mahalanobis distance | 17:13 |
n4nd0 | blackburn: is there any way to just build that part so the modifications can be tested faster? | 17:13 |
blackburn | not really, when you change .h interfaces will recompile | 17:14 |
blackburn | but changing .cpp's will not cause interfaces recompile - would be much faster | 17:14 |
n4nd0 | but it is the same process then | 17:15 |
n4nd0 | make, make install? | 17:15 |
blackburn | yes | 17:15 |
n4nd0 | ok | 17:15 |
blackburn | just try to change only cpp | 17:15 |
blackburn | interfaces won't recompile | 17:15 |
blackburn | it is the slowest step here | 17:15 |
n4nd0 | ok | 17:15 |
n4nd0 | to run configure also makes the recompilation right? | 17:16 |
n4nd0 | I mean that it forces it | 17:16 |
blackburn | yes | 17:16 |
-!- delcoder [~ishaan@115.242.104.177] has joined #shogun | 17:32 | |
n4nd0 | blackburn: man, why can I do RealFeatures(fm) if fm contains just one feature vector? | 17:33 |
n4nd0 | ups can't I wanted to say | 17:34 |
blackburn | it should be matrix | 17:34 |
blackburn | I guess numpy treated it as vector | 17:34 |
n4nd0 | I will try to make a cast then ... but I am actually loading it using LoadMatrix | 17:36 |
blackburn | numpy tends to do this thing sometimes | 17:36 |
-!- blackburn [~qdrgsm@188.122.248.245] has quit [Quit: Leaving.] | 17:46 | |
-!- blackburn [~qdrgsm@188.122.248.245] has joined #shogun | 18:39 | |
n4nd0 | blackburn: I was checking the copy constructor of the class SGVector | 19:09 |
blackburn | aha | 19:09 |
blackburn | what's up with it? | 19:09 |
n4nd0 | blackburn: shouldn't it copy the contents to another portion of memory? | 19:09 |
n4nd0 | blackburn: I don't think it does that | 19:10 |
blackburn | well | 19:10 |
blackburn | I guess clone is supposed to do that | 19:10 |
n4nd0 | yeah I tried with that too | 19:10 |
n4nd0 | but clone is actually cloning the T*, not the SGVector structure itself | 19:11 |
blackburn | what do you mean? | 19:12 |
blackburn | I can see it does exactly what you want.. | 19:12 |
n4nd0 | you mean clone_vector in SGVector? | 19:13 |
n4nd0 | maybe there is a method clone I didn't see | 19:13 |
blackburn | yes, clone | 19:13 |
blackburn | not clone_vector | 19:14 |
n4nd0 | aha, all right, I didn't see that one | 19:14 |
n4nd0 | sorry | 19:14 |
blackburn | no problem :) | 19:17 |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 19:18 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 19:18 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Client Quit] | 19:21 | |
-!- delcoder [~ishaan@115.242.104.177] has quit [Quit: Leaving] | 19:36 | |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has joined #shogun | 20:10 | |
n4nd0 | blackburn: fixed :) I am obtaining nice distance values now | 20:51 |
blackburn | nice | 20:52 |
n4nd0 | one question about the design | 20:52 |
n4nd0 | this Mahalanobis distance looks to be defined both for distance from a point to a distribution and for distance between two distributions | 20:53 |
n4nd0 | is it interesting to have both or point to distribution is ok? | 20:53 |
blackburn | I think it should be distance rhs -> lhs pointwise | 20:54 |
blackburn | i.e. lhs should be considered as distribution | 20:55 |
n4nd0 | ok | 20:55 |
n4nd0 | the function compute receives two indexes as arguments because of inheritance, one of them is not used then | 20:56 |
n4nd0 | no problem with that right? | 20:56 |
blackburn | yeah | 20:58 |
blackburn | it is ok I guess | 20:58 |
n4nd0 | I found it weird that I can use the code with no problem from python but it was not working before in the C++ example | 21:00 |
blackburn | don't worry we will find out what is wrong with it | 21:01 |
n4nd0 | blackburn: I will do a pull request then | 22:00 |
blackburn | yeah | 22:00 |
n4nd0 | blackburn: by the way, should I write sth in author and copyright? | 22:00 |
blackburn | yes, your name :) | 22:00 |
blackburn | I hope it fits into one line ;) | 22:01 |
blackburn | joke :) | 22:01 |
n4nd0 | haha it does ;) | 22:01 |
n4nd0 | a bit longer than the usual ones, but it does | 22:01 |
n4nd0 | :D | 22:02 |
blackburn | what is J. btw? | 22:02 |
blackburn | :) | 22:02 |
blackburn | btw my name has patronymic, so I am Sergey Olegovitch Lisitsyn :) going long as well | 22:03 |
n4nd0 | Jos? | 22:06 |
blackburn | I see | 22:06 |
n4nd0 | Fernando Jo?e Iglesias Garc?a | 22:06 |
n4nd0 | :P | 22:06 |
blackburn | I heard brazil guys have even more names | 22:06 |
blackburn | :) | 22:07 |
n4nd0 | yeah it might be | 22:07 |
blackburn | I am curious | 22:07 |
blackburn | do you understand portuguese? | 22:08 |
n4nd0 | I can understand quite a lot actually | 22:08 |
blackburn | I see | 22:08 |
n4nd0 | but I used to hang out with people from Brazil when I lived in Spain | 22:08 |
blackburn | I used to try to learn portuguese | 22:08 |
blackburn | (failed,yeah) | 22:08 |
n4nd0 | oh cool | 22:08 |
blackburn | and no time anymore to do such things haha | 22:09 |
n4nd0 | do you manage to understand then "ai se eu te pego"? | 22:09 |
n4nd0 | haha | 22:09 |
blackburn | no, do not understand anything | 22:09 |
blackburn | well soeren has been learning russian for X years | 22:10 |
blackburn | and I have been learning german at school | 22:10 |
n4nd0 | and do you manage with German and he with Russian? | 22:10 |
blackburn | and actually we both do not really understand each foreign lang :) | 22:10 |
n4nd0 | I think Russian must be really difficult! | 22:11 |
blackburn | I'll took some spanish lessons from you ;) | 22:11 |
n4nd0 | cool | 22:11 |
blackburn | no idea, could be :) | 22:11 |
n4nd0 | I am still fighting against Swedish :O | 22:11 |
blackburn | how long have you been in Sweden? | 22:12 |
n4nd0 | this is my second year studying here | 22:12 |
blackburn | I see | 22:12 |
n4nd0 | I have been for about 18 months now I think | 22:12 |
blackburn | ah not really long | 22:12 |
n4nd0 | I came back to Spain during summer and so on | 22:12 |
blackburn | so you are going back to spain this summer again? | 22:13 |
blackburn | I wonder why you have choosed to study in sweden :) | 22:13 |
n4nd0 | the university is really well-known in the university I came from | 22:14 |
blackburn | I see | 22:15 |
n4nd0 | I wanted to go to the nordic countries | 22:15 |
n4nd0 | but I was not very sure to which one | 22:15 |
blackburn | not cold enough? :) | 22:15 |
n4nd0 | so this university made the final decision | 22:15 |
n4nd0 | haha | 22:15 |
blackburn | we have some cold towns here | 22:15 |
blackburn | ;) | 22:16 |
blackburn | I live in not-very-cold-enough one though | 22:16 |
n4nd0 | it is fucking cold in winter but the worst thing for me is the sun ... | 22:16 |
blackburn | what's up with the sun? | 22:16 |
n4nd0 | one needs almost to pray to see it during winter | 22:16 |
blackburn | ah | 22:17 |
n4nd0 | too few hours of sun for me | 22:17 |
n4nd0 | never thought that it would affect me but it actually does | 22:17 |
blackburn | funny, never thought it can affect so hard | 22:18 |
n4nd0 | where do you come from in Russia? I have a couple of friends from Moscow and Volgograd living here in Stockhollm | 22:21 |
n4nd0 | Stockholm* | 22:21 |
blackburn | I live in Togliatti | 22:25 |
blackburn | and study in Samara | 22:25 |
blackburn | so going back and forth | 22:25 |
blackburn | it is pretty near :) | 22:25 |
n4nd0 | good | 22:29 |
blackburn | I'm going to commit some things too soon | 22:34 |
n4nd0 | what have you been working on? | 22:36 |
blackburn | generic multiclass things | 22:37 |
n4nd0 | haven't heard about them | 22:38 |
n4nd0 | what are they in particular? | 22:38 |
blackburn | ah just some classes making possible to use binary classifiers | 22:39 |
blackburn | as multiclas | 22:39 |
blackburn | s | 22:39 |
blackburn | OvR, OvO | 22:39 |
n4nd0 | ok | 22:40 |
n4nd0 | time to bed | 22:53 |
blackburn | good night | 22:53 |
n4nd0 | good night | 22:53 |
n4nd0 | and thank you for all your help ;) | 22:53 |
-!- n4nd0 [~nando@s83-179-44-135.cust.tele2.se] has quit [Quit: leaving] | 22:54 | |
blackburn | you are welcome | 22:56 |
CIA-64 | shogun: Sergey Lisitsyn master * r1ddb633 / (10 files in 2 dirs): Introduced multiclass generics - http://git.io/afbXAg | 23:14 |
shogun-buildbot | build #557 of libshogun is complete: Failure [failed compile] Build details are at http://www.shogun-toolbox.org/buildbot/builders/libshogun/builds/557 blamelist: blackburn91@gmail.com | 23:20 |
CIA-64 | shogun: Sergey Lisitsyn master * rdb9a699 / (2 files): Hotfix for MC machines - http://git.io/_d2Ujg | 23:34 |
shogun-buildbot | build #558 of libshogun is complete: Success [build successful] Build details are at http://www.shogun-toolbox.org/buildbot/builders/libshogun/builds/558 | 23:39 |
--- Log closed Mon Feb 27 00:00:19 2012 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!