QRtree——QRscript的决策树方言规范
QRtree -- Decision Tree dialect specification of QRscript
AI总结:
本文档定义QRscript的决策树方言QRtree的语法语义,提出基于三地址代码衍生语言的中间表示及与eQRtreebytecode的双向转换规则,聚焦紧凑字节码构建以适配QR码容量限制。
摘要:
本规范文档定义了QRtree的语法与语义,QRtree是QRscript的一种特定方言,尤其适合表示不含机会节点的决策树。“方言”一词指可通过QRscript编码在eQR码内的多种可能子语言之一。本规范将描述QRtree的一种中间表示,该表示通过由三地址代码衍生而来的语言构建。随后将定义从中间表示到二进制代码的转换规则,该二进制表示被称为eQRtreebytecode。这些规则也可反向应用,将eQRtreeBytecode转换为中间表示。本规范文档将特别关注紧凑eQRtreebytecode的构建,因为在撰写本文时,QR码可存储的最大比特数对应的容量为2953字节(针对纠错等级为“低”的第40版QR码而言)。
英文摘要:
This specification document specifies the syntax and semantics of QRtree, which is a specific dialect of QRscript particularly suited to represent decision trees without chance nodes. The term dialect identifies one of the possible sub-languages that can be encoded inside of an eQR code via QRscript. This specification will describe an intermediate representation of QRtree, made through a language derived by the three-address code. It will then define the transformation rules from the intermediate representation to a binary code. The latter is a binary representation called eQRtreebytecode. These rules can also be applied inversely to transform the eQRtreeBytecode into the intermediate representation. This specification document will pay particular attention to the creation of a compact eQRtreebytecode, as the maximum number of bits that can be stored in a QR code is, at the time of writing, equal to 2953 bytes (in the case of QR code version 40 with a "low" error correction level).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。