spider.protocols.protocol_classify_kmeans module

class spider.protocols.protocol_classify_kmeans.SpiderProtClassifyKmeans(**kwargs)[source]

Bases: spider.protocols.protocol_classify_base.SpiderProtClassify

This protocol wraps SPIDER CL KM command.

Performs automatic K-Means clustering and classification on factors produced by CA or PCA.

createOutputStep()[source]

Create the SetOfClass from the docfile with the images-class assignment, the averages for each class.

getNumberOfClasses()[source]