There is no answer in your question. Depending on the domain, there are best practices.
Once you decide on a similarity metric, clustering is usually done by averaging or searching for medoids. See these binary data clustering docs for sample algorithms:
- Carlos Ordonez. Clustering binary data streams using K-tools. Pdf
- Tao Li. General binary data clustering model. Pdf
. - ". : -, , -, , , , -, -, , , , , 2, , -, -.
:
- , . .,
- , ., - .
- Toit, du S.H.C.; Steyn, A.G.W.; Stumpf, R.H.; ; 3, . 77, 1986; Springer-Verlag.
( . KL- .)