gemclus.tree.print_kauri_tree

gemclus.tree.print_kauri_tree(kauri_tree, feature_names=None)[source]

Prints the binary tree structure of a trained KAURI tree.

Parameters:
kauri_tree: Kauri

A Kauri instance that was trained

feature_names: array of shape (n_features,) or None

The name to use to describe the features. If set to None, a default print “X[:,i]” is proposed.

Examples using gemclus.tree.print_kauri_tree

Building an unsupervised tree with kernel-kmeans objective: KAURI

Building an unsupervised tree with kernel-kmeans objective: KAURI