I apologies for asking this question;
I run the codes but why all the prediction for pH in 21-25 month are so
close?
 station month          pH
          1   21  8.275635958
          2   21  8.275635962
          3   21  8.275635963
          4   21  8.275635963
          5   21  8.275635963
          6   21  8.275635963



On Tue, Jan 7, 2014 at 2:12 PM, javad bayat <j.bayat...@gmail.com> wrote:

> Dear Pikal Petr;
> thanks for code.
> It was usefull.
>
>
>
> On Tue, Jan 7, 2014 at 11:30 AM, PIKAL Petr <petr.pi...@precheza.cz>wrote:
>
>>  Hi
>>
>>
>>
>> and what is wrong with e.g.
>>
>>
>>
>> fit  <- neuralnet(pH~station+month, data=yourdata)
>>
>>
>>
>> As I said I am not an expert in neural nets  but here is some explanation
>> how it works
>>
>> http://gekkoquant.com/2012/05/26/neural-networks-with-r-simple-example/
>>
>>
>>
>> based on that after fitting you could do
>>
>>
>>
>> compute(fit, testdata)
>>
>>
>>
>> where testdata shall be station and month.
>>
>>
>>
>> However for time series it can be more appropriate something like ARIMA
>> modelling.
>>
>>
>>
>> Petr
>>
>>
>>
>> *From:* javad bayat [mailto:j.bayat...@gmail.com]
>> *Sent:* Monday, January 06, 2014 5:58 PM
>> *To:* PIKAL Petr
>> *Subject:* Re: [R] help
>>
>>
>>
>> Dear Petr;
>>
>> I want to write function that: for example for pH:
>>
>> according these 20 months predict the variability of pH for next month
>> and stations.
>>
>> all best.
>>
>>
>>
>> On Mon, Jan 6, 2014 at 7:23 PM, PIKAL Petr <petr.pi...@precheza.cz>
>> wrote:
>>
>> Hi
>> can you be more specific? In what aspect those packages does not comply
>> with your data? What did you do for testing it?
>>
>> I am not an expert in neural networks but I do not see anything which
>> prevents using your data in nnet.
>>
>>
>> Petr
>>
>>
>> > -----Original Message-----
>> > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>> > project.org] On Behalf Of javad bayat
>>
>> > Sent: Monday, January 06, 2014 3:16 PM
>> > To: R-help@r-project.org
>> > Subject: Re: [R] help
>> >
>>
>> > Dear Petr;
>>
>> > I saw the nnet and neuralnet packag, and I cant find some thing
>> > relating with my data based on neural network.
>> >
>> >
>> > On Mon, Jan 6, 2014 at 10:55 AM, PIKAL Petr <petr.pi...@precheza.cz>
>> > wrote:
>> >
>> > > Hi
>> > >
>> > > Why you did not use dput for sending data? It is far better than
>> > > picture, which can not be used without retyping.
>> > >
>> > > Redarding neural network, did you try e.g. nnet or neuralnet package.
>> > >
>> > > Petr
>> > >
>> > > > -----Original Message-----
>> > > > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
>> > > > project.org] On Behalf Of javad bayat
>> > > > Sent: Monday, January 06, 2014 7:37 AM
>> > > > To: R-help@r-project.org
>> > > > Subject: Re: [R] help
>> > > >
>> > > > Dear all;
>> > > > many thanks for your answers.
>> > > > Hear is my data (not all row: the station was 8 station at 20
>> > month)
>> > > > which I forward it as image. I hope some one can help me to do
>> > > > Neural network for prediction of next month.
>> > > > many thanks.
>> > > > all bests.
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > Best Regards
>> > > > Javad Bayat
>> > > > M.Sc. Environment Engineering
>> > > > Shahid Beheshti (National) University (SBU) Alternative Mail:
>> > > > bayat...@yahoo.com
>> > >
>> >
>> >
>> >
>> > --
>> > Best Regards
>> > Javad Bayat
>> > M.Sc. Environment Engineering
>> > Shahid Beheshti (National) University (SBU) Alternative Mail:
>> > bayat...@yahoo.com
>> >
>>
>> >       [[alternative HTML version deleted]]
>>
>> >
>> > ______________________________________________
>> > R-help@r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-help
>> > PLEASE do read the posting guide http://www.R-project.org/posting-
>> > guide.html
>> > and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
>>
>>
>> --
>>
>> Best Regards
>> Javad Bayat
>> M.Sc. Environment Engineering
>> Shahid Beheshti (National) University (SBU)
>> Alternative Mail: bayat...@yahoo.com
>>
>
>
>
> --
> Best Regards
> Javad Bayat
> M.Sc. Environment Engineering
> Shahid Beheshti (National) University (SBU)
> Alternative Mail: bayat...@yahoo.com
>



-- 
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Shahid Beheshti (National) University (SBU)
Alternative Mail: bayat...@yahoo.com

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to