Note
Click here to download the full example code
Linkage¶
simages allows visualizing the similarity of images in a dataset using
simages.linkageplot()
.
Ordered¶
Show ordered linkage plot
import simages
from simages import linkageplot
import numpy as np
X = np.random.random((100, 28, 28))
embeddings = simages.EmbeddingExtractor(X, num_channels=1).embeddings
linkageplot(embeddings)
Unordered¶
Show unordered linkage plot
linkageplot(embeddings, ordered=False)
Total running time of the script: ( 0 minutes 8.583 seconds)