I was following the Livebook provided in the docs. I noticed that there exists an EXGBoost.compile/2 invocation, however this function does not exist in the current version and the notebook fails.
Also, I searched older commits and noticed that EXGBoost.compile/2 was essentially a simple invocaon to Mockingjay.convert/2 function. Yet, even after replacing the EXGBoost.compile/1 with Mockingjay.convert/2 on the notebook example, I get the following error:
(mockingjay 0.1.0) lib/mockingjay/tree.ex:1: Mockingjay.DecisionTree.impl_for!/1
(mockingjay 0.1.0) lib/mockingjay/strategies/gemm.ex:13: Mockingjay.Strategies.GEMM.init/2
(mockingjay 0.1.0) lib/mockingjay.ex:64: Mockingjay.convert/2
(stdlib 5.0.2) erl_eval.erl:746: :erl_eval.do_apply/7
(stdlib 5.0.2) erl_eval.erl:494: :erl_eval.expr/6
(elixir 1.15.4) src/elixir.erl:361: :elixir.eval_forms/4
(elixir 1.15.4) lib/module/parallel_checker.ex:112: Module.ParallelChecker.verify/1
lib/livebook/runtime/evaluator.ex:622: anonymous fn/3 in Livebook.Runtime.Evaluator.eval/4
What is the correct approach of transforming an XGBoost loaded model to a series of tensor operations?
I was following the Livebook provided in the docs. I noticed that there exists an
EXGBoost.compile/2invocation, however this function does not exist in the current version and the notebook fails.Also, I searched older commits and noticed that
EXGBoost.compile/2was essentially a simple invocaon toMockingjay.convert/2function. Yet, even after replacing theEXGBoost.compile/1withMockingjay.convert/2on the notebook example, I get the following error:What is the correct approach of transforming an XGBoost loaded model to a series of tensor operations?