<p>is it possible to create an adaptative neural network that can change the number of its inputs and outputs without having to train it each time it changes?
the neural netwrok has to take purchases and affect them to the delivery man that will minimize the global traveled distance.</p>

CC BY-SA 4.0
2022-07-18T12:17:42.713Z
Yes, it is. For example recurrent neural networks may process sequences with different lengths, that is, with a different number of inputs.
mikkola
CC BY-SA 4.0
2022-07-18T12:52:13.407Z
you say the input data are purchases, you should specify more in details how these data look like to have a precise answer. mikkola might be right but maybe recurrent neural nets are not suitable for your use case.
Edoardo Guerriero
CC BY-SA 4.0
2022-07-18T13:07:23.210Z
the customer can do purchase only two products( A and B) in specefic quantities. for exemple a customer can purchase only 1, 2, 3, 4, 5, 6, 7, 8, 11, 14 or 18 items of a product (A or B) or any linear combination of them.
achraf bennouali
CC BY-SA 4.0
2022-07-18T13:12:17.700Z
the number of delivery men can vary from day to day but  the quantities they can deliver per day is already fixed
achraf bennouali
<neural-networks><machine-learning><travelling-salesman-problem>
is it possible to train the same neural network with different numbers of inputs and outputs?
achraf bennouali
# is it possible to train the same neural network with different numbers of inputs and outputs?

(Asked by: username_0 on 2022-07-18)

is it possible to create an adaptative neural network that can change the number of its inputs and outputs without having to train it each time it changes?
the neural netwrok has to take purchases and affect them to the delivery man that will minimize the global traveled distance.

**Tags:** neural-networks, machine-learning, travelling-salesman-problem

> **Comments:**
> **username_1**: Yes, it is. For example recurrent neural networks may process sequences with different lengths, that is, with a different number of inputs.  
> **username_2**: you say the input data are purchases, you should specify more in details how these data look like to have a precise answer. username_1 might be right but maybe recurrent neural nets are not suitable for your use case.  
> **username_0**: the customer can do purchase only two products( A and B) in specefic quantities. for exemple a customer can purchase only 1, 2, 3, 4, 5, 6, 7, 8, 11, 14 or 18 items of a product (A or B) or any linear combination of them.  
> **username_0**: the number of delivery men can vary from day to day but  the quantities they can deliver per day is already fixed  

---

## 0 answers

