From ede4b7a52a4f6fd7b302d3c69be75664f8ce7319 Mon Sep 17 00:00:00 2001 From: chenyangkang Date: Thu, 21 Nov 2024 10:02:49 -0600 Subject: [PATCH] update --- docs/Examples/02.AdaSTEM_learning_curve_analysis.ipynb | 3 +-- docs/Examples/03.Binding_with_Maxent.ipynb | 3 +-- docs/Examples/04.SphereAdaSTEM_demo.ipynb | 3 +-- docs/Examples/05.Hurdle_in_ada_or_ada_in_hurdle.ipynb | 3 +-- docs/Examples/06.Base_model_choices.ipynb | 3 +-- docs/Examples/07.Optimizing_stixel_size.ipynb | 3 +-- docs/Examples/08.Lazy_loading.ipynb | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) diff --git a/docs/Examples/02.AdaSTEM_learning_curve_analysis.ipynb b/docs/Examples/02.AdaSTEM_learning_curve_analysis.ipynb index 0e98694..c9c1c07 100644 --- a/docs/Examples/02.AdaSTEM_learning_curve_analysis.ipynb +++ b/docs/Examples/02.AdaSTEM_learning_curve_analysis.ipynb @@ -40,8 +40,7 @@ "from stemflow.model.Hurdle import Hurdle_for_AdaSTEM, Hurdle\n", "from stemflow.model_selection import ST_CV\n", "\n", - "warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "warnings.filterwarnings('ignore')\n" ] }, { diff --git a/docs/Examples/03.Binding_with_Maxent.ipynb b/docs/Examples/03.Binding_with_Maxent.ipynb index 3bac737..5aa538f 100644 --- a/docs/Examples/03.Binding_with_Maxent.ipynb +++ b/docs/Examples/03.Binding_with_Maxent.ipynb @@ -41,8 +41,7 @@ "from xgboost import XGBClassifier, XGBRegressor\n", "from stemflow.model.Hurdle import Hurdle_for_AdaSTEM, Hurdle\n", "import elapid as ela # Please install elapid if you haven't\n", - "\n", - "%matplotlib inline" + "\n" ] }, { diff --git a/docs/Examples/04.SphereAdaSTEM_demo.ipynb b/docs/Examples/04.SphereAdaSTEM_demo.ipynb index 6b0b393..0be187d 100644 --- a/docs/Examples/04.SphereAdaSTEM_demo.ipynb +++ b/docs/Examples/04.SphereAdaSTEM_demo.ipynb @@ -37,8 +37,7 @@ "import h3pandas\n", "\n", "pd.set_option('display.max_columns', None)\n", - "# warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "# warnings.filterwarnings('ignore')\n" ] }, { diff --git a/docs/Examples/05.Hurdle_in_ada_or_ada_in_hurdle.ipynb b/docs/Examples/05.Hurdle_in_ada_or_ada_in_hurdle.ipynb index b95e949..f10c20f 100644 --- a/docs/Examples/05.Hurdle_in_ada_or_ada_in_hurdle.ipynb +++ b/docs/Examples/05.Hurdle_in_ada_or_ada_in_hurdle.ipynb @@ -83,8 +83,7 @@ "from stemflow.model.Hurdle import Hurdle_for_AdaSTEM, Hurdle\n", "from stemflow.model_selection import ST_CV\n", "\n", - "# warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "# warnings.filterwarnings('ignore')\n" ] }, { diff --git a/docs/Examples/06.Base_model_choices.ipynb b/docs/Examples/06.Base_model_choices.ipynb index 6df9161..ba6a533 100644 --- a/docs/Examples/06.Base_model_choices.ipynb +++ b/docs/Examples/06.Base_model_choices.ipynb @@ -66,8 +66,7 @@ "# from catboost import CatBoostClassifier, CatBoostRegressor\n", "# from sklearn.linear_model import LogisticRegression, LinearRegression\n", "\n", - "warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "warnings.filterwarnings('ignore')\n" ] }, { diff --git a/docs/Examples/07.Optimizing_stixel_size.ipynb b/docs/Examples/07.Optimizing_stixel_size.ipynb index 5f8fd58..6889824 100644 --- a/docs/Examples/07.Optimizing_stixel_size.ipynb +++ b/docs/Examples/07.Optimizing_stixel_size.ipynb @@ -90,8 +90,7 @@ "from xgboost import XGBClassifier, XGBRegressor # remember to install xgboost if you use it as base model\n", "from stemflow.model.Hurdle import Hurdle_for_AdaSTEM, Hurdle\n", "\n", - "# warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "# warnings.filterwarnings('ignore')\n" ] }, { diff --git a/docs/Examples/08.Lazy_loading.ipynb b/docs/Examples/08.Lazy_loading.ipynb index 47d913e..af060a3 100644 --- a/docs/Examples/08.Lazy_loading.ipynb +++ b/docs/Examples/08.Lazy_loading.ipynb @@ -42,8 +42,7 @@ "import copy \n", "\n", "pd.set_option('display.max_columns', None)\n", - "# warnings.filterwarnings('ignore')\n", - "%matplotlib inline" + "# warnings.filterwarnings('ignore')\n" ] }, {