Neural Network New data set

1 view (last 30 days)
Amirali AGHAMIRI
Amirali AGHAMIRI on 15 Apr 2022
Answered: Animesh on 22 Sep 2023
Hello,
After generating the code for my neural network how can I insert new data into the function to predict outcomes?
Thank you in advance.
function [Y,Xf,Af] = myNeuralNetworkFunction(X,~,~)
I also read this but I couln't manage yet.
help gensim
doc gensim

Answers (1)

Animesh
Animesh on 22 Sep 2023
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:
  1. Create custom shallow neural network: https://www.mathworks.com/help/deeplearning/ref/network.html
  2. Workflow of neural network design: https://www.mathworks.com/help/deeplearning/ug/workflow-for-neural-network-design.html
  3. Generate MATLAB function for simulating shallow neural network: https://www.mathworks.com/help/deeplearning/ref/network.genfunction.html
  4. Example on using Shallow Neural Nets: https://in.mathworks.com/help/deeplearning/gs/fit-data-with-a-neural-network.html
I hope this helps!

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!