Topic: Algorithm of an estimation of coincidence
Greetings! There is a table in a DB in which, "words" are stored in eight columns, with some user. Each "word" has some "weight", the total of scales of all eight "words" makes 100. The task in implementing algorithm of an estimation of coincidence of "words" at different users, for . There are some thoughts, as well as there is a decision "" (wildly nonoptimal algorithmically)... As though you solved the task? the DB is far off. A variant with table loading in storage for the subsequent handling - the bad variant since it is a lot of records both the expenditure of storage and load time will be very great.