finding optimal neural network architecture using genetic algorithms

1 回表示 (過去 30 日間)
hüsnü alay
hüsnü alay 2019 年 2 月 25 日
編集済み: hüsnü alay 2019 年 2 月 26 日
Hello!
I am working on a project and i need to use genetic algorithm to find number of neurons and hidden layers for neural network. I dont know how i can do it. Can you help me for code. If someone can share a code for me, i will be glad.

回答 (1 件)

Greg Heath
Greg Heath 2019 年 2 月 25 日
編集済み: Greg Heath 2019 年 2 月 25 日
0. The genetic approach is a waste of time. It takes too long.
1.Typically, a single hidden layer is sufficient.
2. Minimize the number of hidden nodes by trial and error using a double loop:
a. Outer loop over No. of hidden nodes
b. Inner loop over No. of random initial weight values
3. If you must use genetic, search BOTH the NEWSGROUP and ANSWERS using
greg genetic neural
Hope this helps.
Greg
  1 件のコメント
hüsnü alay
hüsnü alay 2019 年 2 月 26 日
編集済み: hüsnü alay 2019 年 2 月 26 日
Thank you for you reply. But, i don't know where i searched 'BOTH the NEWSGROUP and ANSWERS using greg genetic neural'. But, i couldn't find. Can you show me the code. Also, i must use genetic algorithm. My task is to implement genetic algorithm on neural network for the purpose of finding number of hidden layers and neurons. I need a code which i can use for my task.

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by