Recommends uses these classes to represent similarities and recommendations.
These classes don’t have be Django Models (ie: tied to a table in a database). All they have to do is implementing the properties descripted below.
Similarityis an object with the fellowing properties:
The source object.
The target object
How much the
related_objectis similar to