MATLAB Answers

Unable to get good results while testing network created using newrb

1 view (last 30 days)
Sai Sashank Narne
Sai Sashank Narne on 30 Jun 2021
Answered: Prateek Rai on 11 Oct 2021
I created a network using 'newrb' with a training data. If i revalidate the output with initial values, then it is accurate. But if i tested the network with testing data, i am getting different values like multiplied with 'e' which are not accurate.Is there any solution for this?

Answers (1)

Prateek Rai
Prateek Rai on 11 Oct 2021
To my understanding, you created a network but getting different values (like multiplied with 'e') when testing with test data.
MATLAB uses the 'e' notation to format numeric values and is not using it as a mathematical constant e.
According to notation: aeb ==> a * (10 ^ b).
For example:
  • 2e3 ==> 2000
  • 1.567e4 ==> 15670
And so on...
You can change the output display format to get the desired format using 'format' function.
You can refer to format MathWorks Documentation page to learn more about setting output display format.

Community Treasure Hunt

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

Start Hunting!