Last night I realized that, given you have two vectors in a 3-dimensional space starting from the same point that are not the same vector, that those two vectors create a plane-- then the same is true for any n-dimensional space. 3 dimensionas, 10 dimensions, 40 dimensions, it doesn't matter.
Why is this important? Simple; once you've identified the plane, you can find the angle between the two vectors.
If can get two people to answer 100 yes or no questions, you can create two vectors in a 100-d space and find the angle between those vectors. Those people with the smallest angle will have the greatest similarities in response. This is the basis of a vast number of recommendation engines.
It was the n-dimensionality that was bugging me. I finally grasped how little that matters in the end.
Why is this important? Simple; once you've identified the plane, you can find the angle between the two vectors.
If can get two people to answer 100 yes or no questions, you can create two vectors in a 100-d space and find the angle between those vectors. Those people with the smallest angle will have the greatest similarities in response. This is the basis of a vast number of recommendation engines.
It was the n-dimensionality that was bugging me. I finally grasped how little that matters in the end.
no subject
Date: 2010-03-17 03:56 pm (UTC)no subject
Date: 2010-03-17 04:28 pm (UTC)Amazon's is especially straightforward. It throws "you" out of the picture after you've made your purchase. Amazon doesn't care about you at all. All it cares about is the purchase relationship inside shopping carts.
In Amazon's algorithm, every object in a given shopping cart is a node, and every node has a relationship to every other node expressed as an intensity. After you buy something, Amazon looks that object up and finds the top n items that were found in other people's shopping carts next to that item, and shows them to you. If you pick up several items, Amazon can float to the top items that might have multiple relationships. This is computationally much cheaper than caring about "you."
The entire point is not to provide you with utility. It's to encourage impulse buying.