[R] Neural Network Problem

2013-07-25 Thread nntx
Hello Professionals, I am new to R and am planning to use R for a Artificial Neural Network regression. I have 10 different scenarios for each observation (Input). For each scenario, there are 7 variables, which means 7 output. I have 1000 observations in total and I do have 1000 expected output

[R] Use R for data aggregation

2013-07-12 Thread nntx
I have a set of evaluation variables (n) for each sample (sample size is large enough) and I am trying to use R (nnet package) to aggregate the data. However, I don't know the weight for each variable (I am sure the weight shouldn't be equally assigned). Specifically, I have 12 indices (CO2, SO2, T

Re: [R] Optimization problem

2013-04-10 Thread nntx
Rui, thanks for your reply. You meant that it is the issue of accuracy? So if I change the numerical accuracy, my results can be output? Thanks a lot! -- View this message in context: http://r.789695.n4.nabble.com/Optimization-problem-tp4663821p4663928.html Sent from the R help mailing list arc

[R] Generating equation problem

2013-04-10 Thread nntx
I am wondering if there is any function or command that could generate a equation automatically from the fitted results? For example, > x<-seq(1:20) > y<-rnorm(20) > z<-lm(y~poly(x,4)) > z Call: lm(formula = y ~ poly(x, 4)) Coefficients: (Intercept) poly(x, 4)1 poly(x, 4)2 poly(x, 4)3 poly

Re: [R] Optimization problem

2013-04-10 Thread nntx
Thank you professor. I think the minimum value of x^2 between -1 and 1 should be x=0, y=0. but the result is not that. I am thinking is any wrong with my thought? Thanks for helping me out! -- View this message in context: http://r.789695.n4.nabble.com/Optimization-problem-tp4663821p4663898.ht

[R] Optimization problem

2013-04-10 Thread nntx
As a simple example, I want to find minimum value for x^2, but it can't be obtained by: f<-function(x)x^2 optimize(f,lower=-1,upper=1) What are other methods to deal with this? I tried DEoptim, still doesn't work. Any suggustions will be extremely helpful! THanks! Shelly -- View this message