From 985beeed863648b374bc93089ac69181e8e5e7c7 Mon Sep 17 00:00:00 2001 From: LudovicoBessi <21291898+ludoro@users.noreply.github.com> Date: Mon, 22 Jun 2020 09:01:43 +0200 Subject: [PATCH] Update randomforest.md --- docs/src/randomforest.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/randomforest.md b/docs/src/randomforest.md index 6529b26cb..7992c2654 100644 --- a/docs/src/randomforest.md +++ b/docs/src/randomforest.md @@ -4,9 +4,9 @@ Random forests is a supervised learning algorithm that randomly creates and merg We are going to use a Random forests surrogate to optimize $f(x)=3*x+1$. -First of all import `Surrogates`, `XGBoost` and `Plots`. +First of all import `Surrogates` and `Plots`. ```@example RandomForestSurrogate_tutorial -using Surrogates, XGBoost +using Surrogates using Plots ``` ### Sampling @@ -47,4 +47,4 @@ To optimize using our surrogate we call `surrogate_optimize` method. We choose t scatter(x, y, label="Sampled points") plot!(f, label="True function") plot!(randomforest_surrogate, label="Surrogate function") -``` \ No newline at end of file +```