in reply to Comparitive Scoring System

That depends on the critera you're using to determine similarity. Plain old sort may do the trick if the comparisons are lexical or numeric. Take the first five elements and call it a day.

Could you add some examples of the things you'll be comparing? ...and what determines 'similar', if it's not obvious...

Replies are listed 'Best First'.
Re: Re: Comparitive Scoring System
by gwhite (Friar) on Jan 02, 2002 at 21:28 UTC

    Sort won't work

    This is for a interior design firm, so the similar criterias are, type (retail, office, law office, medical office, food court...50+ categories), sq footage, contract amount, region of country, office that did project, scope of work, construction (new, remodel, historical), client type

    Things like sq footage and contract amount don't have to be exact but within a range of say 10%+ or -. Region is concentric, city, state, group of states, half of country, country(and I don't immediately see how this could be done with AI::Fuzzy

    Many of the types are related so an accountants office scores more similar to a law office than does a doctors office. So there are very few black and white comparisons, I am trying to figure out how to do all these shades of gray without several huge comparison tables, but maybe that is what it will take.

    g_White