[R] a question about AMORE (newff, sim), pls help

2011-02-09 Thread ying zhang
Hi All, I try to test the neural network package AMORE, I normalized my data first, the input data is X [x1,x2,x3] where x1,x2,x3 each is 100 row 1 column vector. the output data Y is 100 row 1 column vector. my network has neurons=c(3,2,2,1) which 2 hidden layers, 3 node in the input

[R] can I use the output of a neural network as the fitness function of genetic algorithm?

2011-02-07 Thread ying zhang
Hi Everyone, I need to use genetic algorithm to find the minimum. The problem is, I cannot define the fitness function, but I can build a neural network from the input data and use the output as a fitness function. Can this be done? The other problem is, I know there are a few package

[R] how should I deal with features with variable based on time in Bayesian Network?

2011-01-31 Thread ying zhang
Hi All, I would like to apply Bayesian network on some data. However, some of the features are based on time. E.g. Number of time he/she visit library. As it can be Total number of this person visits, Average weekly number of visit, Daily number of visits, or even Number of visits in

[R] JRI plot( )

2011-01-06 Thread ying zhang
Hi Everyone, Thanks a lot for your guys help, I finally got it running, now I can call my R function from my java code. But there is one problem left. In my R code , it open a window and plot a curve. Once running in Java, the window did successfully opened, but nothing inside, instead

[R] rShowMessage Fatal error: unable to open the base package

2011-01-05 Thread ying zhang
Hi All, As you may know I am trying connect R with java by RJava, now I run the examples, I got this error rShowMessage Fatal error: unable to open the base package I am using 64bits windows 7 and eclipse. Any suggestions? Many thanks Ying [[alternative HTML

[R] an error about JRI

2011-01-04 Thread ying zhang
Hi everyone, I try to run my R script in Java, thus I installed JRI. and run the example, I am using Eclipse on 64 bits windows 7. part of the example code is as follows: public static void main(String[] args) { System.out.println(Creating Rengine (with arguments));

[R] incremental learning for LOESS time series model

2010-12-20 Thread ying zhang
Hi All, I am currently working on some time series data, I know I can use LOESS/ARIMA model. The data is written to a vector whose length is 1000, which is a queue, updating every 15 minutes, Thus the old data will pop out while the new data push in the vector. I can rerun the