I ask a group of people for the age of their 10 best friends, and will try to predict some output variable on basis of that. I don't ask them to rank these friends in any way, thus each person I ask gives rise to an unordered set of 10 input values, as well as some output variable. But as a feature vector is intrinsically ordered, I wonder what is the best way to map this unordered set into a feature vector.

I could sort the values, but the fundamental problem remains: there is little intrinsically common about, say, the third column that doesn't apply to the fourth column. Thus treating them as distinct dimensions seems questionable. Moreover, if the input values had been categories rather than numerical values, there wouldn't necessarily be any natural order to sort them by.

I could of course use summary statistics (mean, median, min, max, standard deviation, etc.) instead of the values themselves, but summary statistics inevitably leads to loss of information.

So my question is: Is there an established way of constructing a feature vector when the input values are naturally unordered?



Your Answer

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