pm4py.visualization.decisiontree.variants package

Submodules

pm4py.visualization.decisiontree.variants.classic module

class pm4py.visualization.decisiontree.variants.classic.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

FORMAT = 'format'
pm4py.visualization.decisiontree.variants.classic.apply(clf, feature_names, classes, parameters=None)[source]

Apply the visualization of the decision tree

Parameters
  • clf – Decision tree

  • feature_names – Names of the provided features

  • classes – Names of the target classes

  • parameters

    Possible parameters of the algorithm, including:

    Parameters.FORMAT -> Image format (pdf, svg, png …)

Returns

GraphViz object

Return type

gviz

Module contents