0
How are neural networks used when the number of inputs could be variable?

Open 1 Answers 57 Views Education
How are neural networks used when the number of inputs could be variable?

I saw a few examples of a neural network but they work for a fixed set of inputs. How can I deal with variable data length like string etc? Is there any way to encode variable data length into a fixed set of inputs and still get the generalized property of neural networks?

1 Answer

0
It is not advised to just extract some data and feeding it to the network which most people do. In practical, success and performance of a neural network depends on the Pre-processing and choosing of right features. The ANN is made for fixed feature vector length so you won't be able to use it.But you may use other classifiers such as random forest which uses a small no. of random features and creates hundreds of decision trees or can also try other solutions like using the Dynamic Time Wrapping or the interpolation.
by (54.6k points)
...