mmc.Hierarchy.has_clf()

Hierarchy.has_clf(name)

Checks whether a given node has a trained classifier defined. Note, all cutoff layers will return false.

Parameters:

name (str) – The name of the classification node to query

Return type:

Whether the node has a trained classifier defined.