From 8c4ef28be77d19eba4e58294c2e91408600ca55f Mon Sep 17 00:00:00 2001 From: Andres Alejos Date: Sat, 8 Jun 2024 00:20:13 -0400 Subject: [PATCH] update exgboost version --- notebooks/cv_gradient_boosting_tree.livemd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/notebooks/cv_gradient_boosting_tree.livemd b/notebooks/cv_gradient_boosting_tree.livemd index bf475bea..5e6c41ce 100644 --- a/notebooks/cv_gradient_boosting_tree.livemd +++ b/notebooks/cv_gradient_boosting_tree.livemd @@ -22,6 +22,13 @@ require Explorer.DataFrame, as: DF require Explorer.Series, as: S ``` +And let's configure `EXLA` as our default backend (where our tensors are stored) and compiler (which compiles Scholar code) across the notebook and all branched sections: + +```elixir +Nx.global_default_backend(EXLA.Backend) +Nx.Defn.global_default_options(compiler: EXLA) +``` + We are going to work with [Medical Cost Personal Datasets](https://www.kaggle.com/datasets/mirichoi0218/insurance) to predict medical charges that were applied to each person from the dataset. Let's download it: ```elixir