Hi Amirali,
I understand that you would want to predict outcomes from your shallow neural network using a new data.
This can be achieved by either separating the training and testing data from the data set before training, and if not, then simply providing a similar format new data to the neural network.
For more information on using shallow neural networks, please refer to the following resources:
- Create custom shallow neural network: https://www.mathworks.com/help/deeplearning/ref/network.html
- Workflow of neural network design: https://www.mathworks.com/help/deeplearning/ug/workflow-for-neural-network-design.html
- Generate MATLAB function for simulating shallow neural network: https://www.mathworks.com/help/deeplearning/ref/network.genfunction.html
- Example on using Shallow Neural Nets: https://in.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html
I hope this helps!