IRC logs of #shogun for Saturday, 2012-01-07

--- Log opened Sat Jan 07 00:00:19 2012
-!- puneetgoyal [~puneetgoy@117.197.164.241] has quit [Quit: Leaving]02:07
-!- blackburn [~qdrgsm@109.226.69.156] has quit [Quit: Leaving.]05:18
-!- Ram108 [~amma@115.117.251.236] has joined #shogun11:12
-!- Ram108 [~amma@115.117.251.236] has quit [Ping timeout: 248 seconds]11:32
-!- Ram108 [~amma@115.117.252.152] has joined #shogun11:56
-!- Ram108 [~amma@115.117.252.152] has quit [Ping timeout: 255 seconds]12:19
-!- blackburn [~qdrgsm@109.226.69.156] has joined #shogun14:14
-!- blackburn [~qdrgsm@109.226.69.156] has quit [Ping timeout: 240 seconds]14:38
-!- kate_ [554bc70a@gateway/web/freenode/ip.85.75.199.10] has joined #shogun17:37
kate_hi! i have some questions about shogun and the examples17:39
kate_on java and matlab17:40
kate_ok somebody? anybody?17:46
-!- kate_ [554bc70a@gateway/web/freenode/ip.85.75.199.10] has quit [Quit: Page closed]18:04
-!- blackburn [~qdrgsm@109.226.69.156] has joined #shogun19:27
-!- blackburn [~qdrgsm@109.226.69.156] has quit [Quit: Leaving.]19:52
-!- blackburn [~qdrgsm@109.226.69.156] has joined #shogun20:01
blackburnsonney2k: hey21:14
blackburndo you know when heiko would finish his work?21:15
-!- kate_ [554bc70a@gateway/web/freenode/ip.85.75.199.10] has joined #shogun21:44
kate_hello I a student at TEI of Crete and I have a 15pages project about machine learning and especially shogun. I  found the information i needed for the theory part of the project but i have a problem understanding the code part and therefor using it in order to show i learn something.21:48
kate_i21:48
kate_II saw the examples but i have problem21:48
kate_cause i can't understand what i have to do first before using them.21:49
kate_If you can help i would be thankful21:49
blackburnkate_: hi, how can I help you?21:50
blackburnplease be more precise what you have to do/ in which lang/ etc21:52
kate_Hi!21:53
kate_i would like to explain some of the code in the examples in matlab or java...more in matlab...21:54
blackburnare you tied with matlab? can you use e.g. python?21:55
kate_yes...i don't know python, well i tried but got confused..21:55
kate_what i know is that it's not so different from java or C==21:56
kate_C++*21:56
blackburnwe only have static matlab interface so it is quite outdated21:56
kate_so i believe with a little guidense21:56
blackburnbut for python, java, etc we have modular interfaces21:56
kate_ok if i use python21:57
blackburnkate_: ok did you compile shogun already?21:57
kate_what application should i use?21:57
kate_no21:57
kate_ok21:57
kate_thats the problem21:57
kate_how i do that?21:57
blackburnwhat is os you are using?21:57
kate_windows 721:57
blackburnoh21:58
blackburnhave you any cygwin experience?21:58
kate_no...21:58
blackburnthe problem is we do not support windows w/o cygwin21:58
kate_ok my partner has linux21:59
kate_can we use him?21:59
blackburnlinux is much more preferrable21:59
blackburnkate_: which linux?22:00
blackburndistribution I mean22:01
kate_i can have ubuntu on mine on monday morning...but i don't know what he has and he is off right now...22:01
blackburnkate_: you have two ways still - install cygwin or use some linux22:01
kate_install cygwin in win7?22:02
blackburnyes22:02
kate_ok22:02
kate_lets do the cygwin cause he is not here22:02
blackburnkate_: well it is pretty easy22:02
kate_and i need to understand this tonight22:02
kate_ok i don't mind22:02
kate_as long as i don't bother you22:02
blackburnyou don't22:03
kate_thanks22:03
kate_well! what do i do first?22:04
blackburnkate_: download cygwin first :)22:04
blackburninstaller22:04
blackburnkate_: then you will have to install some packages22:06
kate_ok i did22:06
kate_when you say same packages22:07
kate_can you be a little more specific?22:08
blackburnkate_: yes, you have to install gcc, g++, pkg-config, python, python-numpy22:09
blackburnhmm let me recall what else..22:09
kate_when it ask me for my internet connection22:10
kate_i don't use anything ports like 80 right?22:10
blackburnkate_: I guess22:10
kate_it says choose a site from the list or add your own link22:11
kate_download link22:11
kate_wrong download site(s)22:11
blackburnno idea..22:12
kate_ok22:12
blackburnare these sites mirrors?22:12
kate_never mind22:12
blackburnchoose some..22:12
kate_i m in the packages22:12
kate_and yes they were22:12
blackburnkate_: this time check gcc, g++, pkg-config, python, python-numpy22:14
kate_finishe22:24
blackburnkate_: what exactly you have to do?22:24
kate_finish*22:24
kate_next step22:24
blackburnoh sorry I forgot one more22:24
blackburnjust run setup once again22:25
kate_ok22:25
kate_what package to type?22:25
blackburnkate_: lapack, git22:25
blackburnkate_: are you familiar with linux console commands, etc?22:27
kate_the basics yes22:27
blackburnok22:27
blackburnkate_: then run cygwin just after things get installed22:30
kate_ok22:30
blackburncreate some dir for shogun22:30
blackburnand do 'git clone git://github.com/shogun-toolbox/shogun.git'22:31
kate_its still on setup22:34
blackburnok22:34
kate_i did the command and its cloning22:38
kate_so i believe i m on the right path22:38
blackburnnice22:38
kate_ok done22:40
blackburncd shogun/src22:41
blackburn./configure --interfaces=python_modular22:41
kate_done22:42
blackburndid it run smooth?22:43
kate_yes22:43
kate_no errors22:43
kate_no nothing22:43
kate_ooo22:43
kate_nono22:43
kate_error pkg-config not detected22:43
kate_ooo22:43
kate_sorry my bad22:44
blackburnok22:44
blackburnjust install it22:44
kate_its ok now22:53
kate_it still cheking22:53
kate_swig required22:53
blackburndamn sorry22:53
blackburnforgot it22:53
kate_for modular iterfaces22:53
kate_ok no prob22:53
kate_type make now to compile22:57
kate_i m listenong22:57
kate_:D22:57
kate_listening*22:57
CIA-1shogun: Soeren Sonnenburg master * rc1a34bd / (9 files in 3 dirs):22:58
CIA-1shogun: Merge pull request #349 from karlnapf/master22:58
CIA-1shogun: merge heikos load_file_parameter code (+12 more commits...) - http://git.io/4iyzxQ22:58
@sonney2kblackburn, I don't know22:58
@sonney2kI would hope within a few weeks22:58
blackburnkate_: yes, do 'make'23:01
blackburnsonney2k: bad..23:01
@sonney2kwhy?23:01
blackburnsonney2k: I hope to start my paper submission asap23:02
kate_-bash: make: command not found?23:02
blackburnkate_: oh..23:02
blackburnyou have to install it too..23:03
kate_what? the make?23:03
blackburnkate_: yes, I thought it is default23:03
kate_ok23:04
kate_i installed make23:06
kate_make -C/examples23:06
kate_tsc23:06
kate_etc23:06
kate_but23:06
blackburnehm?23:06
kate_bash ./generate_documented.sh23:07
blackburndo make in the shogun/src folder23:07
blackburnah23:07
kate_that's where it stoped23:07
blackburnyou copypaste its output?23:07
kate_yes23:07
kate_i found the directory23:07
blackburnany error message?23:07
blackburnI guess it is in process23:07
kate_no errors it just stopped...23:07
kate_ooh ok23:07
blackburnyou have to wait a little23:07
kate_then i shall wait23:07
kate_which place of the world are you? i m asking to because i wondering what time is it there..23:08
blackburnkate_: Moscow timezone, 2-0823:08
blackburnkate_: I'm in Toliatty, Russia23:09
kate_aaah23:09
kate_i m in greece23:09
kate_here it's 00:0923:09
kate_you are 2 hours ahead...23:10
blackburnyes23:10
blackburnI guess you are in same timezone with sonney2k :)23:12
kate_i dont know..where is he?23:12
blackburnBerlin23:12
@sonney2k23:12 now :)23:12
kate_no23:12
blackburnhmm23:12
blackburnwow23:12
blackburnI'm surprised and lame23:12
blackburn:D23:12
kate_why?23:13
blackburnI thought it is in the same timezone23:13
blackburnkate_: are you from creet?23:13
kate_i went to denmark in summer for a summerschool and for 3 days i thought i was in the same zone with athens23:14
kate_no i m from a small island in aegean23:14
kate_i study in crete23:14
blackburnah23:14
blackburnI see23:14
kate_its done23:15
blackburnI bet it is pretty interesting to live on islands :)23:15
blackburnsonney2k: will 'sudo make install' work in the cygwin?23:15
@sonney2kwhy sudo?23:15
@sonney2kjust make install23:16
blackburnsonney2k: will it work ?23:16
blackburnkate_: try 'make install'23:16
kate_its fun because you are surrounded by see but its not so pretty in the winter,,23:16
blackburnsonney2k: I mean will it work without setting path23:16
kate_it has an error23:16
blackburnkate_: which?23:16
@sonney2kIIRC you have to do make install DESTDIR-23:16
@sonney2kerr: make install DESTDIR=23:16
kate_classifier.ConjugateIndex.cpp.o Error 123:16
blackburnhuh23:17
kate_Makefile:39: recipe for target `libshogun-12.0.dll' failed make: *** [libshogun-12.0.dll] Error 223:17
blackburnkate_: thanks, you detected an error :)23:18
kate_it has more23:18
kate_aparently there are many Cblas.....something that ar undeclared23:19
blackburnkate_: yes I will fix it just now23:19
kate_ok23:19
blackburnI introduced this classifier two days before23:19
kate_oo23:19
kate_thats interesting23:19
blackburnsonney2k: have you seen this classifier btw?23:19
blackburnsonney2k: I've got 0.7 accuracy on my road signs dataset with HOG and Conjugate index classifier23:20
blackburnpretty useless hah23:20
blackburnGMNP has ~0.923:20
@sonney2kGMNP?23:20
@sonney2kyou mean svm?23:20
blackburnyes23:20
@sonney2kheh23:21
@sonney2kyeah hard to beat svms23:21
blackburnsonney2k: well convolutional NNs totally beat svms on such tasks23:21
blackburnkate_: you will have to do following23:21
blackburngit pull origin23:21
blackburnand configure once again23:22
@sonney2kyeah - but can you train a conv NN that does?23:22
@sonney2kmaybe a git clean -dfx is missing?23:22
blackburnsonney2k: I've never tried it23:22
blackburnsonney2k: I have forgot to enclose my classifier with HAVE_LAPACK23:22
blackburnkate_: do git pull once I commit fix23:22
@sonney2kblackburn, hmmhh don't we have a buildbot testing for that?23:23
blackburnsonney2k: I didn't notice it accidentally23:23
CIA-1shogun: Sergey Lisitsyn master * r141080b / (2 files): Disable Conjugate Index classifier compilation without lapack/cblas - http://git.io/sgSZ-Q23:24
@sonney2kblackburn, I would like to see the result you get with a conv NN!23:24
blackburnsonney2k: I would like to see it too23:25
blackburnsonney2k: do you think it would be difficult to train such classifier?23:25
blackburnkate_: here you go, do git pull origin23:25
@sonney2kI expect it will not work right from the start23:26
@sonney2kthere are a couple of tricks that one has to pay attention too23:26
blackburnsonney2k: I see23:27
blackburnI didn't get much time and motivation to try CNNs yet :(23:28
@sonney2kblackburn, In case you attempt it make sure to read http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf23:28
@sonney2klots of tricks of the trade in there23:30
blackburnhave you tried it?23:30
kate_sorry23:32
kate_but23:32
kate_kernel error23:32
kate_like that "kernel/CommUlongStringKernel.cpp:73: error: `CCommUlongStringKernel"23:32
blackburnkate_: what is the error?23:32
kate_Makefile:39: recipe for target `libshogun-12.0.dll' failed23:32
blackburnbelow23:32
blackburnanything else?23:32
kate_kernel/CommUlongStringKernel.cpp:39: error: expected `,' or `;' before '::' token kernel/CommUlongStringKernel.cpp:44: error: `CCommUlongStringKernel' has not been declared23:33
kate_this is an example23:33
kate_there are many of them23:33
blackburnsonney2k: "shuffle the training set ..." - NNs are crazy23:33
kate_do you want me to copy and paste all of them?23:34
blackburnkate_: yeah that would help23:34
kate_ernel/CommUlongStringKernel.cpp c++: unrecognized option `-pthread' kernel/CommUlongStringKernel.cpp:1: warning: -fPIC ignored for target (all code is position independent) In file included from kernel/CommUlongStringKernel.cpp:11: ../shogun/lib/common.h:48:8: warning: undefining "__STDC_FORMAT_MACROS" kernel/CommUlongStringKernel.cpp:19: error: `CCommUlongStringKernel' has not been declared kernel/CommUlongStringKernel.cpp:20: error: I23:34
kate_ok23:34
kate_wrong23:34
kate_wait23:34
kate_In file included from kernel/CommUlongStringKernel.cpp:11: ../shogun/lib/common.h:48:8: warning: undefining "__STDC_FORMAT_MACROS" kernel/CommUlongStringKernel.cpp:19: error: `CCommUlongStringKernel' has not been declared kernel/CommUlongStringKernel.cpp:20: error: ISO C++ forbids declaration of `CCommUlongStringK                                                     ernel' with no type kernel/CommUlongStringKernel.cpp: In function `int C23:35
blackburnsonney2k: need your help there, I can't see any reason why it fails23:36
kate_can i send you the errors in a txt file?23:36
kate_its too big!23:37
kate_In file included from kernel/CommUlongStringKernel.cpp:11: ../shogun/lib/common.h:48:8: warning: undefining "__STDC_FORMAT_MACROS" kernel/CommUlongStringKernel.cpp:19: error: `CCommUlongStringKernel' has not been declared kernel/CommUlongStringKernel.cpp:20: error: ISO C++ forbids declaration of `CCommUlongStringK                                                     ernel' with no type kernel/CommUlongStringKernel.cpp: In function `int C23:37
blackburnkate_: I think that's enough23:37
kate_kernel/CommUlongStringKernel.cpp:20: error: only constructors take base initializers kernel/CommUlongStringKernel.cpp:22: error: `properties' undeclared (first use this function) kernel/CommUlongStringKernel.cpp:22: error: (Each undeclared identifier is reported only once                                                      for each function it appears in.)23:37
kate_ok23:37
blackburnkate_: well I have quick solution for that23:43
kate_tell23:43
kate_me23:43
kate_please23:43
blackburnremove src/shogun/kernel/CommUlongStringKernel.cpp and src/shogun/kernel/CommUlongStringKernel.h23:43
blackburnyou23:44
blackburnspeak23:44
blackburnfunny23:44
blackburn:D23:44
kate_berofe i explain my funny talking (:D) i will do a quick question, should i install remove pkg?23:45
blackburninstall what?23:46
kate_remove23:46
blackburnI do not understand..23:46
kate_command...command did not found23:46
blackburnjust remove files23:46
blackburnah23:46
blackburnrm23:46
blackburnrm src/shogun/kernel/CommUlongStringKernel.*23:46
blackburnthat's a lame fix but I think you won't need that kernel.. :)23:47
kate_No such file or directory23:47
blackburnI guess you are already in src23:47
blackburnthen just23:47
blackburnrm shogun/kernel/CommUlongStringKernel.*23:47
blackburnand make it23:47
kate_ok now23:47
kate_and i will do make again?23:48
blackburnyes23:48
blackburnI hope there won't be such errors23:48
blackburnno idea why it appears on cygwin23:48
kate_c++: unrecognized option `-pthread' ui/GUIHMM.cpp:1: warning: -fPIC ignored for target (all code is position independent) In file included from ../shogun/io/SGIO.h:25,                  from ../shogun/base/SGObject.h:15,                  from ../shogun/ui/GUIHMM.h:16,                  from ui/GUIHMM.cpp:12:23:51
kate_../shogun/lib/common.h:48:8: warning: undefining "__STDC_FORMAT_MACROS" make[1]: *** No rule to make target `../shogun/kernel/CommUlongStringKernel.h', needed by `ui/GUIKer                                                                                nel.cpp.o'.  Stop.23:51
kate_make[1]: Leaving directory `/home/Kate/shogun/src/shogun' Makefile:39: recipe for target `libshogun-12.0.dll' failed make: *** [libshogun-12.0.dll] Error 223:52
blackburnok sure23:52
blackburndo git clean -dfx23:52
blackburnand ./configure --interfaces=python_modular23:52
blackburnand make23:52
blackburnsorry for such inconvenience - we don't like cygwin too much :)23:53
kate_no worries...23:54
blackburnbut in fact it compiles on our buildbot..23:54
kate_i should have change to linux 15 months now23:54
blackburnI consider linux to be more convenient for some tasks such as do machine learning :)23:59
--- Log closed Sun Jan 08 00:00:11 2012

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