How to optimize a neural network using genetic algorithm?

I've a trained NN with 7 input variables X (design parameters) and 1 output variable Y. I want to optimize this surrogate NN model, preferably using the Optimization app. The process should give me the optimized values of the 7 design parameters X, which will lead to minimum Y. Is there a way to do that?
Please advise.

2 件のコメント

Sam Chak
Sam Chak 2023 年 9 月 19 日
Please correct me if I have misunderstood your problem:
The NN model was trained with a fixed dataset consisting of an array of seven (7) inputs, denoted as X, and a corresponding output vector Y.
Your objective is to identify the set of 7 inputs, X, that yield the minimum value of Y from the dataset, regardless of the specific NN model used.
Harry
Harry 2023 年 9 月 19 日
Or, following on from @Sam Chak's comment, is your question how to identify the optimal NN scheme (in terms of number of nodes and layers) given that you have 7 inputs to 1 output?

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

回答 (1 件)

Umang Pandey
Umang Pandey 2024 年 9 月 17 日

0 投票

Hi Bidisha,
You can refer to the following resource for information on how to optimize a neural network using genetic algorithm:
Hope this helps!

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2022a

質問済み:

2023 年 9 月 18 日

回答済み:

2024 年 9 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by