--- Log opened Fri Feb 03 00:00:19 2012 | ||
-!- n4nd0 [~n4nd0@s83-179-44-135.cust.tele2.se] has quit [Quit: Leaving] | 01:25 | |
-!- dfrx [~f-x@inet-hqmc02-o.oracle.com] has joined #shogun | 05:39 | |
-!- dfrx [~f-x@inet-hqmc02-o.oracle.com] has quit [Remote host closed the connection] | 06:06 | |
-!- dfrx [~f-x@inet-hqmc02-o.oracle.com] has joined #shogun | 06:06 | |
-!- in3xes [~in3xes@59.163.196.121] has joined #shogun | 10:03 | |
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun | 11:16 | |
-!- in3xes1 [~in3xes@180.149.49.227] has joined #shogun | 11:19 | |
-!- in3xes [~in3xes@59.163.196.121] has quit [Ping timeout: 248 seconds] | 11:20 | |
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 252 seconds] | 11:22 | |
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun | 11:31 | |
-!- in3xes1 [~in3xes@180.149.49.227] has quit [Ping timeout: 260 seconds] | 11:35 | |
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 252 seconds] | 11:41 | |
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun | 11:53 | |
-!- policecar [~policecar@g225186186.adsl.alicedsl.de] has joined #shogun | 11:56 | |
-!- dfrx [~f-x@inet-hqmc02-o.oracle.com] has quit [Remote host closed the connection] | 12:00 | |
policecar | hey hey | 12:33 |
---|---|---|
policecar | i'm trying to do model selection w/ cross-validation, LibSVMMultiClass and a Gaussian kernel in python. i've tried to follow your examples closely for starters but i always get a "parameter with name C does not exist" error. | 12:33 |
policecar | i was wondering if i'm not instantiating the classifier correctly. how would i do that if i have a range of values rather than a single value per parameter? | 12:33 |
blackburn | hey | 12:39 |
policecar | hey | 12:39 |
blackburn | too bad there is no heiko here | 12:39 |
policecar | is he the guy to ask? ; ) | 12:40 |
blackburn | sure, he is an author of the CV stuff | 12:40 |
policecar | d'you think he'll come by sometime? | 12:41 |
blackburn | well let me try to help you | 12:41 |
policecar | ok, kewl | 12:42 |
policecar | should i paste code? | 12:42 |
blackburn | yeah would be start point for us | 12:43 |
policecar | the basic structure is the following | 12:47 |
policecar | root = ModelSelectionParameters() | 12:47 |
policecar | C = ModelSelectionParameters( "C" ); | 12:47 |
policecar | root.append_child( C ) | 12:47 |
policecar | C.build_values( 1, 11, R_EXP ) | 12:47 |
policecar | gauss_kernel = GaussianKernel() | 12:47 |
policecar | kernel = ModelSelectionParameters( 'kernel', gauss_kernel ) | 12:47 |
policecar | root.append_child( kernel ) | 12:47 |
policecar | width = ModelSelectionParameters( 'width' ) | 12:47 |
policecar | width.build_values( 1, 2, R_EXP ) | 12:47 |
policecar | kernel.append_child( width ) | 12:47 |
policecar | classifier = LibSVMMultiClass() | 12:47 |
policecar | feats = RealFeatures( features ) | 12:47 |
policecar | labels = Labels( labels ) | 12:47 |
policecar | splitting_strategy = StratifiedCrossValidationSplitting( labels, 10 ) | 12:47 |
policecar | evaluation_criterium = ContingencyTableEvaluation( ACCURACY ) | 12:47 |
policecar | hm, not the best place maybe, i'm being throttled due to flooding | 12:47 |
blackburn | hoho | 12:47 |
blackburn | :) | 12:47 |
policecar | wrt classifier, i also tried adding the following lines, to no avail | 12:50 |
policecar | classifier.set_C( 0.0, 1.0 ) | 12:50 |
policecar | classifier.set_kernel( gauss_kernel ) | 12:50 |
blackburn | there is set_C1 and set_C2 | 12:52 |
blackburn | but why set_kernel fails - no idea | 12:52 |
policecar | i dunno if it fails, i just still get the same error msg that parameter named C doesn't exist | 12:53 |
blackburn | ah | 12:53 |
policecar | one could also try walking the reverse way... the error is thrown by Parameter.cpp if !own | 12:58 |
policecar | and try to figure when and why that is the case | 12:58 |
blackburn | I feel shame for having difficulties with toolbox where I am a developer | 13:03 |
blackburn | :D | 13:03 |
policecar | oh no | 13:05 |
blackburn | hmm | 13:05 |
policecar | but it's a complex collection | 13:05 |
blackburn | policecar: are you subscribed to the mailing list? | 13:05 |
policecar | no | 13:05 |
policecar | i searched for the problem online, and got results from the mailing list i think but i'm not a subscriber | 13:06 |
policecar | so far i communicated here and on github | 13:06 |
blackburn | policecar: that would be nice if you subscribe and ask your question on the mailing list | 13:06 |
blackburn | then others would find how to solve the problem later | 13:07 |
policecar | alright | 13:07 |
policecar | will do | 13:07 |
blackburn | thanks | 13:07 |
blackburn | I think Heiko will answer rather rapidly | 13:07 |
blackburn | unfortunately have to go now | 13:08 |
blackburn | see you later | 13:08 |
-!- puneetgoyal [~puneetgoy@115.240.80.18] has joined #shogun | 13:08 | |
policecar | k | 13:09 |
policecar | cu | 13:09 |
policecar | thx | 13:09 |
-!- blackburn [~qdrgsm@109.226.79.14] has quit [Quit: Leaving.] | 13:09 | |
-!- puneetgoyal [~puneetgoy@115.240.80.18] has quit [Ping timeout: 248 seconds] | 13:17 | |
-!- in3xes1 [~in3xes@180.149.49.227] has joined #shogun | 13:27 | |
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 260 seconds] | 13:31 | |
-!- in3xes1 [~in3xes@180.149.49.227] has quit [Ping timeout: 248 seconds] | 13:34 | |
-!- policecar [~policecar@g225186186.adsl.alicedsl.de] has left #shogun [] | 14:13 | |
-!- in3xes [~in3xes@180.149.49.227] has joined #shogun | 15:42 | |
-!- in3xes [~in3xes@180.149.49.227] has quit [Ping timeout: 255 seconds] | 16:45 | |
-!- derp [811fd351@gateway/web/freenode/ip.129.31.211.81] has joined #shogun | 16:49 | |
-!- derp [811fd351@gateway/web/freenode/ip.129.31.211.81] has quit [Client Quit] | 16:49 | |
-!- Ram108 [~amma@219.64.147.192] has joined #shogun | 16:54 | |
-!- eric [2e1fd566@gateway/web/freenode/ip.46.31.213.102] has joined #shogun | 16:57 | |
eric | hi | 16:57 |
-!- eric is now known as Guest54284 | 16:57 | |
Guest54284 | would like information for linking shogun library with cmake | 16:58 |
Guest54284 | anyone did this before ? | 16:58 |
sonne|work | Guest54284: never tried but it is just -lshogun if you want to link against it | 17:20 |
Guest54284 | I am working on a C++ project for computer vision | 17:49 |
Guest54284 | using many C++ libraries | 17:49 |
Guest54284 | what advice could you tell me using shogun ofr calssification | 17:49 |
Guest54284 | my application is realtime | 17:50 |
Guest54284 | Should I use directly shogunlib (c++) | 17:50 |
Guest54284 | or better use modular interface ? | 17:50 |
-!- in3xes [~in3xes@210.212.58.111] has joined #shogun | 17:57 | |
sonne|work | most certainly libshogun from C++ is what you want | 18:09 |
sonne|work | Guest54284: for prototyping you could try a modular interface (like python_modular) | 18:09 |
sonne|work | it is very easy then to switch to C++ later (same syntax) | 18:10 |
Guest54284 | ok thanks a lot | 18:18 |
Guest54284 | great work btw | 18:18 |
Ram108 | sonney2k: hi i need some help regarding how to make a code shogun like | 18:26 |
-!- sonne|work [~sonnenbu@194.78.35.195] has left #shogun [] | 18:31 | |
Guest54284 | hi again, got lots of undefined "clapack" when compiling some shogun example | 18:32 |
Guest54284 | however I compile and install shogun without any error | 18:32 |
-!- Guest54284 [2e1fd566@gateway/web/freenode/ip.46.31.213.102] has quit [Quit: Page closed] | 18:50 | |
-!- blackburn [~qdrgsm@109.226.79.14] has joined #shogun | 18:51 | |
-!- eric [2e1fd566@gateway/web/freenode/ip.46.31.213.102] has joined #shogun | 19:35 | |
eric | hi there | 19:35 |
-!- eric is now known as Guest7912 | 19:35 | |
blackburn | hi | 19:35 |
Guest7912 | question about shogun compilation | 19:35 |
blackburn | shoot | 19:35 |
Guest7912 | I didn't manage to compile with numpy support | 19:36 |
Guest7912 | numpy + matplotlib installed | 19:36 |
-!- Ram108 [~amma@219.64.147.192] has quit [Quit: Ex-Chat] | 19:36 | |
blackburn | was it detected while configure? | 19:36 |
Guest7912 | but ./configure send NO python numpy support | 19:36 |
blackburn | what is os you use? | 19:36 |
Guest7912 | ubuntu 64b | 19:37 |
blackburn | then sudo apt-get install python-dev | 19:37 |
Guest7912 | done | 19:37 |
blackburn | that's the required thing | 19:37 |
Guest7912 | I know | 19:37 |
Guest7912 | have reinstall completely | 19:37 |
blackburn | so, is it 'NO' still? | 19:37 |
Guest7912 | yes that's why I'm here :p | 19:38 |
Guest7912 | crazy thing | 19:38 |
blackburn | hmm | 19:38 |
Guest7912 | what difference give ./configure --target=amd64 ? | 19:38 |
blackburn | well I've never used it.. | 19:39 |
blackburn | why do you want to specify target? | 19:39 |
Guest7912 | coz simple ./configure give host architecture i386 .. | 19:39 |
blackburn | hmm | 19:39 |
Guest7912 | I just download the lastest git version | 19:40 |
Guest7912 | and same errors .. | 19:40 |
Guest7912 | should I write the output of ./configure here ? | 19:41 |
blackburn | not here but please paste it somewhere | 19:41 |
blackburn | strange that i386 was detected, shouldn't be, we will try to fix | 19:42 |
Guest7912 | lastest git code give me the right architecture x86_64 | 19:43 |
blackburn | ah then use latest :) | 19:43 |
Guest7912 | but still no python support detected | 19:43 |
Guest7912 | I just tried with another lib and no numpy support detected again ... | 19:44 |
blackburn | wait a min | 19:44 |
Guest7912 | then smthg wrong with MY config | 19:44 |
blackburn | could you please | 19:44 |
blackburn | run python | 19:44 |
blackburn | and enter | 19:44 |
blackburn | import numpy | 19:44 |
Guest7912 | ImportError: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv | 19:45 |
blackburn | hah ok | 19:45 |
Guest7912 | lapack-dev installed btw | 19:45 |
Guest7912 | so is libatlas-dev | 19:46 |
blackburn | hmm something went wrong with numpy+atlas/lapack | 19:46 |
blackburn | could you please remove libatlas | 19:46 |
Guest7912 | should I remove atlas ? | 19:46 |
Guest7912 | okok | 19:46 |
blackburn | and try to import numpy once again | 19:47 |
Guest7912 | AttributeError: 'module' object has no attribute 'core' | 19:47 |
blackburn | what is your ubuntu version btw? | 19:47 |
Guest7912 | ImportError: /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv again | 19:47 |
Guest7912 | 11.10 | 19:47 |
blackburn | did you install anything related by hand? | 19:48 |
Guest7912 | ffmpeg ? | 19:48 |
blackburn | damn that's crazy | 19:49 |
blackburn | so you told me you reinstalled things already | 19:49 |
blackburn | right? | 19:49 |
Guest7912 | yep | 19:49 |
Guest7912 | I have to go dude sorry, (a girl) pb is still here, so I comin back soon! | 19:50 |
Guest7912 | thx anyway | 19:50 |
blackburn | well now you know that is the problem | 19:50 |
-!- Guest7912 [2e1fd566@gateway/web/freenode/ip.46.31.213.102] has quit [Quit: Page closed] | 19:51 | |
-!- blackburn [~qdrgsm@109.226.79.14] has quit [Quit: Leaving.] | 21:33 | |
CIA-11 | shogun: Soeren Sonnenburg master * r1778466 / (18 files in 5 dirs): | 22:49 |
CIA-11 | shogun: Merge pull request #366 from karlnapf/master | 22:49 |
CIA-11 | shogun: added print_modsel_params method (+7 more commits...) - http://git.io/4uiTEg | 22:49 |
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun | 23:31 | |
-!- in3xes [~in3xes@210.212.58.111] has quit [Ping timeout: 252 seconds] | 23:34 | |
--- Log closed Sat Feb 04 00:00:19 2012 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!