fuzzyclust.models.plot_hinge_tree_surface#
- fuzzyclust.models.plot_hinge_tree_surface(tree, X, y=None, ax=None, resolution=120, levels=14, show_hinges=True)[source]#
Prediction surface (filled contours) of a two-input hinging-hyperplane tree with its hinges.
The hinge of every internal node, \(\mathbf{x}_e^T(\boldsymbol\theta_1-\boldsymbol\theta_2)=0\), is drawn as a line restricted to the region of the node, so the oblique recursive partition of the input space becomes visible.
- Returns:
- ax
matplotlibAxes
- ax
Examples using fuzzyclust.models.plot_hinge_tree_surface#
Hinging-hyperplane regression tree identified by fuzzy c-regression
Hinging-hyperplane regression tree identified by fuzzy c-regression