The generation of models can be done in two different ways:
- With the
learningmodule of PyXAI. It is an overlay of the Scikit-Learn, XBGoost and LightGBM libraries which offer some methods to simplify this task.
- By hand, using tree components containing nodes and leaves. This can be very useful to test and verify different types of explanations.