http://qs321.pair.com?node_id=1214495


in reply to Groups of Objects with Common Attributes

ok, 500 objects, but how many unique attributes?
  • Comment on Re: Groups of Objects with Common Attributes

Replies are listed 'Best First'.
Re^2: Groups of Objects with Common Attributes
by Dev Null (Acolyte) on May 14, 2018 at 21:37 UTC
    About 75 unique attributes. Most objects have between 2 and 7 attributes. So the "attribute denisty" - if that made-up term conveys what I intend - is fairly low.

      Most objects have between 2 and 7 attributes.
      With 7 attributes, there are but 2**7 == 128 subsets to consider; and no attribute group with more that 7 attributes.

      You could enumerate all subsets of each object. That might total to a few thousand unique attribute groups for the whole problem. In other words, with size and density so low, you can easily afford to construct the powerset of attributes. This way you can transform the 500 by 75 into 500 by few-thousands, search and sort by cardinality or weight, etc.