IRC logs of #shogun for Thursday, 2011-07-14

--- Log opened Thu Jul 14 00:00:18 2011
blackburnalesis-novik: how are you?00:03
alesis-novikHey blackburn, same as always I guess :)00:03
alesis-novikYou?00:04
blackburnfine, except of suffering some teethache :)00:04
alesis-novikouch00:06
alesis-novikThat's one of the worst things00:07
blackburnwhat's up with your EMs? anything cool? :)00:07
blackburnyeah, I was kinda careless again and will go to dentist soon00:08
alesis-novikWell, I'm working on Split-Merge EM now00:08
blackburnwhat is it?00:08
alesis-novikAlso planing to clean up the examples00:08
alesis-novikEssentially it has a step when it splits one of the mixture components into 2 and merges 2 components into 1 (at the same time)00:09
blackburnah00:09
blackburnI see00:09
alesis-novikThus the number of components stays the same, but it can produce a better fit00:09
alesis-novikFor example with the current EM implementation, it sometimes decides to fit a single gaussian over all of the data, which is wrong00:10
alesis-novikHopefully Split-Merge EM will fix that00:10
blackburnsplit-merge isn't a 'classical' EM, right?00:11
alesis-novikNo, I guess you could call it an extension00:12
blackburnI see00:12
alesis-novikIt shouldn't take long to implement and it can use the same examples as the 'classical' EM00:14
blackburnnice00:15
blackburnit seems there are a lot of EMs, right?00:15
alesis-novikWell, there are many methods to make EM better along different dimensions for GMMs00:29
alesis-novikBut EM generally is a method00:30
blackburnah I see00:30
alesis-novikSo it's used with many different things, not just GMMs00:30
blackburnokay late here00:32
blackburnalesis-novik: see you00:32
alesis-novikSee you blackburn00:32
-!- blackburn [~blackburn@188.122.238.99] has quit [Quit: Leaving.]00:32
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Read error: Connection reset by peer]01:04
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun01:06
-!- alesis-novik [~alesis@cpat001.wlan.net.ed.ac.uk] has quit [Quit: Leaving]02:32
-!- f-x [~user@117.192.199.83] has joined #shogun05:33
-!- in3xes_ [~in3xes@180.149.49.227] has joined #shogun06:24
-!- in3xes [~in3xes@180.149.49.227] has quit [Ping timeout: 250 seconds]06:26
-!- in3xes [~in3xes@180.149.49.230] has joined #shogun06:30
-!- in3xes [~in3xes@180.149.49.230] has quit [Client Quit]06:32
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has quit [Ping timeout: 276 seconds]06:41
-!- serialhex [~quassel@99-101-148-183.lightspeed.wepbfl.sbcglobal.net] has joined #shogun06:42
-!- f-x [~user@117.192.199.83] has quit [Read error: Connection reset by peer]07:18
CIA-32shogun: Soeren Sonnenburg master * r140b139 / examples/undocumented/python_modular/library_fisher2x3_modular.py : add example for fisher test - http://bit.ly/neVWTu09:03
-!- vojta [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has joined #shogun09:24
-!- vojta is now known as VojtechFranc09:24
-!- VojtechFranc [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has quit [Remote host closed the connection]09:34
-!- vojta [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has joined #shogun09:34
-!- vojta is now known as VojtechFranc09:34
-!- VojtechFranc [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has quit [Remote host closed the connection]09:34
-!- in3xes [~in3xes@180.149.49.227] has joined #shogun10:27
-!- in3xes [~in3xes@180.149.49.227] has quit [Read error: Connection reset by peer]10:54
-!- in3xes [~in3xes@180.149.49.227] has joined #shogun10:55
-!- blackburn [~blackburn@188.122.238.99] has joined #shogun11:06
-!- blackburn [~blackburn@188.122.238.99] has quit [Ping timeout: 255 seconds]11:51
-!- blackburn [~blackburn@188.122.238.99] has joined #shogun11:59
-!- in3xes [~in3xes@180.149.49.227] has quit [Remote host closed the connection]12:23
-!- in3xes_ is now known as in3xes12:44
-!- sploving1 [~sploving@124.16.139.134] has joined #shogun13:03
sploving1sonney2k, anything?13:04
-!- blackburn1 [~blackburn@188.122.238.99] has joined #shogun13:15
-!- blackburn [~blackburn@188.122.238.99] has quit [Ping timeout: 255 seconds]13:17
@sonney2ksploving1, yes13:19
sploving1sonney2k, what is going on?13:19
@sonney2ksploving1, I was wondering what the state regarding the examples is?13:20
@sonney2kwhich are still missing?13:20
sploving1most of the exmaples are added. just remaining some kernel examples.13:21
sploving1I am working on them13:21
sploving1now13:21
sploving1maybe no more than ten about13:21
@sonney2ksploving1, ok that sounds good13:23
@sonney2kthe only thiing left though is that you check if these examples give the same result like the python ones13:24
@sonney2kotherwise we won't know if they all work13:24
@sonney2kyou can do this by printing out the numbers in both python / java and comparing them13:24
sploving1I know. I will do this after adding these examples.13:26
sploving1I think the result are the same. as the typemap works well.13:26
@sonney2ksploving1, yeah they should be... you should at least compare the most complex examples (as in that use many algorithms to return something)13:28
@sonney2kif these work for all the different feature types than the rest will likely too13:28
@sonney2ksploving1, when that is done I would suggest to start with lua?13:28
@sonney2kyou were very familiar with lua right?13:29
sploving1lua basic typemap are already work now13:29
sploving1now just discuss with what library need support13:30
sploving1I have no idea now. I will discuss it later with my mentor next irc meetin13:31
-!- f-x [~user@117.192.194.58] has joined #shogun13:33
@sonney2ksploving1, I guess you should just use the existing lua tables...13:41
sploving1maybe. As I found there is no other API suiable to lua matrix13:43
@sonney2ksploving1, and lists of strings work as is... sparse matrix is then just not supported (or one has to load this directly with shogun)13:46
@sonney2ksploving1, I will ask the torch5 guys if they are still developing their toolbox - if so we should try to interface with them. but the baseline is still basic types13:47
sploving1okay. but its API docs is not well. just a little: http://torch5.sourceforge.net/manual/luaT/index-2.html13:52
@sonney2ksploving1, I sent them an email14:01
sploving1sonney2k, thx.14:01
sploving1sonney2k, in kernel_weighted_degree_position_string_modular.py example14:07
sploving1from numpy import zeros,ones,float64,int3214:07
sploving1#kernel.set_shifts(zeros(len(fm_train_dna[0]), dtype=int32))14:07
sploving1#kernel.set_position_weights(ones(len(fm_train_dna[0]), dtype=float64))14:07
sploving1why use "#"?14:08
sploving1does that mean it cannot work?14:08
@sonney2ksploving1, just to illustrate that there are more options14:19
sploving1sonney2k, another thing, from shogun.Distribution import HMM, BW_NORMAL. then in java, ne need write: import ??14:21
@sonney2ka static import like we have for DNA14:21
sploving1import static org.shogun.EAlphabet.DNA; I mean import static org.shogun.?.BW_NORMAL;14:22
sploving1I forgot grep. I will use it14:23
-!- heiko [~heiko@main.uni-duisburg.de] has joined #shogun14:27
-!- f-x [~user@117.192.194.58] has quit [Read error: Connection reset by peer]14:35
sploving1sonney2k, public boolean set_shifts(SWIGTYPE_p_int shifts, int len)  should be public boolean set_shifts(Doublematrix) {14:36
sploving1I think WeightedDegreeStringKernel need change the set_shifts method14:36
sploving1it  is the same for the set_position_weights method14:37
-!- f-x [~user@117.192.194.58] has joined #shogun14:41
-!- f-x [~user@117.192.194.58] has quit [Read error: Connection reset by peer]14:50
@sonney2ksploving1, this function needs to be converted for SGVector - so just assume that it works I can fix that later14:52
sploving1sonney2k, ok14:52
-!- f-x [~user@117.192.194.58] has joined #shogun15:00
CIA-32shogun: Soeren Sonnenburg master * r32a8769 / (6 files in 5 dirs):15:19
CIA-32shogun: Merge pull request #194 from karlnapf/master15:19
CIA-32shogun: first working little python_modular example (+5 more commits...) - http://bit.ly/pbhsyk15:19
@sonney2kheiko, I am getting excited :)15:22
heikoyes, me too :)15:23
heikothe example is a little one15:23
heikobut hower15:23
heikohowever15:23
heikobut i also got another problem:15:23
blackburn1hey guys is "bioinformatics the machine learning approach" by baldi a good textbook?15:23
heikoswig/python detected a memory leak of type 'CDynamicObjectArray< shogun::CParameterCombination > *', no destructor found.15:24
heikoblackburn1, i do not know15:24
blackburn1heiko: bad boy15:24
heikolol :)15:24
blackburn1:D15:24
-!- VojtechFranc [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has joined #shogun15:27
@sonney2kwhy is heiko always causing so much trouble ;-)15:27
heikohehe google pais me for this ;)15:28
@sonney2kblackburn1, I haven't read this one. Are you seriously interested in doing machine learning and bioinformatics at some point?15:28
@sonney2kheiko, too bad that google doesn't pay me for this ;-)15:28
heiko:D15:29
sploving1blackburn1, do you know how to write a simple function that equal: fm_hmm_pos=[traindat[i] for i in where([label_traindat==1])[1] ] in kernel_top_modular.py15:29
sploving1java function15:29
heikosonney2k, this method, what does it mean? I mean, CDynamicObjectArray has a destructor15:30
heikoehm message15:30
heikonot method15:30
sploving1blackburn1, if there is not, I will use the for loop15:31
CIA-32shogun: Soeren Sonnenburg master * r61647c8 / (2 files): convert set_position_weights and set_shifts to SGVector - http://bit.ly/qjo2VE15:33
CIA-32shogun: Soeren Sonnenburg master * r4d8af57 / (6 files in 5 dirs): Merge branch 'master' of github.com:shogun-toolbox/shogun - http://bit.ly/pprfQj15:33
CIA-32shogun: Soeren Sonnenburg master * r0849d96 / examples/undocumented/libshogun/modelselection_model_selection_parameters_test.cpp :15:34
CIA-32shogun: Merge pull request #195 from karlnapf/master15:34
CIA-32shogun: more tests - http://bit.ly/rh6fS115:34
@sonney2ksploving1, fixed15:35
sploving1oh15:35
@sonney2kheiko, no idea15:36
@sonney2kwhen does it occur?15:36
heikowhen i call CModelSelectionParameter::get_combinations()15:36
@sonney2kheiko, does that thing return a new object?15:36
heikowhich creates a new instance of  DynamicParameterCombinationArray15:36
@sonney2kso yes?15:36
heikoyes15:36
@sonney2kheiko, then you have to use the %newobject  CModelSelectionParameter::get_combinations; directive15:37
heikoi have %newobject get_combinations();15:37
@sonney2kthis tells swig that this function creates a new object :)15:37
heikodo i need the class before this?15:37
@sonney2kit should work like this - could be that it needs to know the namespace15:37
heikotesting ...15:38
heikooh yes, the classname fixed it :)15:38
heikowhat about pure virtual methods15:39
heikowhich classname to use?15:39
heikothe one of the implementing class?15:39
blackburn1sonney2k: yeah, kinda interested15:41
blackburn1sploving1: no, can't mind any non-loop solution15:42
@sonney2kheiko, http://www.swig.org/Doc2.0/Customization.html#Customization_ownership15:42
heikook will have a look, thanks15:44
heikosonney2k, blackburn, anyone of you could give me another hint for swig stuff?15:56
heikoget_combinations returns in c++ CDynamicObjectArray<CParameterCombination>*15:56
@sonney2kheiko, regarding what?15:56
heikoa new instance15:56
heikoI can call this from python15:56
@sonney2kdoesn't %newobject work now?15:56
heikoyes it does15:56
heikobut i cannot call methods on the object, the type is somehow wrong15:57
heiko<Swig Object of type 'CDynamicObjectArray< shogun::CParameterCombination > *' at 0x936ed58>15:57
heikowhereas temp=DynamicParameterCombinationArray gives15:57
@sonney2kheiko, did you use %template to define it?15:57
heikoyes15:57
heiko<shogun.Modelselection.DynamicParameterCombinationArray; proxy of <Swig Object of type 'shogun::CDynamicObjectArray< shogun::CParameterCombination > *' at 0x936ead0> >15:57
@sonney2kheiko, in the right namespace?15:58
heikoI used shogun15:58
@sonney2khmmhh it is correct15:59
@sonney2kwhat code snippet does not work16:00
@sonney2kI cannot see it from what you pasted so far16:00
heikook16:00
heikoin the modelselection_parameter_tree_modular example16:01
heikojust add16:01
heikocombinations=root.get_combinations()16:01
heikocombinations.get_num_elements()16:01
heikoerror is AttributeError: 'SwigPyObject' object has no attribute 'get_num_elements'16:01
heikoand the type of "combionations" is16:02
heiko<Swig Object of type 'CDynamicObjectArray< shogun::CParameterCombination > *' at 0x936ed58>16:02
heikobut it should be something like i get when i do:16:02
heikotest=DynamicParameterCombinationArray()16:02
heiko>>> test16:02
heiko<shogun.Modelselection.DynamicParameterCombinationArray; proxy of <Swig Object of type 'shogun::CDynamicObjectArray< shogun::CParameterCombination > *' at 0x936ead0> >16:02
blackburn1uh it was a mistake I ran isomap on 10000 examples16:11
heikosonney2k, got to go now, will come back later16:16
-!- heiko [~heiko@main.uni-duisburg.de] has quit [Ping timeout: 258 seconds]16:21
-!- heiko [~heiko@main.uni-duisburg.de] has joined #shogun16:21
-!- heiko [~heiko@main.uni-duisburg.de] has quit [Client Quit]16:21
* sonney2k listens to blackburn1 harddisk seeking music16:27
-!- blackburn1 [~blackburn@188.122.238.99] has quit [Ping timeout: 255 seconds]16:30
-!- heiko [~heiko@main.uni-duisburg.de] has joined #shogun16:36
sploving1sonney2k, TOPFeatures(int size, SWIGTYPE_p_shogun__CHMM p, SWIGTYPE_p_shogun__CHMM n, boolean neglin, boolean poslin)16:44
sploving1in TopFeatures.java, it should be TOPFeatures(int size, SWIGTYPE_p_shogun__CHMM p, SWIGTYPE_p_shogun__CHMM n, boolean neglin, boolean poslin)16:45
sploving1TOPFeatures(int size, HMM p, HMM n, boolean neglin, boolean poslin)16:45
@sonney2ksploving1, features don't know about distributions - so that is the problem16:45
@sonney2kf-x, btw did you manage to run svmsgd2 on the challenge data?16:46
sploving1sonney2k, can not fix it??16:47
@sonney2kdoing16:47
sploving1okay16:49
-!- sploving1 [~sploving@124.16.139.134] has left #shogun []16:49
-!- VojtechFranc [~quassel@2001:718:2:1634:221:6aff:fe58:151a] has quit [Remote host closed the connection]16:50
CIA-32shogun: Baozeng Ding master * r686bc79 / (4 files): added some kernel examples - http://bit.ly/nslH3916:51
CIA-32shogun: Soeren Sonnenburg master * re639ed1 / (4 files):16:51
CIA-32shogun: Merge pull request #196 from sploving/master16:51
CIA-32shogun: add some kernel example for java_modular - http://bit.ly/nzXcuY16:51
heikosonney2k, do you have any idea for this type error? i am stuck with it :(16:51
heikosomehow, python does not recognize the return type as the defined template16:52
-!- gsomix [~gsomix@85.26.233.160] has joined #shogun16:57
@sonney2kheiko, I've never seen sth like this before17:21
heikooh :(17:21
heikoi searched for examples where a templated newobject is returned, but found none17:22
@sonney2kI suspect that the %template definition is wrong17:22
heikoyes, me too, but which one is the correct one?17:23
heikoi tried adding several shogun:: , but does not help17:23
CIA-32shogun: Soeren Sonnenburg master * r2f5bb6e / (9 files): make distributions known from features - http://bit.ly/nUtcT717:23
@sonney2kusually swig spits out warnings17:24
heikommh, ok, but however, this method is not SO important for now17:25
heikoi am putting the grid-search example together now,17:25
heikothere, no methods returns an array instance17:25
heikoso it should work :)17:25
@sonney2khttp://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_renaming_templated_types_namespaces17:26
@sonney2kheiko, look at this %template(ABCXYZ) Space::ABC<Space::XYZ>;17:26
@sonney2kof course we have namespace around this so Space shouldn't be necessary I thought17:27
heikoI already tried this :(17:28
-!- heiko [~heiko@main.uni-duisburg.de] has quit [Ping timeout: 258 seconds]17:34
-!- gsomix [~gsomix@85.26.233.160] has quit [Read error: Connection timed out]17:39
-!- gsomix [~gsomix@85.26.233.160] has joined #shogun17:39
@sonney2kheiko! fixed!17:42
CIA-32shogun: Soeren Sonnenburg master * rf87cfdd / (2 files in 2 dirs):17:43
CIA-32shogun: change order of includes to fix17:43
CIA-32shogun: <shogun.Modelselection.DynamicParameterCombinationArray; proxy of <Swig Object of type 'shogun::CDynamicObjectArray< shogun::CParameterCombination > *' at 0x936ead0> >17:43
CIA-32shogun: problem. - http://bit.ly/p6PJoH17:43
-!- gsomix [~gsomix@85.26.233.160] has quit [Ping timeout: 255 seconds]18:11
-!- [1]warpy [~warpy@bzq-79-181-19-104.red.bezeqint.net] has joined #shogun18:16
[1]warpyhey guys anyone here?18:16
[1]warpytrying to solve a compilation error with 0.10. i am not sure why it quit "install -d -m755 //usr/local/lib18:16
[1]warpyinstall -d -m755 "//usr/local/include/shogun"18:16
[1]warpyinstall -m755 libshogun.so.9.0 //usr/local/lib18:16
[1]warpyinstall -m755 libshogun.a //usr/local/lib18:16
[1]warpyinstall: cannot stat `libshogun.a': No such file or directory18:16
[1]warpymake[1]: *** [install-libshogun] Error 118:16
[1]warpymake[1]: Leaving directory `/media/sf_ubunto_shared/shogun-0.10.0/src/libshogun'18:16
[1]warpymake: *** [install] Error 218:16
[1]warpyroot@ori-VirtualBox:/media/sf_ubunto_shared/shogun-0.10.0/src#18:16
[1]warpysorry, was going to paste one line..18:16
-!- gsomix [~gsomix@85.26.235.116] has joined #shogun18:24
-!- gsomix [~gsomix@85.26.235.116] has quit [Ping timeout: 255 seconds]18:38
-!- gsomix [~gsomix@85.26.232.212] has joined #shogun18:51
-!- [1]warpy [~warpy@bzq-79-181-19-104.red.bezeqint.net] has quit [Ping timeout: 252 seconds]19:13
-!- gsomix [~gsomix@85.26.232.212] has quit [Ping timeout: 255 seconds]19:27
-!- blackburn [~blackburn@188.122.238.99] has joined #shogun19:46
-!- gsomix [~gsomix@85.26.233.55] has joined #shogun19:48
blackburnsonney2k: another one include to make things work? :D19:51
bettybooha ha.19:51
blackburnsonney2k: meet gsomix19:51
* gsomix away19:52
-!- blackburn [~blackburn@188.122.238.99] has quit [Quit: Leaving.]19:54
-!- blackburn [~blackburn@188.122.238.99] has joined #shogun19:54
blackburnokay my wi-fi deserves to die19:55
-!- f-x [~user@117.192.194.58] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]20:14
-!- f-x [~user@117.192.194.58] has joined #shogun20:15
-!- f-x [~user@117.192.194.58] has left #shogun []20:15
-!- f-x [~user@117.192.194.58] has joined #shogun20:15
f-xsonney2k: ran sgd2 and sgdqn on 100k test, 100k training examples20:19
f-xthey are about 3-4% more successful than the shogun sgd at classification20:19
@sonney2kblackburn, yes20:22
@sonney2keven more includes :/20:22
@sonney2kgsomix, welcome...20:28
gsomixhi20:28
@sonney2kf-x, even the batch SGD variant?20:29
@sonney2kf-x, if so we need to figure out why.20:29
f-xsonney2k: yes20:29
@sonney2kgsomix, so you are working with blackburn?20:29
f-xi'm looking into it now20:29
gsomixsonney2k, yep20:30
@sonney2kf-x, thanks20:30
blackburnsonney2k: if you have more 'tasks' let me or him know ;)20:31
-!- [1]warpy [~warpy@bzq-79-181-19-104.red.bezeqint.net] has joined #shogun20:33
@sonney2kgsomix, well c5.0 integration, the multiclass svms, lots of SGVector transitioning, nice visual examples for python modular (that generate figures or are interactive)20:33
@sonney2kblackburn, ^20:33
@sonney2kor kdtree20:33
@sonney2ketc etc :)20:33
blackburnsonney2k: cover tree20:33
@sonney2kerr yes20:33
blackburnsonney2k: now he is working on fibonaccy heap hehe20:33
[1]warpyhey soeren20:34
[1]warpyhey blackburn20:34
blackburnhey warpy ;)20:34
@sonney2kgsomix, just ask blackburn when you have questions. he knows everything :D20:34
@sonney2khey20:34
[1]warpyi dove into github20:34
bettybooyou here?20:34
[1]warpyi am trying to add an upstream20:34
[1]warpyfor upstream: url = git://github.com/octocat/shogun-toolbox.git or url = git://github.com/octocat/shogun.git doesnt work20:35
gsomixsonney2k, ok20:35
[1]warpydo you know the correct address?20:35
blackburnwhy are you trying to add upstream?20:35
[1]warpyit says so on the help page20:35
blackburnjust clone your fork and you will have your upstream in git remotes20:35
[1]warpyyou realise i have no idea what you just said20:36
[1]warpyi am like only a day into this20:36
blackburn:D20:36
[1]warpyi cloned my fork. sounds nasty though20:36
[1]warpywhat is git remotes20:36
[1]warpyah yes20:37
blackburnokay you have your local git repo20:37
[1]warpylook here at 2.20:37
[1]warpyhttp://help.github.com/fork-a-repo/20:37
[1]warpyit says remotes (also upstream at the same time)20:37
blackburnah20:37
blackburnokay20:37
[1]warpyso what is the correct address20:37
blackburnI'm sure your upstream is set already20:38
blackburntry20:38
blackburngit pull upstream master20:38
[1]warpywhat does that do20:39
[1]warpybefore i try it20:39
[1]warpyi dont want to screw things20:39
[1]warpyit has taken me a whole day to setup this mess20:39
blackburnright address should be git://github.com/shogun-toolbox/shogun.git20:40
blackburnwith these command you just update your git repo with up-to-date upstream20:40
blackburni.e. if sth is changed in shogun-toolbox/shogun - git pull upstream master will _pull_ these changes from _master_ branch20:41
[1]warpyi thought pull is a request to insert something to the master branch20:41
[1]warpyokay works20:42
[1]warpyi did git fetch upstream20:42
blackburnso upstream is set already20:42
[1]warpyno20:42
[1]warpyi manually set it20:42
blackburnah20:42
blackburnokay20:42
blackburnstrange btw, it should be set20:42
[1]warpyokay so now i am going to copy some files into it20:42
blackburnyes20:42
[1]warpyand then20:42
blackburnthen just do git add for these files20:42
blackburngit commit -m 'Some message'20:43
blackburnand git push origin20:43
[1]warpyso commit is a limbo state ?20:43
[1]warpyand push is uploading ?20:43
blackburnyes20:43
blackburnwith push you will upload your repo state to github20:43
blackburnwith commit you just save it or so20:44
@sonney2kf-x, my guess is that I didn't get the learning rate or so right in shogun20:44
@sonney2kf-x, so I would look there20:44
f-xsonney2k: hmm. i'll begin from there20:44
[1]warpyhey soeren, i sent you two emails. the second one is accidental. did you see the first though ?20:45
f-xbtw do you think the implicit normalization in the convert.py script can have any effect?20:45
f-xsince the calibrate() function waits till the sum of features exceeds 1000, so it calibrates using many more vectors in the normalized form than the raw form20:46
@sonney2k[1]warpy, does that bug still exist?20:48
@sonney2kI just built and it is compiling fine20:49
@sonney2kahh that was c#20:49
@sonney2k[1]warpy, yes the problem is the typemaps are just not correct20:52
@sonney2kthey cause build failure20:52
@sonney2kf-x, well you can use the libsvm format and read it with shogun20:53
@sonney2kf-x, could very well bee20:53
@sonney2kbe20:53
-!- gsomix [~gsomix@85.26.233.55] has quit [Ping timeout: 252 seconds]20:53
f-xsonney2k: okay, i'll try that too.. after some inspection of the code20:54
blackburnsonney2k: you forgot to remind we have castle siege in world of warcraft20:56
@sonney2kblackburn, wft?20:56
[1]warpydamnit20:57
blackburnsonney2k: I was denied to joke during meetings so have to joke now :D20:57
[1]warpyi realy need some expert help, we are driving full gas in neutral :)20:57
bettybooho20:57
[1]warpysoeren what about the c# warnings20:57
[1]warpyabout ref -> _ref20:58
[1]warpyand string -> _string20:58
[1]warpyetc20:58
@sonney2kthese are harmless20:59
@sonney2k[1]warpy, the problem really is that typemaps are just not there yet and it is more difficult to do them then for other scripting languages21:00
@sonney2kI haven't found any how to extend c# from C# native interface docu21:00
-!- heiko [~heiko@134.91.10.200] has joined #shogun21:01
[1]warpydoes the java thing compile completely ?21:02
@sonney2kyes21:03
[1]warpyouch21:04
@sonney2knot all examples work but 90% of them by now21:04
[1]warpyi thought the conversion will go smoothly21:04
@sonney2kwhat is missing is things like how to access a csharp array from C21:04
@sonney2khow to get the pointer to all those values ...21:04
[1]warpyin my typemap ? or in swig ?21:05
[1]warpybtw do we need the data repository to test the examples ?21:05
@sonney2kin csharp_modular/swig_typemaps.i21:06
[1]warpyalso if we are on the subject, i didnt see any sparse matrix support in the java code, is it something that needs to be added or a normal matrix can be used instead?21:07
@sonney2k[1]warpy, I had a closer look on these typemaps and from what I see there is that these all are not yet even close to work21:08
@sonney2k[1]warpy, well sparse matrix is not so important I would say21:08
@sonney2kin the worst case you convert a dense into a sparse one21:08
@sonney2kor load it directly with shogun's functions into shogun objects21:08
[1]warpybut libsvm and svmlight natively use sparse matrices in their input files.21:09
[1]warpyunless its because that shogun can handle those billion examples ?21:10
blackburnhaha guys from scikit-learn suffering LLE instability just like me, what a bad algo to work with21:10
@sonney2k[1]warpy, well shogun has i/o support for such files21:11
[1]warpyso shogun reads sparse then converts to dense and sends them to the cpp code ?21:11
[1]warpyblackburn, i dont think it updated the github. how can i tell21:11
[1]warpyhttps://github.com/orico/shogun21:12
-!- f-x [~user@117.192.194.58] has quit [Read error: Connection reset by peer]21:12
-!- f-x [~user@117.192.194.58] has joined #shogun21:12
blackburn[1]warpy: have you made commit and then git push?21:12
@sonney2k[1]warpy, no shogun reads sparse and it stays sparse21:13
@sonney2kbut you can send dense and shogun has a function to convert to sparse21:13
[1]warpybut it will know how to use normal matrices from the type map as sparse ? (sorry if i sound too newbie)21:14
[1]warpyblackburn, i did a commit when i was root21:14
[1]warpythen i went to my own user and did push because it didnt let me21:14
[1]warpybut i think the commit was only good for good and it didnt stick to the user21:14
blackburnstrange21:14
[1]warpyif i commit on the user i will get this21:14
[1]warpyfatal: could not open '.git/COMMIT_EDITMSG': Permission denied21:15
[1]warpybad learning curve21:15
blackburnyou would rather work with git with either root or your user ;)21:16
[1]warpyokay so21:17
[1]warpywith root21:17
[1]warpyi get this21:17
[1]warpyno changes added to commit (use "git add" and/or "git commit -a")21:17
[1]warpyany ideas?21:18
[1]warpyif i push origin21:18
[1]warpyi get this21:18
[1]warpyPermission denied (publickey).21:18
[1]warpyfatal: The remote end hung up unexpectedly21:18
[1]warpyah yes21:18
[1]warpybecause i am root and i didnt add the root ssh key21:19
[1]warpyokay so i am returning to the user now.21:19
blackburnuff21:19
[1]warpystill it cant access .git/commit editmsg21:19
[1]warpyany ideas?21:19
blackburnremove it21:19
blackburnwith sudo21:19
blackburnor change rights21:20
blackburnwhatever you want21:20
[1]warpyremoved. committed successfuly. pushed.21:20
[1]warpyit says everything upto data21:21
[1]warpydate*21:21
blackburnyour fork is not up-to-date, last commit - 3 days ago21:21
blackburndid you made git push origin?21:21
blackburnah nevermind21:22
blackburngit push should work too21:22
[1]warpyboth just now21:22
[1]warpyeverything up to date21:22
blackburngit pull upstream master21:22
blackburngit push master21:22
blackburn?21:22
[1]warpymaster is not a git repository for the second command21:23
[1]warpyi dont think i want to pull21:23
blackburngit push origin master21:23
[1]warpyyeah i did that21:23
[1]warpyfirst thing21:23
[1]warpycd ..21:23
[1]warpy:)21:23
blackburni have no idea what is wrong21:24
[1]warpywhy cant they make it friendly21:24
[1]warpyokay look at this21:25
[1]warpy#examples/undocumented/csharp_modular/tests_check_commwordkernel_memleak_modular.cs21:25
[1]warpyno changes added to commit (use "git add" and/or "git commit -a")21:25
-!- gsomix [~gsomix@85.26.233.55] has joined #shogun21:26
heikoblackburn, just to be sure: how do i handle this in swig if i get a method that returns a SGVector<> with a newly created array in it?21:32
blackburnheiko: I'm not sure but afaik you should set free flag to true21:32
blackburnif you want it to be cleared after usage in swig21:32
-!- f-x` [~user@117.192.194.58] has joined #shogun21:33
heikook alright thanks21:33
@sonney2kgsomix, is this code you added released under the GPL?21:34
@sonney2kahh heiko good evening!21:35
-!- f-x [~user@117.192.194.58] has quit [Ping timeout: 260 seconds]21:35
heikosonney2k, hi!21:35
@sonney2kheiko, it was just a matter of flipping order of includes21:35
-!- f-x` is now known as f-x21:35
heikooh no -.-21:35
@sonney2kthe %template and include were after the class was %included21:35
@sonney2kso it was too late21:35
-!- f-x is now known as Guest1051221:36
heikook i did not know that the order is important21:36
heikobut well21:36
heikodid you already change it?21:36
-!- Guest10512 is now known as f-x`21:37
@sonney2kheiko, yes21:37
blackburnsonney2k: code from here http://www.cosc.canterbury.ac.nz/tad.takaoka/alg/spalgs/spalgs.html21:38
blackburnsonney2k: no license, are we able to use it?21:38
heikosonney2k, ok cool :)21:38
gsomixsonney2k, there is no license for original code.21:39
* gsomix so slow. =___=21:39
@sonney2kyou should in this case ask the original author21:40
blackburn:D21:40
blackburnas I thought21:41
-!- in3xes_ [~in3xes@180.149.49.230] has joined #shogun21:44
[1]warpysonney2k, so now i have my own fork and its updated with the cs files.21:48
-!- in3xes_ [~in3xes@180.149.49.230] has quit [Quit: Leaving]21:53
@sonney2k[1]warpy, the problem of course is that typemaps are totally not working :)21:54
[1]warpyyeah, to be honest i am not entirely sure we can make them work21:57
[1]warpywe just dont have enough swig experience21:58
heikosonney2k, just sent another pull request21:58
heiko@all i am going to bed, good night! see you tomorrow!21:58
blackburnheiko: do you sleep at university?21:59
blackburn:D21:59
heikoyes, going to the roof now :)21:59
blackburnseriously you have no internet access at home ;)21:59
heikoi go to a café in cases of emergency :)22:00
bettyboo;)22:00
heikobye!22:00
blackburnsee you22:00
@sonney2kheiko, thanks and cu tomorrow!22:04
-!- heiko [~heiko@134.91.10.200] has quit [Ping timeout: 258 seconds]22:04
@sonney2k[1]warpy, you don't need swig experience22:04
@sonney2k[1]warpy, you just need to figure out how to extend c# with C code22:04
@sonney2k[1]warpy, the native interface extensions - like the java JNI docs22:05
@sonney2k[1]warpy, if you find them things are trivial22:05
CIA-32shogun: Heiko Strathmann master * rd5988ef / (10 files in 5 dirs): (log message trimmed)22:07
CIA-32shogun: Squashed commit of the following:22:07
CIA-32shogun: commit 116d110c03a9a4c394ecfbf52f11bb4eaac0d31e22:07
CIA-32shogun: Author: Heiko Strathmann <heiko.strathmann@gmail.com>22:07
CIA-32shogun: Date: Thu Jul 14 21:40:53 2011 +020022:07
CIA-32shogun:  -removed wrong SG_REF22:07
CIA-32shogun:  -usage of SGVector constructor to create array22:07
CIA-32shogun: Soeren Sonnenburg master * rb29e944 / (10 files in 5 dirs):22:07
CIA-32shogun: Merge pull request #198 from karlnapf/master22:07
CIA-32shogun: adding classes to Evaluation swig interface and doing some DynArray cleanups - http://bit.ly/omJkUk22:07
[1]warpythe problem is that daniel has started working and he can only give a few hours a week to this. maybe less. and i am running several projects in parallel.22:08
[1]warpyi simply dont have the time to do it al22:09
@sonney2k[1]warpy, it is not about time it is about documentation w/o pointers I cannot help - not at all.22:13
[1]warpycan you elaborate on the "the native interface extensions - like the java JNI docs" is it in one of the chapters in the swig documentation ?22:15
@sonney2k[1]warpy, I am talking about c#22:16
@sonney2khas nothing to do with swig22:16
@sonney2kI need the JNI docs equivalent for c#22:17
[1]warpyokay will look into it22:18
[1]warpyso the java one is this : http://download.oracle.com/javase/1.4.2/docs/guide/jni/22:19
[1]warpyor similar for whatever version they are at now ?22:19
@sonney2kyes22:23
[1]warpysoeren i believe daniel was using this page to do the conversions : http://www.swig.org/Doc1.3/CSharp.html#csharp_differences_java22:26
-!- gsomix [~gsomix@85.26.233.55] has quit [Ping timeout: 255 seconds]22:30
[1]warpysonney2k, i believe this is what we need http://en.wikipedia.org/wiki/Platform_Invocation_Services22:37
-!- f-x` [~user@117.192.194.58] has quit [Read error: Connection reset by peer]22:38
[1]warpyexamples of usage here : http://www.codeproject.com/KB/cs/marshalCPPclass.aspx22:38
-!- f-x [~user@117.192.194.58] has joined #shogun22:38
-!- f-x [~user@117.192.194.58] has quit [Remote host closed the connection]22:43
-!- warpy2 [~androirc@bzq-79-181-19-104.red.bezeqint.net] has joined #shogun22:44
warpy2anyone still alive22:45
-!- f-x [~user@117.192.194.58] has joined #shogun22:45
--- Log closed Fri Jul 15 00:00:21 2011

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