title: what is the appropriate method to cluster binary matrix
body: <p>I am a beginner in clustering, and I have a binary matrix in which each student have the sessions they are enrolled in. I want to cluster students with same sessions.</p>
  
  <p>clustering methods are so many and varies according to the dataset</p>
  
  <p>for exemple k-means is not appropriate, because the data is binary and the standard "mean" operation does not make much sense for binary.</p>
  
  <p>i'm open to any suggestion</p>
  
  <p>Here's an example:</p>
  
  <pre><code>+------------+---------+--------+--------+
  |  session1  | session2|session3|session4|
  +------------+---------+--------+--------+
  |     1      |    0    |   1    |    0   |
  |     0      |    1    |   0    |    1   |
  |     1      |    0    |   1    |    0   | 
  |     0      |    1    |   0    |    1   |
  +------------+---------+--------+--------+
  </code></pre>
  
  <p>Result:</p>
  
  <p>clusterA = [user1,user3]</p>
  
  <p>clusterB = [user2,user4]</p>