Re: [R] neural networks with RSNNS

2011-02-28 Thread Sara Szeremeta
OK, I think I know what is the answer to this question - first I have to define a rsnns object factory, create a network (specify its architecture) and only THEN I can use train (this is what I have understood from the RSNNS manual) However, for the sake of not being stuck with this one, I used ML

Re: [R] neural networks with RSNNS

2011-02-27 Thread Sara Szeremeta
To provide more details: 1) the package I use is the RSNNS (as stated in the topic) 2) for input data to be split I fed in ts() object.. maybe this is a wrong move. Does anybody knows what is the type of object that can be fed into the train() function from the RSNNS package? The input dat

[R] neural networks with RSNNS

2011-02-25 Thread Sara Szeremeta
Hello All! I am training to train a NN with function train() after splitting data with the function splitForTrainingAndTest(). The split is ok (checked it), but when I get a try on training I get this message: Error in UseMethod("train") : no applicable method for 'train' applied to an object