Displaying 3 results from an estimated 3 matches for "da09ml".
Did you mean:
da09
2009 May 29
3
How to replace Inf by zero?
Hi R users,
Someone knows how to replace Infinite value by zero. I have a vector with
some Inf value and I want to substitute these values by zero to get the mean
of the components of the vector.
Any idea?
Many thanks,
Marlene.
[[alternative HTML version deleted]]
2009 May 29
1
final value of nnet with censored=TRUE for survival analysis
Hi there,
I´ve a question concerning the nnet package in the area of survival analysis: what is the final value, which is computed to fit the model with the following nnet-c
all:
net <- nnet(cat~x,
data=d,
size=2,
decay=0.1,
censored=TRUE,
maxit=20,
Wts=rep(0,22),
Hess=TRUE)
where cat is a matrix with a row for each record and
2009 Jun 07
1
Inf in nnet final value for validation data
Hi,
I use nnet for my classification problem and have a problem concerning the calculation of the final value for my validation data.(nnet only calculates the final value for the training data). I made my own final value formula (for the training data I get the same value as nnet):
# prob-matrix
pmatrix <- cat*fittedValues
tmp <- rowSums(pmatrix)
# -log likelihood