prediction of any output point according to given input after regressing using ANN in matlab

1 回表示 (過去 30 日間)
Hello dear,
I saw some videos about how to use ANN for regression. fortunately i am also able to regression but the point is that after doing regression and after saving that "simple script" code, how do we predict any result?
i mean if i have given input of any random
x=[4 5 7 9 15];
and output as
Y=[18 22 28 35 43];
now after regression using ANN i can able to get the predicted Ypred value.
but what if i want to get the value of Y at X=6 or 60 or anything.....!!!!
Please can you light on this that which steps and codes i have to execute.?
Thanking you in Advance,
Ashish Kundaliya
  1 件のコメント
Ashish Kundaliya
Ashish Kundaliya 2020 年 6 月 7 日
Hey, I got the answer.
i am adding answer here, if anyone wants it.
After doing regression in ANN tool of matlab using "nnstart" command. at the end they will ask you to save " Matlab function", so you can save your matlab function with appropriate name. so, later you can use this function to predict any in between values.
by Calling that function with those input(s).
Sorry for the inconvienience if i have wasted your time by asking this above question.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by