Displaying 3 results from an estimated 3 matches for "how_many".
Did you mean:
has_many
2013 May 05
2
custom function that plots other functions- problem
...y<- f(x);
plot(x,y);
}
mp(sin, c(0,2*pi), .02);
but I encountered some problems while trying to provide more than one- the
following structure generates mistakes:
plotter<- function(f,howmany,range,quality){
x<-seq(range[1],range[2],quality)
y<- matrix(f,how_many)
plot(x,y[1,])
for(i in 2:how_many){
lines(x,y[i,])
}
}
plotter<-(c(sin(x),cos(x)),2,c(0,2*pi),.02)
I would really appreciate your help with this program.
Regards,
Bartek
[[alternative HTML version deleted]]
2011 Feb 18
0
Weights in bagged regression trees
...agging call (weights <-1) produces empty output. If I run the data without the weights argument I get sensible output.
Despite being possible in rpart, are case weights not possible in bagging? I know that weights are not possible in regression under randomforests.
#this works
r1w <- rpart(how_many ~ covariates, data=ttv.data.sk, weights, method="poisson")
#this works
b1 <- bagging(how_many ~ covariates, data=ttv.data.sk, method="poisson", coob=T, nbagg=30)
#this fails
b1w <- bagging(how_many ~ covariates, data=ttv.data.sk, weights, method="poisson", coob...
1997 Nov 14
0
Linux IP fragment overlap bug (fwd)
...if (!(host_ent = gethostbyname(host_name))) return (0);
bcopy(host_ent->h_addr, (char *)&addr.s_addr, host_ent->h_length);
}
return (addr.s_addr);
}
void usage(u_char *name)
{
fprintf(stderr,
"%s src_ip dst_ip [ -s src_prt ] [ -t dst_prt ] [ -n how_many ]\n",
name);
exit(0);
}
/* EOF */
------[End] -- Guby Linux ----------------------------------------------------
And the patch:
------[Begin] -- Helu Linux -------------------------------------------------
--- ip_fragment.c Mon Nov 10 14:58:38 1997
+++ ip_fragmen...