Skip to content

Reference

This section documents the main internal components of the application that are relevant for extending it, in particular for implementing new adapters or node types.

The documentation focuses on the parts needed to understand and work with the internal VizTree representation. It does not provide complete documentation of the entire codebase.

Contents

  • VizTree — Internal representation of a linear model tree.
  • Adapters

  • BaseAdapter — Interface for implementing new adapters.

  • PartyKitAdapter — Example of an adapter implementation.
  • Nodes

  • BaseNode — Base class for all tree nodes.

  • NodeModel — Models used within nodes.
  • InternalNode — Base class for internal nodes.
  • SplitNode — Nodes that split observations.
  • LeafNode — Terminal nodes containing a model.
  • NoneNode — Node used when no specific node type is required.