跳转至

MLflow Reference

Explicit post-run recording of completed results; native Run ownership.

Back to API Reference

Record completed TradeLearn results in native MLflow runs.

No training, backtest, market-data retrieval or model publication happens here.

LogResult dataclass

Actual tracking identity and status, including transport failures.

log

log(
    result_or_engine_strategies: Any,
    *,
    research_result: Any = None,
    experiment_name: str | None = None,
    run_name: str | None = None,
    uri: str | None = None,
    log_report: bool = False,
    attachments: Sequence[str | Path] = (),
) -> LogResult

Log supplied results once, reusing a compatible native active run.

Invalid inputs/configuration raise before writes. Tracking failures return FAILED with the actual run id if one was allocated. Only runs created here are ended here. Reports and attachments require explicit opt-in.