IRC logs of #shogun for Thursday, 2011-06-30

--- Log opened Thu Jun 30 00:00:31 2011
f-xsonney2k: available?00:03
-!- f-x [~user@117.192.219.76] has quit [Read error: Connection reset by peer]00:33
CIA-32shogun: Sergey Lisitsyn master * r7c7e3de / src/libshogun/preprocessor/Isomap.h : Fix for K-Isomap procedure - http://bit.ly/lYIcVj00:46
-!- blackburn [~blackburn@31.28.40.202] has quit [Quit: Leaving.]01:02
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun07:04
-!- in3xes [~in3xes@59.163.196.121] has quit [Ping timeout: 240 seconds]07:07
-!- in3xes1 [~in3xes@180.149.49.227] has joined #shogun08:24
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]08:28
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun08:37
-!- in3xes1 [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]08:40
-!- blackburn [~blackburn@31.28.40.202] has joined #shogun10:03
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]10:36
-!- in3xes [~in3xes@180.149.49.227] has joined #shogun10:41
-!- f-x [~user@117.192.217.184] has joined #shogun11:23
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun11:34
-!- f-x [~user@117.192.217.184] has quit [Remote host closed the connection]11:38
-!- in3xes [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]11:38
-!- f-x [~user@117.192.217.184] has joined #shogun11:38
-!- heiko [~heiko@main.uni-duisburg.de] has joined #shogun12:12
-!- in3xes1 [~in3xes@180.149.49.227] has joined #shogun12:19
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 263 seconds]12:23
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun12:31
-!- in3xes1 [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]12:34
-!- in3xes1 [~in3xes@59.163.196.121] has joined #shogun13:26
-!- in3xes_ [~in3xes@180.149.49.227] has quit [Ping timeout: 240 seconds]13:29
blackburnheiko: hey13:48
heikohi blackburn13:53
blackburnheiko: how are you?13:53
heikoI am fine, how are you?13:53
blackburnfine too :)13:53
blackburnthere was a small issue with your code13:54
blackburnhave you seen?13:54
heikonot yet, where in?13:54
blackburnin string features13:54
blackburnhttps://github.com/shogun-toolbox/shogun/commit/cc04bff4895f290acac3e492d925a8638e7425f613:54
blackburnI didn't have any other idea how to get it compile13:55
blackburnheiko: the only thing I really wonder - it compiled on your machine, right?13:55
heikoyes it compiles here13:56
blackburnreally strange thing13:56
heikowhat is your error?13:56
heikothat subset is protected/private?13:56
blackburnthe error is that protected13:56
blackburnyes13:56
heikowhich compiler do you use?13:56
heikoI use gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)13:57
blackburngcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)13:57
blackburnI guess it is more swig related13:57
blackburnbecause an error was while .cxx files are processed13:57
heikoah ok13:58
blackburnI have SWIG Version 1.3.4013:58
blackburnwhat is you use?13:58
heikoI do not compile for swig13:58
blackburnhmm13:58
blackburnyou just compile it with interfaces=libshogun?13:58
heikowell I tried yesterday but gave it up because i had some error13:58
heikoyes13:58
blackburnI see13:58
heikobecause my machine is quite slow13:58
heikowell13:59
heikoI will just implement this13:59
heikothen the check can go13:59
blackburnokay13:59
blackburnnow it is compiling14:00
heikobut it is a strange bug anyway because it should be possible to access protected fields of instances of the same type14:01
heikoor am I wring?14:01
heikowroing14:01
heikowrong14:01
blackburnyes, it should be ok, but swig fails.. may be it is swig related14:01
heikook14:01
heikowell then, i will do this method now ...14:01
blackburnoh, I have realized that yesterday I removed my arpack.h with the whole shogun folder :D14:02
blackburnwriting it again hehe14:02
bettyboo<:*)14:02
blackburnI just re-cloned shogun but forgot that I haven't commited arpack.h14:03
blackburnrepititio est mater studiorum (I hope I remember it right) :)14:04
heikohehe :)14:08
heikooh no did you have to write it all again?14:08
blackburnyeap14:10
blackburnanyway it was 60% complete14:10
blackburnI done it already14:10
heikoJust sent a pull request14:15
blackburnI'll push it right now14:16
blackburn* but first will recall how to do it14:16
heikook :)14:17
heikoyes one has to be carefull14:17
CIA-32shogun: Heiko Strathmann master * r27b9479 / src/libshogun/features/StringFeatures.h : added remove subset in obtain_from_char_features - http://bit.ly/l0ZpQ214:18
CIA-32shogun: Heiko Strathmann master * rd10eaf3 / src/libshogun/features/StringFeatures.h : added subset support for obtain_from_char fixing sergey's fixme - http://bit.ly/j8KYb114:18
heikosomething similar happened to me a while ago, but luckily I only wrote interface up to that point :)14:18
heikoI always leave my editor open also14:18
heikoso I may save in case of such an accident14:18
blackburnI'm now trying to use vim :)14:18
blackburnwhat editor do you use?14:18
heikoI am lazy: eclipse14:18
heiko :)14:18
bettyboocrazy14:18
blackburnI was using eclipse too14:19
blackburntrying to get rid of it now14:19
heikowhy?14:19
blackburnit is pretty have and anyway I don't use it's features14:19
heikoI use the code browsing a lot14:20
heikoand automatic build/run stuff14:20
heikobut thats probably also possible with vim14:20
heikoI am just familiar with eclipse because I did a lot of java stuff with it14:20
blackburnI was using netbeans for java14:21
heikoI think eclipse really rocks for java14:21
blackburnI heard idea rocks :)14:21
blackburnI have to get some convenient ide for java to september: got an java developer job starting from september14:24
heikook14:24
heikowhere?14:25
blackburnnetcracker corp.14:25
heikowhat will you do?14:25
heikowhat do they do?14:25
blackburnoperational support systems14:25
blackburnfor telecom.14:26
blackburnI don't know exactly14:26
blackburnsome Java EE stuff14:26
blackburnuh.. some roc bug reported14:28
heikoafk sorry14:30
heikoI will be gone for 30 minutes, see you14:33
blackburnsee ya14:33
-!- heiko [~heiko@main.uni-duisburg.de] has quit [Ping timeout: 258 seconds]14:37
-!- f-x` [~user@117.192.217.184] has joined #shogun14:38
-!- f-x [~user@117.192.217.184] has quit [Remote host closed the connection]14:38
CIA-32shogun: Sergey Lisitsyn master * r336e167 / (3 files in 2 dirs): Fix for auROC and auPRC - http://bit.ly/mzzG3v15:20
blackburnwhoaa15:20
blackburnfixed15:20
-!- heiko [~heiko@main.uni-duisburg.de] has joined #shogun15:24
CIA-32shogun: Heiko Strathmann master * rded723b / (2 files in 2 dirs):15:44
CIA-32shogun: LibLinear now does now not SG_REF labels in appy anymore15:44
CIA-32shogun: (in fashion with other machines) - http://bit.ly/mz4YPM15:44
CIA-32shogun: Sergey Lisitsyn master * r715f2a2 / (2 files in 2 dirs): Merge branch 'master' of git://github.com/karlnapf/shogun - http://bit.ly/jkLwOF15:44
blackburnHeikoMachine16:01
heiko? :)16:04
blackburnhmm16:04
blackburnit is not compiling16:04
blackburnmake[1]: *** [Clustering_wrap.cxx] Error 116:05
blackburn../shogun/features/SparseFeatures.h:585: Error: Syntax error in input(3).16:05
-!- f-x`` [~user@117.192.217.184] has joined #shogun16:05
heikoeh16:05
-!- f-x` [~user@117.192.217.184] has quit [Remote host closed the connection]16:05
heikoIll check16:05
heikomine does16:06
heikobut again, no swig here16:06
blackburnyes it is swig16:06
blackburnwill try to find error now16:07
blackburnline 585 is a comment hehe16:08
blackburnwtf16:08
heikostrange thing16:09
heiko"syntax error" is also strange16:09
blackburnbtw it seems your eclipse is using spaces but not tabs16:15
heikono, acutally not. which file?16:18
blackburnSparseFeatures.h16:19
heikooh well, i re-installed the computer ..perhaps thats the reason...16:19
heikowhich line?16:19
heikomostly tabs here16:20
blackburnforgot :) may be <58516:20
blackburnI have glanced over that region with vim16:20
blackburnthere was spaces16:20
heikojust made eclipse show white space characters, but its settings are to use tabs16:24
-!- vojta [~quassel@gw-101.scnet.cz] has joined #shogun17:06
-!- vojta [~quassel@gw-101.scnet.cz] has quit [Read error: Connection reset by peer]17:06
-!- VojtechFranc [~quassel@gw-101.scnet.cz] has joined #shogun17:07
-!- VojtechFranc [~quassel@gw-101.scnet.cz] has quit [Read error: Connection reset by peer]17:17
-!- VojtechFranc [~quassel@217.117.216.101] has joined #shogun18:45
-!- heiko [~heiko@main.uni-duisburg.de] has quit [Ping timeout: 258 seconds]18:46
-!- VojtechFranc [~quassel@217.117.216.101] has quit [Remote host closed the connection]19:03
blackburnARPACK IS IN!19:18
serialhexYAY!!! :P19:22
bettyboohihi19:22
serialhexhihi bettyboo! how are you?19:22
bettybooserialhex: hey how are you?19:22
serialhexi'm good thnks!19:22
blackburnserialhex: how are you?19:22
serialhexi'm doing well!19:22
serialhexhow about yourself??19:23
blackburnI'm happy I almost finished that wrapper issues19:23
serialhexsweet!!19:23
blackburnyesterday I deleted arpack.h by mistake :D19:23
serialhexooh! oww!!!19:23
serialhexthat's never good!19:23
serialhexwhat else is new with you blackburn?19:25
blackburnserialhex: ah nothing new :)19:25
-!- in3xes1 is now known as in3xes19:26
blackburn3000 examples with 1.12s passed!19:47
CIA-32shogun: Sergey Lisitsyn master * re097863 / (src/libshogun/lib/arpack.cpp src/libshogun/lib/arpack.h): Added wrapper for ARPACK - http://bit.ly/mHNPMG19:56
CIA-32shogun: Sergey Lisitsyn master * r3d6a5b5 / src/libshogun/preprocessor/ClassicMDS.cpp : Added ARPACK support for ClassicMDS - http://bit.ly/kTiiv819:56
blackburnI fucking like it19:56
blackburn3 seconds for 500019:57
blackburnnow isomap is kinda bottleneck19:59
blackburnI guess I have to write some dijkstra with fibonacci heap20:02
-!- akhil_ [75d35896@gateway/web/freenode/ip.117.211.88.150] has joined #shogun20:07
CIA-32shogun: Sergey Lisitsyn master * r964dcbd / src/libshogun/preprocessor/ClassicMDS.cpp : Changed eigenpairs order in ClassicMDS with ARPACK - http://bit.ly/lL3KaR20:13
blackburnI have to have some vodka!20:14
-!- akhil_ [75d35896@gateway/web/freenode/ip.117.211.88.150] has quit [Quit: Page closed]20:35
CIA-32shogun: Sergey Lisitsyn master * r523a175 / (6 files): Merge branch 'master' of git://github.com/sploving/shogun - http://bit.ly/klyplP20:52
-!- f-x`` [~user@117.192.217.184] has quit [Ping timeout: 260 seconds]21:00
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun21:03
-!- in3xes [~in3xes@59.163.196.121] has quit [Ping timeout: 240 seconds]21:06
-!- in3xes_ is now known as in3xes21:09
-!- f-x [~user@117.192.194.239] has joined #shogun21:36
CIA-32shogun: Soeren Sonnenburg master * r884b32b / (6 files in 3 dirs):21:52
CIA-32shogun: Merge pull request #158 from karlnapf/master21:52
CIA-32shogun: subset support for sparse features - http://bit.ly/iuZjvl21:52
blackburnSoeren in da house21:53
blackburnsonney2k: you want arpack - you got arpack :D21:54
@sonney2kblackburn, heh22:07
@sonney2kthanks22:07
@sonney2kI hope it still works with lame lapack too :)22:07
blackburnsonney2k: yes, classic MDS works with any of them22:07
blackburni'll add similar thing to LLE tomorrow22:07
blackburnPCA is going to be changed too I guess22:08
@sonney2knice nice22:08
blackburnit is really fast as I said above22:08
blackburnLMDS for 5000 examples and 200 landmarks did it by 5s22:08
@sonney2kI just read the logs22:10
@sonney2ksounds nice22:10
@sonney2kblackburn, I hope your 'side' job will still leave you a few shogun minutes though - but hey congrats22:10
blackburnsonney2k: which side job?22:10
blackburnah22:11
blackburnthat one I got from september?22:11
@sonney2kyes :)22:11
blackburnit is half-time, ~4hrs a day, I really hope I will have much time for shogun too22:11
@sonney2kblackburn, ...and your studies!22:11
blackburnyes studies too :)22:12
* sonney2k why do I always have to remind you of this22:12
blackburnI don't know22:12
@sonney2kok, so lets see22:12
@sonney2kyou already did most of my job today22:12
blackburnhehe22:12
@sonney2kso I can fully concentrate on one patch now22:12
blackburnsome problem with heiko patch22:12
@sonney2kblackburn, still?22:13
blackburnanother one22:13
@sonney2kblackburn, ohh I just merged - so I should probably check for that and fix it22:13
@sonney2kblackburn, what is happening?22:13
blackburnthe issues are appearing because he is compiling it without any modular22:14
blackburnswig tells about some syntax error (sic!)22:14
@sonney2ksyntax error? where?22:14
blackburneh.. let me recall22:14
blackburnSparseFeatures22:14
blackburnsome 583 line or so22:16
@sonney2khmmhh void static?22:17
@sonney2kprobably static void22:17
@sonney2krecompiling22:17
blackburnAH!22:17
blackburnI really was staring at this line22:18
blackburnand seen nothing bad at all22:18
blackburnah yes22:18
blackburnlet me guess - it is because I do java too22:19
@sonney2know compiles22:20
CIA-32shogun: Soeren Sonnenburg master * rb54d7be / src/libshogun/features/SparseFeatures.h : Fix typo - void static -> should be static void - http://bit.ly/kimWCP22:21
blackburnnice22:21
blackburntoday have glanced over twitter of some scikits developer22:31
blackburnhe was wondering shogun have no projects with kernels22:32
f-xsonney2k: still there?22:37
@sonney2kblackburn, no kernels?22:48
@sonney2kf-x, yes22:48
blackburnsonney2k: kernel-based methods, he was disappointed we do an another general ML library :)22:48
f-xsonney2k: i'm facing a bit of a problem with that thing we discussed22:50
@sonney2kblackburn, well we are mostly kernel methods right - and I guess the *kernel methods* toolbox22:51
blackburnbut we have no kernel methods project22:51
@sonney2kblackburn, of course we also have large focus22:51
@sonney2kand need other infrastructure too22:51
@sonney2kyes it is more - world domination :)22:52
blackburnI hope next year gsoc we will pass through too22:52
@sonney2kf-x, ok please say what the problems are22:52
blackburnwith more students22:52
@sonney2kblackburn, and 5 clones of myself22:52
f-xsonney2k: ok. to begin: what object will be used by the parser?22:52
f-xas the input source22:52
blackburnsonney2k: i'll help you a bit ;)22:53
@sonney2kf-x, could you please repeat what the parser does?22:53
f-xsonney2k: in short, take input from somewhere, get that input converted into vectors and supply those vectors to whoever needs them (the StreamingFeatures objects)22:54
f-xin the previous implementation, the 'input' was through a StreamingFile object22:54
f-xsonney2k: it was the job of the StreamingFeatures objects22:55
f-xto set what functions the parser should use to read from the StreamingFile22:55
@sonney2kf-x, ok22:55
f-x(since the reading should be done differently for say SimpleFeatures and StringFeatures)22:55
f-xand since StreamingFile was the base class for all Streaming*Files, it was possible to just have a StreamingFile* as a member22:56
@sonney2kI totally swapped out the planned structure22:57
@sonney2khave SimpleStream, StringStream etc right?22:57
f-xsonney2k: yeah, that's what we planned22:58
f-xsonney2k: and we didn't specify one common base class for all these *Stream objects (which would replace the StreamingFile stuff)22:58
@sonney2kf-x, ok so since these will already return parsed vectors etc these need the parser(s)22:58
@sonney2kf-x, yeah but that was the feature22:59
@sonney2kI mean one common base class would need these many methods implemented22:59
f-xsonney2k: then the structure of the parser gets changed in many places23:00
f-xhow should i replace that StreamingFile object?23:00
f-xsonney2k: and with a common base class, we could just implement the dummy versions of the functions in the base class, and reimplement only the ones which apply to our case in the derived classes23:01
f-xand whenever someone calls the function from our derived class, the functions defined in the derived class are called23:01
@sonney2kf-x, but how does havng a single base class help?23:03
@sonney2kI mean you need only few functions for the respective feature types23:03
@sonney2kso you only need to implement those for that particular feature type interface23:04
@sonney2kand you also need a parser just for this feature type23:04
@sonney2kit doesn't help to have it for all types there23:04
@sonney2kthis means streamingfile is removed23:05
@sonney2kwith no replacement23:05
@sonney2kand instead you have SimpleStream etc23:05
f-xsonney2k: wait.. i guess it23:05
f-xwill be helpful for me if you could just open lib/InputParser.h23:06
@sonney2kdone23:06
f-xline ~24723:06
f-xnear the protected member declarations23:06
f-xsonney2k: i should throw away that input_source object?23:07
@sonney2kok23:07
@sonney2kf-x, I think I start to see your point now23:07
@sonney2kStreamingFile is the stream-centered view23:08
f-xsonney2k: exactly, not type-centered23:08
@sonney2kso you could have a file or network socket or whatever stream23:08
f-xcorrect23:08
@sonney2kand based on which is used it will stream from there23:08
f-xright23:08
f-xStreamingFile is at the top of all other classes23:08
f-xBelow that, we may have Streaming{Ascii,Binary}File,23:09
f-xStreamingSocket or whatever23:09
f-xsonney2k: and check out the definitions of the set_read_vector function just below the class definition23:09
f-xline ~27523:10
f-xthe StreamingFeatures object sets the "read_vector" function to be any member function of the StreamingFile class...23:10
f-xthat function pointer is class-dependent and parameter-dependent23:10
f-xi mean, it will work only with a function that comes directly or indirectly from a StreamingFile class23:11
@sonney2kI understand - stream centric it should be done exactly like it is now23:13
f-xsonney2k: here, we implement all the required vector reading functions (which read from an ascii file) in StreamingAsciiFile, and let the Features object choose which one it wants to use23:15
@sonney2kf-x, yes23:16
@sonney2kso if you do streamingfilefromfeatures it will only define the ones that make sense23:18
@sonney2kor simplefeatures even23:18
@sonney2kstreamingfilefromsimplefeatures23:19
f-xsonney2k: StreamingFileFromSimpleFeatures?23:19
f-xyes23:19
@sonney2kyes23:19
f-xonly say get_simple_int_vector() and all those things23:19
f-xthen StreamingSimpleFeatures23:19
f-xsets the read function (for the parser) to be get_simple_*_vector()23:19
f-xdepending on type T in StreamingSimpleFeatures<T>23:19
@sonney2kf-x, yes makes sense23:20
f-xsonney2k: so if done in this manner, the user will never use say get_string_*_vector() for any StreamingSimpleFeatures object, thus never encountering those unimplemented (dummy) functions23:20
blackburnmid-term is veryyyyy sooon23:20
@sonney2kso it makes a lot of sense to not have StreamingFile with all pure virtual functions but all of them just return SG_ERROR("not supported by interface") or so like you do23:21
@sonney2kerr stream23:21
f-xsonney2k: exactly. that's what i thought..23:22
@sonney2knto supported by stream23:22
@sonney2knot23:22
@sonney2kblackburn, fasten your seatbelts23:22
f-xyes, yes! now i've conveyed my point :)23:22
blackburnin fact I've done everything :D23:22
@sonney2kf-x, so it doesn't make sense to have SimpleStream etc but just StreaminSImpleFeatures etc23:23
@sonney2kf-x, so fine so good23:23
f-xsonney2k: for the time being, otherwise we have to make drastic changes23:24
@sonney2kthen I can only agree to this design23:24
blackburntoday jonas behr was very surprised with our shogun™ troubleshooting service© :D23:24
@sonney2kblackburn, it has never been better ;-)23:24
blackburnsonney2k: I forgot to change area_under_curve for column-major23:25
blackburnand he got 0.45 auROC for some task :D23:25
f-xsonney2k: so i just proceed with whatever i'd done before?23:25
@sonney2kf-x, I recall that we wanted to avoid some #define'd code with that other design - anyway23:25
blackburnauROC=0.45 is a pretty bad random decision I guess, right?23:25
@sonney2kf-x, what is your current pull request about?23:25
f-xsonney2k: the StreamingAsciiFile stuff; StreamingFileFromSimpleFeatures etc23:26
@sonney2kf-x, I mean the streamfromstimplefeatures is still new right?23:26
f-xyes, new as in not yet in the master repository23:26
@sonney2kf-x, ok - I have a few comments before I can merge this23:26
f-xsonney2k: go ahead23:27
@sonney2kblackburn, yeah - I read the emails. looks like anti learning :)23:27
@sonney2kf-x, please use SG_PRINT (or SG_SPRINT if not within SG_OBJECT) to do the printf / SG_WARNING/SG_ERROR respectively)23:27
@sonney2kf-x, then you still have void foo(void)23:28
@sonney2kplease use void foo();23:28
f-xsonney2k: yeah.. i haven't updated them.. that void thing was there in one of the standard shogun files.. any reason for it over there?23:28
@sonney2kf-x, I am fixing the void foo(void) thing whereever I find it23:29
f-xsonney2k: ok. i'll do it in mine too23:29
@sonney2kfeel free to do so too23:29
f-xsonney2k: sure23:29
@sonney2kf-x, then the multi-line string23:30
@sonney2kinseat of your23:30
@sonney2k+    SG_INFO("Call to unimplemented vector read function!\n"); \23:30
@sonney2k 5323:30
@sonney2k+    SG_INFO("This means this function is not appropriate "); \23:30
@sonney2k 5423:30
@sonney2k+    SG_INFO("for the type of feature you are working with,"); \23:30
@sonney2k 5523:30
@sonney2k+    SG_INFO("Or the corresponding reader isn't implemented.\n"); \23:30
@sonney2k123:30
@sonney2kplease use SG_ERROR("foo"23:30
@sonney2k"bar"23:30
@sonney2k"bla");23:30
f-xsonney2k: much better23:30
@sonney2kmlsec, bettyboo is no longer an op?23:30
bettyboosonney2k: I saw. maybe my swig_type_map.i. I write the ujmp typemap. so it is still have the error. i need have a check my typemap23:31
* sonney2k is happy to not be kicked due too flood23:31
f-xsonney2k: and before i forget23:31
f-x(unless you had further suggestions about my pull request first)23:31
blackburnbettyboo: would you marry serialhex?23:32
bettybooblackburn: will you marry23:32
bettyboonever mind23:32
f-xI think an OnlineMachine has to be made for all these online algorithms23:32
@sonney2kf-x, no that's it23:32
serialhexWTF!?!?!?23:32
serialhex you trying to get me married off blackburn???23:32
blackburnserialhex: sorry, but she is nice!23:32
@sonney2kserialhex, if knives won't do - woman will23:32
@sonney2kf-x, yes23:33
@sonney2kmakes sense23:33
serialhexshe is nice!  and knives will never be as nice as a woman!!!23:33
@sonney2kf-x, but note that some of them could still do batch training23:33
f-xsonney2k: either directly derived from CMachine or maybe even independent23:33
blackburnI suggest to create HeikoMachine for some fancy things23:33
@sonney2kf-x, you just need to introduce a new function to the streamingfile class - reset_stream (or so to seek to the beginning)23:34
f-xsonney2k: that would be nice, but i'm finding myself needing to create the online SGD as another class altogether23:34
@sonney2kblackburn, VodkaMachine is missing too23:34
@sonney2kf-x, why?23:34
blackburnnot VodkaMachine, AlcoMachine23:34
@sonney2kf-x, the calibrate thing cannot be the issue23:34
f-xah! yes, i remember that.. asked john for some suggestions regarding that too23:34
blackburnVodkaMachine is a simple structured learning base class23:34
@sonney2kf-x, I mean jus use the few N examples to do calibration and then start learning23:35
f-xsonney2k: but that won't work always, i think23:35
f-xso we'd be skipping the examples we calibrate from? (for training)23:35
CIA-32shogun: Sergey Lisitsyn master * r35c6ef6 / (2 files): Fix uppercase naming of MDSs - http://bit.ly/ignxoX23:36
@sonney2kf-x, sure - but that is how the batch SGD works - and it is an assumption that the examples come in random order23:36
@sonney2kf-x, or buffer them23:36
@sonney2kf-x, but calibration is done on a very small portion of examples usually23:37
f-xsonney2k: in the batch SGD, the calibration is done over the whole set23:37
@sonney2ksay 100023:37
f-x(or until some condition is matched)23:37
f-xokay.. c=0 in the beginning23:38
@sonney2kso it doesn't matter if we skip them23:39
@sonney2kf-x, what would an online machine do?23:39
@sonney2kI mean which interfaces would it provide?23:39
f-xsonney2k: probably the same stuff, but there'd be one difference23:40
f-xCLabels* may or may not be removed; that's secondary23:40
f-xbut in say CLinearMachine23:40
@sonney2kI currently don't see which extra features are needed23:40
f-xwhich operates on CDotFeatures*23:40
@sonney2kyes?23:40
f-xwe'll need it to work with StreamingDotFeatures23:40
f-xwhich isn't derived from DotFeatures23:41
f-xit only has the FP_DOT property which relates them23:41
@sonney2kf-x, yeah that is a problem23:41
f-xsonney2k: we could have a workaround23:42
@sonney2kso one would need Machine -> OnlineMachine -> OnlineLinearMachine,OnlineKernelMachine or so23:42
f-xsonney2k: that would do23:42
@sonney2kf-x, which?23:42
f-xhmm one minute23:42
f-xsonney2k: no sorry, that assumed we had a separate class for online sgd23:43
f-xforget about that23:43
f-xsonney2k: and if we make the Online* classes that way, what would CSVMSGD derive from?23:44
f-x(if we wish to make it both batch- and online-compatible?)23:44
@sonney2kOnlineLinearMacine23:44
@sonney2klook it is easy23:44
@sonney2kSGD could then check if the reset_stream_to_beginning() function is available23:45
@sonney2kand do batch learning23:45
@sonney2k(if enabled)23:45
f-xthen our features object would be of type CFeatures*, not CDotFeatures* ?23:45
@sonney2kf-x, always Streaming*Features23:45
@sonney2kfor SGD and other online methods23:46
f-xsonney2k: okay, so the user first makes the Streaming*Features object from the corresponding CDotFeatures object if he wants to use it23:46
f-xor we have a constructor which enables that23:46
f-xwithin SGD23:47
@sonney2kf-x, no23:47
@sonney2kthe user uses StreamingFileFromSimpleFeatures etc23:47
f-xsonney2k: exactly.23:47
f-xor the SGD has a constructor taking a CDotFeatures as argument, which does all that by itself23:48
f-x(the user won't have to instantiate a StreamingFileFromSimpleFeatures explicitly)23:48
@sonney2kthe other way round is not possible unfortunately, i.e. we cannot turn a streaming feature object into a batch one (number of vectors is just not known)23:48
@sonney2kf-x, but that would be messy in SGD23:49
f-xsonney2k: yeah, in general23:49
@sonney2kbecause then you need to write SGD twice23:49
@sonney2konce for dotfeatures and once for streamingdotfeatures23:49
@sonney2kthen better have SGD(CSimpleFeatures<float64_t>* feat)23:50
blackburnsonney2k: what is 'sg' analogue for shogun-data?23:50
blackburnssh://git@shogun-toolbox.org/shogun-data?23:50
@sonney2kor can we translate general dot features into StreamingF*Features?23:50
f-xsonney2k: not yet23:50
f-xbut i think it may be possible23:50
f-xbut not something to depend on right now23:51
@sonney2kf-x, hmmhh I guess that won't work. I mean you need a concrete feature vector right23:51
@sonney2kf-x, and dot features can be strings underneath and returning the (dense) feature representation would be a waste23:52
@sonney2kf-x, so better later do it23:52
f-xsonney2k: seems like there isn't a 'general' way to do it23:52
f-xat least now23:52
@sonney2kblackburn, yes23:53
@sonney2kf-x, wait there is - if you just map the dotfeature operations to streamingdotfeatures23:54
f-xtypecast?23:54
f-xsonney2k: sorry i'll need an example23:54
@sonney2kf-x, no - a new class that does the same as streamingfilefromsimplefeatures23:54
@sonney2kbut without ever returning a concrete vectro23:55
@sonney2kvector23:55
f-xsonney2k: StreamingFileFromDotFeatures?23:55
@sonney2kit just does these add_to_dense_vec etc stuff23:55
@sonney2kyes23:55
CIA-32shogun: Sergey Lisitsyn master * rd79f50b / examples/undocumented/python_modular/graphical/swissroll.py : Added swissroll python_modular graphical example - http://bit.ly/iiz35I23:55
@sonney2kso it relies on the algorithm underneath to only ever use the supplied operations23:55
blackburngit push does nothing in data..23:56
@sonney2kblackburn, did you git add ?23:56
f-xsonney2k: that could just work23:56
blackburnsonney2k: i did git add and git commit23:56
blackburnbut git push origin tells me 'everything is up-to-date'23:56
@sonney2kf-x, hmmhh could StreamingFileFromSimpleFeatures go then?23:58
@sonney2kblackburn, let me update23:58
@sonney2kblackburn, hmmhh says up-to-date23:59
blackburngit push does nothing hmm23:59
@sonney2kblackburn, you do the commit form within data?23:59
blackburnyes23:59
f-xsonney2k: it could go, yes23:59
blackburnit appears in git log23:59
--- Log closed Fri Jul 01 00:00:28 2011

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