Generate a constant block diagonal structure array for biclustering.
Read more in the User Guide.
The shape of the result.
The number of biclusters.
The standard deviation of the gaussian noise.
Minimum value of a bicluster.
Maximum value of a bicluster.
Shuffle the samples.
Determines random number generation for dataset creation. Pass an int for reproducible output across multiple function calls. See Glossary.
shape
The generated array.
The indicators for cluster membership of each row.
The indicators for cluster membership of each column.
See also
make_checkerboardGenerate an array with block checkerboard structure for biclustering.
Dhillon, I. S. (2001, August). Co-clustering documents and words using bipartite spectral graph partitioning. In Proceedings of the seventh ACM SIGKDD international conference on Knowledge discovery and data mining (pp. 269-274). ACM.
>>> from sklearn.datasets import make_biclusters >>> data, rows, cols = make_biclusters( ... shape=(10, 20), n_clusters=2, random_state=42 ... ) >>> data.shape (10, 20) >>> rows.shape (2, 10) >>> cols.shape (2, 20)
© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.datasets.make_biclusters.html