Message Boards Message Boards

1
|
1281 Views
|
0 Replies
|
1 Total Likes
View groups...
Share
Share this post:

How can I interpolate in a list using Netrain?

Posted 1 year ago

Dear All,

I would like to know, is it possible to estimate value of z, when x=0.72 and y=0.51 .

I appreciate your time and help. Alex

x = {0.44, 0.33, 0.3, 0.3, 0.32, 0.34, 0.4, 0.53, 0.68, 0.83};
y = {0.04, 0.08, 0.12, 0.16, 0.2, 0.24, 0.32, 0.48, 0.64, 0.8};
z = {0.24, 0.20, 0.21, 0.22, 0.26, 0.29, 0.36, 0.50, 0.66, 0.81};

trainingData = Thread[Transpose[{x, y}] ->z];

net = NetChain[{32, Tanh, 1}];

trained = NetTrain[net, trainingData];
POSTED BY: Alex Teymouri
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract