Skip to main content

Module ir

Module ir 

Source
Expand description

Stable intermediate representation for ForestFire models.

The IR sits between two worlds:

  • the semantic in-memory model types used for training and introspection
  • the lowered runtime structures used by optimized inference

It exists so models can be serialized, schema-checked, inspected from other languages, and reconstructed without depending on the exact Rust memory layout of the training structs.

Structs§

Aggregation
BinaryChildren
BoolEncoding
Compatibility
Determinism
IndexedLeaf
InferenceOptions
InputFeature
InputSchema
IntegritySection
LeafIndexing
ModelPackageIr
Top-level model package serialized by the library.
ModelSection
Structural model description independent of any concrete runtime layout.
MultiwayBranch
MultiwaySplit
NodeStats
NumericBinning
ObliviousLevel
OutputField
OutputSchema
PostprocessingSection
PreprocessingSection
ProducerMetadata
TieBreaking
TrainingMetadata
Serialized training metadata reflected back to bindings and docs.

Enums§

BinarySplit
FeatureBinning
IrError
LeafPayload
NodeTreeNode
ObliviousSplit
PostprocessingStep
TreeDefinition
Concrete tree payload stored in the IR.