1
$\begingroup$

as far as i try all data that model take are fixed size or fixed shape, i had problem that i give data to model but it has no fixed shape and i can not cut part of it as all of it are important,so can i make model that have unshaped data as input then take unshaped data to predict .. like have small problem that can be represented by N like famous problem travel sales man as in it N refer to number of cities

$\endgroup$
2
  • $\begingroup$ Is there an upper bound for value of N ? $\endgroup$ Aug 14, 2019 at 4:23
  • $\begingroup$ no it is open like number of cities in Travel sales man problem $\endgroup$ Aug 16, 2019 at 16:36

1 Answer 1

0
$\begingroup$

The first thing, which comes to mind speaking about unfixed input, is a recurrent neural network. Such a model adresses dynamic behavior. Maybe, it's possible to represent data as a sequence? I don't know nature and specificity of your data, but if each instance in the dataset consists of a different number of some "similar events", it might be reasonable to think in this direction.

The other way which might help is to compute statistics on the data. Then it will be another feature space, but in some cases it could be enough to achieve high accuracy of predictions. For example if there are k features of the same nature (say, temperature in different days), then average, standard deviation, min, max, etc. could be considered. And statistics don't depend on the length of each instance in the dataset, so this number k could differ.

$\endgroup$
2
  • $\begingroup$ so how could i convert this unlimited number of events to features $\endgroup$ Aug 16, 2019 at 16:38
  • $\begingroup$ oh recurrent neural network, i will search first $\endgroup$ Aug 16, 2019 at 16:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.