Displaying 20 results from an estimated 1000 matches similar to: "Inf in nnet final value for validation data"
2011 May 17
1
simprof test using jaccard distance
Dear All,
I would like to use the simprof function (clustsig package) but the available distances do not include Jaccard distance, which is the most appropriate for pres/abs community data. Here is the core of the function:
> simprof
function (data, num.expected = 1000, num.simulated = 999, method.cluster = "average",
method.distance = "euclidean", method.transform =
2008 Feb 11
2
Viable Approach to Parallel R?
All,
We are researching approaches to parallel R with the end goal of running
R in a distributed manner on a Linux cluster. We expect of course to do
some work decomposing our problems to be task-parallel or data-parallel,
but wouldn't mind getting an initial boost working with "embarrassingly
parallel" code sections and one of the approaches below.
Incidentally our environment
2001 Nov 05
1
Why doesn't outer work?
Hello
I'm a population ecologist and use R for all my stats and modelling.
Recently I have been using R to numerically solve integral projection
models. This involves constructing several large matrices. The current code
by Easterling (Size-specific sensitivity: Applying a new structured
population model. Ecology, 2000, 81, 694-708) uses nested loops to construct
the matrices. To speed up the
2008 Feb 15
2
help on using try() to catch an error
Dear R Users,
I have the following glm, which I am running several times in a loop
(I am not including the full code):
reduced_model <- NULL;
full_model <- NULL;
reduced_model <- try(glm.fit(X4,n,family=poisson(link="log")))
full_model <- try(glm.fit(X5,n,family=poisson(link="log")));
On some occasions, an error is produced, which is why I have attempted
to work
2008 Jan 25
1
increasing speed for permutations of glm
Dear R Programmers,
I am trying to run a Poisson regression on all pairs of variables in a data
set and
obtain the permutation distribution. The number of pairs is around 100000.
It seems my code will take weeks to run, unless I try something else.
Could you give me any suggestions on how to improve the speed of the
code below, or any general suggestions on how I may accomplish this task.
Thanks
2010 Jun 15
2
Integration problem: error in invoking an outside function
Dear all,
Currently I am trying to integrate a function which depends on four
variables, two of which are given, one is given in the integrate function,
so there is one variable to integrate on.
The code is as follows:
Pmatrix =
function(th) {
P = matrix(nrow=6, ncol=6, data=0)
P[1,1] = P[2,1]=P[3,2]=P[4,3]=P[5,4]=P[6,5]= exp(-th)
P[,6] = 1-exp(-th)
return(P)}
lim.verd =
2010 Nov 26
1
Issues with nnet.default for regression/classification
Hi,
I'm currently trying desperately to get the nnet function for training a
neural network (with one hidden layer) to perform a regression task.
So I run it like the following:
trainednet <- nnet(x=traindata, y=trainresponse, size = 30, linout = TRUE, maxit=1000)
(where x is a matrix and y a numerical vector consisting of the target
values for one variable)
To see whether the network
2007 Mar 27
1
Using nnet
I have a problem when using nnet to predict the negative values. For example
:
X = matrix(c(1,1,0,0,1,0,1,0),4,2)
X
Y = matrix(c(0,1,1,0)) - 0.5 # XOR - 0.5
Y
nn = nnet(X,Y,size=3)
val = predict(nn,X)
val # this is expected to be close to Y, but it's not !
The 'val' is always positive. I tried to change the options, but the result
isn't much better.
Could someone give me an
2003 Aug 19
3
On the Use of the nnet Library
Dear List,
I am trying to solve a problem by the neural network method(library:
nnet). The problem is to express Weight in terms of Age , Sex and Height
for twenty people. The data frame consists of 20 observations with four
variables: Sex, Age, Height and Weight. Sex is treated as a factor, Age
and Weight are variables normalized to unity, as usual. I wanted to
construct a neural network, and so
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate prediction accuracy for prediction of
continuous variable?
Aimin
thanks,
> m.nn.omega
2006 Dec 03
1
nnet() fit criteria
Hi all,
I'm using nnet() for non-linear regression as in Ch8.10 of MASS. I
understand that nnet() by default optimizes least squares. I'm looking
to have it instead optimize such that the mean error is zero (so that it
is unbiased). Any suggestions on how this might be achieved?
Cheers,
Mike
--
Mike Lawrence
http://artsweb.uwaterloo.ca/~m4lawren
"The road to wisdom? Well,
2007 Jul 15
1
NNET re-building the model
Hello,
I've been working with "nnet" and now I'd like to use the weigths, from
the fitted model, to iterpret some of variables impornatce.
I used the following command:
mts <- nnet(y=Y,x=X,size =4, rang = 0.1,
decay = 5e-4, maxit = 5000,linout=TRUE)
X is (m x n) Y is (m x 1)
And then I get the coeficients by:
Wts<-coef(mts)
b->h1 i1->h1
2009 May 27
3
Neural Network resource
Hi All,
I am trying to learn Neural Networks. I found that R has packages which can help build Neural Nets - the popular one being AMORE package. Is there any book / resource available which guides us in this subject using the AMORE package?
Any help will be much appreciated.
Thanks,
Indrajit
2003 Sep 27
1
Option --link-dest creates unexplained subdirectory
The following backup script works fine for test cases but for
doing a backup of 750 MB, the directory daily.1 has
a subdirectory daily.0, that is, there is
daily.1/daily.0
daily.2/daily.1
daily.3/daily.2
The directory daily.0 has nothing strange, no unusual links
at the top level neither hard or soft.
Also, the original directory has not unusual links.
All directories are in the same
2009 May 29
1
Backpropagation to adjust weights in a neural net when receiving new training examples
I want to create a neural network, and then everytime it receives new data,
instead of creating a new nnet, i want to use a backpropagation algorithm
to adjust the weights in the already created nn.
I'm using nnet package, I know that nn$wts gives the weights, but I cant
find out which weights belong to which conections so I could implement the
backpropagation algorithm myself.
But if anyone
2016 Aug 08
2
idmap_ad and RFC2370 (inconsistent results)
Hi everyone.
I'm encountering problems with the management of the id of the users,
in the DC and in the domain members (RFC2370).
I'm using Samba Version 4.2.10-Debian on Debian8.5.
This is the DC configuration / result.
root at samba4:/var/lib/samba# cat /etc/samba/smb.conf |grep -v '#'
[global]
workgroup = MYNET
realm = ad.mynet.lan
netbios name = SAMBA4
server
2020 Jan 02
2
Connection dropping every 24 hours from Windows Client.
I posted the following a month ago but have only managed to get to fixing on this over the holidays.? Rowland mentions that I needed to add my domain info, it?s now included and I still have the same issue.
Thanks and Happy New YearOld post begins below with edits
Hello
?
I have a problem with my Windows 10 drive connections dropping every 24
hours, very briefly.? It's enough to cause me to
2020 Jan 03
1
Connection dropping every 24 hours from Windows Client.
I changed my SMB.conf on the DC's and the member as per your instructions. Now the connection dropped at 10 hours, which appears to be the default end time of the certificate.
KLIST on a windows box returns.....
Cached Tickets: (3)
#0> Client: hans @ MYNET.MYNET.COM
Server: krbtgt/ MYNET.MYNET.COM @ MYNET.MYNET.COM
KerbTicket Encryption Type: RSADSI RC4-HMAC(NT)
2006 Aug 14
2
enable p2p to some host (ipp2p)
Hi
I using ipp2p to block p2p traffic.
How to enable to use p2p to me host in my net ?
I using this setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul --ares -j DROP
This setup:
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -d ! mynet -j DROP
iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
--ares -s ! mynet -j DROP
not
2013 Aug 28
1
Samba4 Member Server not working
Hi,
I have one Samba4 server running as Active Directory Domain Controller.
It's working like a charm.
So I needed to add another server to be a Member Server (File Server).
The server is running samba-4.0.9.
Configured and compiled ok:
./configure --prefix=/usr/local/samba --sysconfdir=/etc
--localstatedir=/var --mandir=/usr/man --bindir=/usr/bin
--sbindir=/usr/sbin --libdir=/lib