An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20131111/a4774b41/attachment.pl>
(no subject)
2 messages · Viarti Eminita, COLLINL at pitt.edu
Hi Viarti, can you clarify your question slightly?
(1) When you say "the predict value still on pattern scale" what do you
mean? It sounds like you are saying that the prediction values are on the
Ytraining values specifically or do you mean that you expect the scale to
differ.
(2) When you say how "to change the predict value to the real data value"
do you mean change the scale.
Perhaps if you gave some examples of the desired outputs it would be eaiser.
Best,
Collin.
Dear Mr/Mrs.
I am Viarti Eminita, student from magister fifth level of Statistics in
Bogor Agriculture University. Mr/ Mrs, now I'm analyzing ANN on time
series
data, I am learning kohonen package for series data, but when I want to
predict, the predict value still on pattern scale. I wanna ask how to
change the predict value to real data value?
example:
data <- read.table("D:/THESIS/Data/data.txt",head=T)
Ytraining <- scale(data[1:168,3])
Xtraining <- scale(data[1:168,4:6])
Xtest <- scale(data[168:180,4:6])
xyf <- xyf(Xtraining,Ytraining,grid = somgrid(5, 5, "hexagonal"))
xyf.prediction <- predict(xyf,newdata=Xtest)
thank's Mr/Mrs.
best regard,
viarti
[[alternative HTML version deleted]]
______________________________________________ R-help at 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.