From 22a155636fc21cb8b54e5e522380b1853c45a629 Mon Sep 17 00:00:00 2001 From: rjzamora Date: Wed, 24 Apr 2024 08:51:42 -0700 Subject: [PATCH 1/2] update notebook --- notebooks/forest_inference_demo.ipynb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/notebooks/forest_inference_demo.ipynb b/notebooks/forest_inference_demo.ipynb index 8b82f9769c..ec0477539c 100644 --- a/notebooks/forest_inference_demo.ipynb +++ b/notebooks/forest_inference_demo.ipynb @@ -14,6 +14,13 @@ "For additional information on the forest inference library please refer to the documentation on https://docs.rapids.ai/api/cuml/stable/api.html#forest-inferencing" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, { "cell_type": "code", "execution_count": null, @@ -456,9 +463,7 @@ "metadata": {}, "outputs": [], "source": [ - "df = dask_cudf.from_dask_dataframe(\n", - " dask.dataframe.from_array(x)\n", - ")" + "df = dask.dataframe.from_array(x).to_backend(\"cudf\")" ] }, { From 8258325dd4a65efe49dc947ce9b03a84be2695d5 Mon Sep 17 00:00:00 2001 From: "Richard (Rick) Zamora" Date: Wed, 24 Apr 2024 10:58:22 -0500 Subject: [PATCH 2/2] Update notebooks/forest_inference_demo.ipynb --- notebooks/forest_inference_demo.ipynb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/notebooks/forest_inference_demo.ipynb b/notebooks/forest_inference_demo.ipynb index ec0477539c..3e57c2165e 100644 --- a/notebooks/forest_inference_demo.ipynb +++ b/notebooks/forest_inference_demo.ipynb @@ -14,13 +14,6 @@ "For additional information on the forest inference library please refer to the documentation on https://docs.rapids.ai/api/cuml/stable/api.html#forest-inferencing" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "code", "execution_count": null,