Using DeepLearning Toolbox to approximate function - possible?

2 ビュー (過去 30 日間)
Carsten Daldrup
Carsten Daldrup 2020 年 10 月 8 日
コメント済み: Mahesh Taparia 2020 年 10 月 19 日
Hey everyone,
I want to approximate a function f(x). I tried the NNTool and it worked - but not with the activation-function and transfer-function I want to use.
So I wanted to try the DeepLearning Toolbox. I created the network but I have problems with my data. I have just a simple function like f(x)=x^2 and the data x and f(x)=y. What kind of input-Layer I have to choose? And how do I have to prepare my data?
Regards

回答 (1 件)

Mahesh Taparia
Mahesh Taparia 2020 年 10 月 17 日
Hi
If the input output relation is known, then it straight forward to use that relation and estimate the result. In your case, it seems its straight forward.
Even if you want to use learning based approach, you can use the feedforwardnet. For more information, refer this documentation. Hope it will help.
  2 件のコメント
Carsten Daldrup
Carsten Daldrup 2020 年 10 月 19 日
Thanks for you answer, but that´s not what I was looking for. It works with DeepLearing and the new release 2020b. FeatureInput-Layer is the right choise.
Mahesh Taparia
Mahesh Taparia 2020 年 10 月 19 日
Hi
If this is the case, then you can use the fully connected layer followed by activations and the classification/ regression layer depending upon the task. You can refer here for an example.

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

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by