HI there,
I have a project which is related to water networks and I want to train ANN to predict based on that.
Here's my project in simple words: for example, I have 3 nodes and 5 pipes. I created traning data for ANN (for example, 4 scenarios) and the attribute of pipes (roughness and diametere) are constant in all scenarios. And my target is pressure in some nodes not all of them in all scenarios.
I worked with ANN before with only one input and one output and it worked fine. I don't know how to get answer with multiple inputs with different in size. I'm not sure whether ANN can solve this problem or not but it is very similar to my previous project (simple input and output).
This is the code I'm trying to work on but I get error and I don't know how to fix it:
a=[4 5 6; 5 5 8; 8 9 2; 8 9 6 ]
target = [0 1; 5 1; 7 2; 5 1];
net.inputConnect = [1 1 1; 0 0 0];
net = configure(net,inputData);
net = train(net,inputData,target);
Please help me to figure it out or if ANN is not able to solve these kind of problems, help me out to find something else
In the end, I want to use the trained ANN to predict pipe attributes (roughness and diameteres) with different demands and pressures.
Thank you in advance!