Help me solve this problem:
I want to figure out how to group these animals.
Let's say everyday you observe one group of animals hanging out as friends. You want to figure out the best way to group the animals yourself depending on who they like best.
To illustrate, you observe:
Today, you saw these animals chilling out together: { Elephant Tiger Giraffe Peacock }
The next day you saw these: { Giraffe Peacock Elephant Lion Monkey }
And then the next day: { Elephant Tiger Hyena Rhino }
So from this you might conclude that the Elephant and the Tiger are good friends because they've hung out on two separate occasions. You would say the same for the Peacock and the Elephant.
What would be an algorithm for determining the best way to group these animals?
To give a little more detail, I'm working on a big data type problem and am trying to classify this problem.
Can machine learning solve this?
The real data might look more like this:
{A B F G R P K U J H} {A F G K B J H A S} And millions of lines of this...
Pointing me in the right direction would be helpful too.