Tutorial

Load a supervised artifact

The engine always has a built-in basic model. An advanced file is optional. Format: xorappsec-supervised-v1, 32 named features, last weight is the intercept.

  1. Obtain a JSON file from the private training lab, or copy config/models/supervised-basic-v1.json to see the schema.
  2. Either drop it at config/supervised.json or pass the path:
    xorappsec all --supervised-model /etc/xorappsec/supervised.json
  3. xorappsec doctor must print supervised OK with the file’s name and version. A wrong feature order is a start failure — by design.
  4. Do not commit advanced weights to the public engine repo.

Unsupervised state (data/unsupervised_model.json) is separate. Replacing supervised weights does not reset Kindergarten.