Dear all,
How do I evaluate this model for other values for x.
If x=1.2, then what will be the value of y?
y = {0.44, 0.33, 0.3, 0.3, 0.32, 0.34, 0.4, 0.53, 0.68, 0.83};
x = {0.04`, 0.08`, 0.12`, 0.16`, 0.2`, 0.24`, 0.32`, 0.48`, 0.64`,
0.8`};
tuples = Thread[Transpose[{x}] -> y];
train = Take[tuples, 7];
test = Take[tuples, -3];
cfunc = Predict[train, Method -> "NeuralNetwork",
PerformanceGoal -> "Quality"];
(* y predicted for training data *)
yptrain = Map[cfunc, train[[All, 1]]];
(* y predicted for testing data *)
yptest = Map[cfunc, test[[All, 1]]];
(* y observed for testing data *)



