Repository navigation
moonboost 0.1.0
First release, also on mooncakes: moon add Juwan-Hwang/moonboost.
- Loads XGBoost JSON and UBJSON models (
gbtree,dart,gblinear) and LightGBM text models; predictions match the original libraries bit for bit on native, wasm, wasm-gc and js. - Tree-walking kernel checked with
moon prove: terminates and never reads out of bounds for any model it accepts. - Branch-free batch and single-row prediction; faster than the XGBoost C API, TL2cgen, lleaves and onnxruntime-web in the benchmarks in the README.
- Histogram tree training (
reg:squarederror,binary:logistic,multi:softprob,multi:softmax) that writes XGBoost JSON; runs in browsers as JS or a 37 KB WebAssembly GC module. - ES module for browsers and Node, a CLI (
info,predict,train) and a browser demo.