search for: pinit

Displaying 5 results from an estimated 5 matches for "pinit".

Did you mean: init
2005 Apr 01
1
optim problem, nls regression
...(xx/param[i])^param[(2*3)+1]) sce_yest[i,]<-sum((yy-y_est)^2) } return(sum(sce_yest)) } Then, I use the fonction optim for obtaining a vector of 7 parameters which will minimise the fonction sce. I use initial parameters at random that I don't have a answer relating to a minimum local. pinit=c(runif(3,min=0,max=10), runif(3,min=3,max=8),runif(1,min=0,max=4)) optim(p=pinit,sce) if I use the function as above, I got an answer but the value of the parameters is not in the interval I want. So I applied optim(p=pinit,sce, method="L-BFGS-B", lower=c(0,0,0,0,0,0,0), upper=c(10, 10...
2005 Apr 08
0
TR: The results of your email commands
...{ return(sum(sum((yy-(param[i+nb]-(xx/param[i])^param[(nb*2)+1]))^2))) } #initial value for optim function ninit<-vector(length=nb) for(i in 1:nb){ ninit[i]<-x[long[i]+1] } pinf=c(rep(0.01,nb),rep(3,nb),0.5) psup=c(rep(10,nb),rep(8,nb),4) pinit=c(runif(nb,min=0.1,max=5),ninit,runif(1,min=0.5,max=4)) print(pinit) for (i in 1:nb) { yy<-y[((long[i]+1):long[i+1])] for( k in 1:length(yy)){ ifelse((yy[k]<=log10(nbr)),(yy<-yy[1:(min(which(yy<=log10(nbr),arr.ind=FALSE ))-1)]),(yy<-yy)) } vv&lt...
2010 Oct 26
5
Display Time benchmark on page
Like we saw in console or rails log show totaltime, database time, rendering time. on my page footer in production. is it possible to acces those information from controller or view template with out time it again ? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...extent_op->flags, + &extent_op->key, + extent_op->level, &key); } else { BUG_ON(1); } + + clear_extent_bits(&info->extent_ins, start, end, EXTENT_LOCKED, + GFP_NOFS); kfree(extent_op); } btrfs_free_path(path); @@ -1451,46 +1558,48 @@ pinit: /* * remove an extent from the root, returns 0 on success */ -static int __free_extent(struct btrfs_trans_handle *trans, struct btrfs_root - *root, u64 bytenr, u64 num_bytes, u64 parent, - u64 root_objectid, u64 ref_generation, - u64 owner_objectid, int pin, int mark_free) +static in...
2010 Sep 27
0
problem with set_sequence_name please help
I''m building rails 3 with legacy oracle 10g db. which it''s sequence is non rails convension. I have try this. class AdCourt < ActiveRecord::Base set_sequence_name ''COURT_SEQ'' end with rails console : AdCourt.sequence_name I have got "COURT_SEQ" which look ok. When AdCourt.create!(:caption => ''AAAA'', :code =>