Integration with Neural Network

Hey,
I want to create a neural network that helps to integrate functions f(x). What kind of app would you use? Should I prepare my data like a table: function, integral limit?

2 Kommentare

Ameer Hamza
Ameer Hamza am 22 Sep. 2020
Do you want it to work for any function f(x) or some specific function?
Carsten Daldrup
Carsten Daldrup am 23 Sep. 2020
It would be great if it woud work for any function, but I suggest that I have to use some specfic function or?

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Anshika Chaurasia
Anshika Chaurasia am 29 Sep. 2020

0 Stimmen

Hi Carsten,
It is my understanding that you want to use a Neural Network to learn a function f(x) and then predict new values.
I would suggest you to use Neural Net Fitting App and also prepare dataset for it (as you have mentioned table: function, integral limit).

3 Kommentare

Carsten Daldrup
Carsten Daldrup am 29 Sep. 2020
Hi Anshika,
thanks for your answer. I tried the Neural Net Fitting App, but that's not exactly what I want to create.
I want to approximate any function f(x) with a basic-Function (activation-function) and to train it with the SGD-methode.[So, it's easy to integrate] The SGG-Methode ist not available in the NN-Tool.
I'm searching in the documentation of Matlab for 'sgd' and I just found something with an ECOC-Model. Do you know something about it? Am I able to construct somehting like an neural network with this model? I'm a little bit overhelmed by the documentation.
Anshika Chaurasia
Anshika Chaurasia am 29 Sep. 2020
Hi Carsten,
ECOC-model is used for multi-class classification problem. It uses different binary classifiers such as SVM, KNN, etc, to solve multi-class problem. So, I think it won't help you in approximating any function f(x) using neural network.
You could use fitnet function for fitting neural network on your dataset and set trainFcn as 'traingd' to use gradient descent algorithm while training neural network.
Carsten Daldrup
Carsten Daldrup am 1 Okt. 2020
Hi Anshika,
okay, I've already used the neural network applications. It approximates good.
But is there any other solution in MATLAB that comes close to a neural network/machineLearning? I need to use the SGD-methode to train the "network". I just found this method for classification...
It's not possible to write a personalized trainFcn right?

Melden Sie sich an, um zu kommentieren.

Carsten Daldrup
Carsten Daldrup am 13 Okt. 2020
Bearbeitet: Carsten Daldrup am 13 Okt. 2020

0 Stimmen

Does anybody know if it is possible to use the SGD-Method to train my network or do I have to implement the network and SGD by myself?

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Sep. 2020

Bearbeitet:

am 13 Okt. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by