IRC logs of #shogun for Thursday, 2017-01-12

--- Log opened Thu Jan 12 00:00:38 2017
-!- mikeling [uid89706@gateway/web/irccloud.com/x-fqremifojilfyvta] has joined #shogun03:14
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun05:26
-!- abhinav [~abhinav@103.68.217.96] has quit [Ping timeout: 240 seconds]05:47
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun06:00
-!- abhinav [~abhinav@103.68.217.96] has quit [Ping timeout: 258 seconds]07:36
-!- shogun-buildbot [~shogun-bu@7nn.de] has quit [Quit: buildmaster reconfigured: bot disconnecting]07:48
-!- shogun-buildbot [~shogun-bu@7nn.de] has joined #shogun07:48
shogun-buildbotbuild #12 of clang - undefined behaviour analysis is complete: Failure [failed compile]  Build details are at http://buildbot.shogun-toolbox.org/builders/clang%20-%20undefined%20behaviour%20analysis/builds/12  blamelist: Heiko Strathmann <heiko.strathmann@gmail.com>, IOcodegeass <shubhamskv10@gmail.com>, hongguang guo <thinkdeeper@hongguangdeMacBook-Pro.local>,07:58
shogun-buildbotFredrik Hallgren <fredrik.hallgren@ucl.ac.uk>, abhinavrai44 <abhinavrai44@gmail.com>07:58
-!- praisethemoon [~praisethe@197.3.11.178] has joined #shogun08:43
-!- Positron_ [~textual@c-73-162-174-23.hsd1.ca.comcast.net] has joined #shogun09:19
-!- Positron_ is now known as PositronX09:25
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun09:31
-!- PositronX [~textual@c-73-162-174-23.hsd1.ca.comcast.net] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]09:36
-!- Positron_ [~textual@c-73-162-174-23.hsd1.ca.comcast.net] has joined #shogun10:27
-!- Positron_ [~textual@c-73-162-174-23.hsd1.ca.comcast.net] has quit [Quit: Textual IRC Client: www.textualapp.com]10:33
-!- praisethemoon [~praisethe@197.3.11.178] has quit [Ping timeout: 240 seconds]11:47
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has joined #shogun12:38
-!- mode/#shogun [+o HeikoS] by ChanServ12:38
mikelingwiking: HeikoS how could I check the content of CLabels and CFeatures when I use gdb to debug them?12:57
mikelingI mean when I try to print out a CFeatures or CLabels object like labels_test, it can only give me something like **(shogun::CMulticlassLabels *) $13 = 0x0000000109300710** how could I know what exactly looks like in a CFeatures or CLabels12:58
mikelingcould I got a matrix or numbers or string or anything else readable context of it?12:59
mikelingAnd what's the meaning of 0x0000000107fc0bb0 in https://pastebin.mozilla.org/8962085?13:02
-!- HeikoS [~heiko@host-92-0-178-129.as43234.net] has quit [Ping timeout: 260 seconds]13:21
mikelingHello, when I try to create a file(https://pastebin.mozilla.org/8962102) to test SGVector I got error like https://pastebin.mozilla.org/896210413:38
mikelingcould anyone tell me why that happened and how to fix it? Thank you :)13:39
lisitsynmikeling: how do you compile it13:45
lisitsynit's a linker error13:46
lisitsynyou likely miss -lshogun13:46
mikelinglisitsyn: hey! Thank you for your help!  I just use clang++ 'file name'13:47
mikelingso how could I link it?13:48
lisitsynmikeling: add -lshogun13:48
lisitsynto your compiler flags13:48
mikelingcould I write it in CMakeLists.txt?13:49
mikelinglisitsyn: when I try to remake the whole project, it will give me a link error https://pastebin.mozilla.org/896211313:56
mikelingcould you tell me how to fix that?13:56
mikelingI'm sure I had run cmake -DENABLE_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DDEBUG=ON ../ before I make && make install it13:56
@sukeyPull Request #3591 "Add SG_INFO message for the iterations of AveragedPerceptron.cpp"  opened by abhinavrai44 - https://github.com/shogun-toolbox/shogun/pull/359113:57
mikelingusually I need to delete the whole project  and reclone it if I want to move on13:58
-!- praisethemoon [~praisethe@197.3.11.178] has joined #shogun14:18
lisitsynmikeling: oh didn't know you're using cmake14:23
lisitsynwhat's your cmakelists?14:23
mikelinglisitsyn:  you mean the "ld: symbol(s) not found for architecture x86_64" error I just asked? my cmakelists is https://pastebin.mozilla.org/8962134 which is created by Clion14:30
lisitsynmikeling: ok didn't know you're using clion :)14:30
lisitsynthere must be some stuff to link libraries14:30
lisitsynjust link your program to shogun to make it work14:31
lisitsynyou will get some LINK_LIBRARIES14:31
lisitsynin your cmakelists14:31
lisitsynthat's not shogun-specific, you gotta do that for any library you use14:31
mikelingand I just fix the second error (the duplicate symbol), I think it's about the Clion create a camke-file-debug folder which conflict with the CMakelist of shogun itself14:31
mikelinglisitsyn: oh great! Thank you very much14:32
lisitsynping me if it works14:32
lisitsynor not :)14:32
mikelinglisitsyn: I'm a newbie for shogun and only some basic idea of C++, so I have no idea how to use the CFeature, SGVector14:33
mikelingsure thing, thank you14:33
mikeling:)14:33
mikelinglisitsyn: actually I'm working on this issue, but I don't know how to use those because objects like SGVector or distance, so I'm trying to figure them out these days :)14:36
mikelinglisitsyn: hmmm, it doesn't work by "add_library(shogun SHARED $<TARGET_OBJECTS:libshogun>)" with https://pastebin.mozilla.org/896214314:44
lisitsynwhy add_library?14:44
-!- abhinav [~abhinav@103.68.217.96] has quit [Ping timeout: 256 seconds]14:45
mikelinglisitsyn: hmmm, I have no idea what's should I use.....so I need to use target_link_libraries instead?14:47
lisitsynyeah link14:47
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun14:59
mikelinglisitsyn: oh great! It works! :D15:06
mikelingthank you very much15:06
lisitsynyou're welcom15:09
-!- abhinav [~abhinav@103.68.217.96] has quit [Ping timeout: 252 seconds]15:23
-!- mizari [~mizari@user-79-136-131-162.tomtelnet.ru] has joined #shogun15:24
-!- HeikoS [~heiko@eduroam-int-pat-8-240.ucl.ac.uk] has joined #shogun15:36
-!- mode/#shogun [+o HeikoS] by ChanServ15:36
@HeikoSmikeling: what are you debugging for? one idea might be to use python bindings and then just dynamically call get methods to see the data.16:08
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun16:26
-!- HeikoS [~heiko@eduroam-int-pat-8-240.ucl.ac.uk] has quit [Ping timeout: 255 seconds]16:32
-!- praisethemoon [~praisethe@197.3.11.178] has quit [Ping timeout: 245 seconds]16:59
-!- HeikoS [~heiko@eduroam-int-pat-8-240.ucl.ac.uk] has joined #shogun17:20
-!- mode/#shogun [+o HeikoS] by ChanServ17:20
-!- HeikoS [~heiko@eduroam-int-pat-8-240.ucl.ac.uk] has quit [Ping timeout: 240 seconds]17:25
-!- praisethemoon [~praisethe@197.3.11.178] has joined #shogun17:37
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has joined #shogun17:38
-!- mode/#shogun [+o HeikoS] by ChanServ17:38
-!- abhinav [~abhinav@103.68.217.96] has quit [Remote host closed the connection]18:04
-!- praisethemoon [~praisethe@197.3.11.178] has quit [Quit: Leaving]18:05
-!- HeikoS [~heiko@untrust-out.swc.ucl.ac.uk] has quit [Ping timeout: 252 seconds]18:16
-!- mikeling [uid89706@gateway/web/irccloud.com/x-fqremifojilfyvta] has quit [Quit: Connection closed for inactivity]19:09
-!- abhinav [~abhinav@103.68.217.96] has joined #shogun19:18
-!- abhinav [~abhinav@103.68.217.96] has quit [Ping timeout: 240 seconds]23:07
-!- Positron_ [~textual@c-73-162-174-23.hsd1.ca.comcast.net] has joined #shogun23:58
--- Log closed Fri Jan 13 00:00:39 2017

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