[R] Training data

From: Leonn Turner <leonn.turner_at_email.si>
Date: Mon 21 Mar 2005 - 22:43:19 EST


Hello!

I would like to prepare training data to predict stock flow. Prediction should be based on 2 inputs (date, stock currency) input data :
date, stock_currency

1.1.2004,  1000.00
2.1.2004,  1120.00
5.1.2004,  1230.00
7.1.2004,  1150.00
10.1.2004,1040.00

11.1.2004, 999.00
1.2.2004, 945.00
How should training instances look like? I use nnet function to train the model and predict function with parameter type="raw", because output must be a numerical value.

I would appreciate if someone could give me any opinion to solve the problem I mentioned above. Regards, Leonn Turner!

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 21 22:55:14 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST