Author | Message |
---|---|
kberna12
Posts: 4
|
Posted 21:43 Apr 12, 2020 |
For the Grid Search should we use neuron_number = [(i,j) for i in range(5, 250, 5) for j in range(5, 250, 5)] ? |
mpourhoma
Posts: 39
|
Posted 23:06 Apr 12, 2020 |
Yes, you can use range. But, there is only 1 hidden layer, so there is no need for "j". |
Deanrona
Posts: 21
|
Posted 23:24 Apr 12, 2020 |
neuron_numbers = [5, 10, ..., 245, 250] |
mpourhoma
Posts: 39
|
Posted 23:25 Apr 12, 2020 |
You can use "range": neuron_number = [(i,) for i in range(5,250,5)] |
ajetty
Posts: 2
|
Posted 06:01 Apr 13, 2020 |
Remember that range() is exclusive. So it would be range(5, 251, 5). |
mpourhoma
Posts: 39
|
Posted 11:42 Apr 13, 2020 |
Yes, That is Right! |