what is the target value mean?

24 views (last 30 days)
sangmin yang
sangmin yang on 22 Nov 2021
Answered: Shubham on 22 Feb 2024
Hello, I've been using the matlab ML toolbox with ANN
After the traing, when I click the regressin, there are four graph..
Here is my question
  1. What is the target value mean? Since it is different with my input value.
  2. Also, what is target output value?
  3. Can I know the method how can I calculate the target value?
Thanks,
  2 Comments
Image Analyst
Image Analyst on 22 Nov 2021
What training function are you using? Or are you using one of the Apps on the Apps tab?
sangmin yang
sangmin yang on 22 Nov 2021
I just used the nnstart machine learning tools,, training algorithm is Levenberg-Marquardt

Sign in to comment.

Answers (1)

Shubham
Shubham on 22 Feb 2024
Hi Sangmin,
Here are the answers of your queries:
  1. The target value in an ANN is the desired output that you want your network to predict or approximate. It is the "ground truth" or the actual outcome that corresponds to a given set of input data. For example, if you are training a network to predict house prices based on features like size, location, and number of rooms, the target values would be the actual prices of the houses in your training dataset.The reason it is different from your input value is that the inputs are the variables you use to predict the target. They are the features or independent variables of your dataset, while the target is the dependent variable that you are trying to predict.
  2. The target output value is essentially the same as the target value; it's the value that your model is attempting to predict for each input. In the context of the regression plots you mentioned, the target output values are plotted against the actual outputs produced by your ANN to assess the model's performance. A perfect model would result in a plot where all points lie on a 45-degree line, indicating that the predicted values match the target values exactly.
  3. The target value is not something you calculate; it's something that should be part of your dataset. When you collect or prepare your data for training an ANN, you should have a set of input features (the variables you'll use for predictions) and corresponding target values (the outcomes you're trying to predict). If you're working on a supervised learning problem, the target values come from your dataset. For instance, if you have historical data with known outcomes, those known outcomes are your target values. You use this data to train your ANN so that it can learn to predict the target values from the input features. After training, you can then use the ANN to predict target values for new, unseen input data. If, however, you're referring to how the ANN calculates its output (which is an approximation of the target value) during training or prediction, this is done through a forward pass in the network, where the input data is fed through the layers of the network, and the ANN uses its learned weights and biases to calculate its output. The network's performance is then evaluated by comparing this calculated output to the actual target values using a loss function, which the training process aims to minimize.

Tags

Community Treasure Hunt

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

Start Hunting!