diff --git a/notebooks/01A Data Quality Assessment/Data Quality Assessment_Solution.ipynb b/notebooks/01A Data Quality Assessment/Data Quality Assessment_Solution.ipynb index de41241b600a926e2885447e92cb5052417ac244..754dfc1147589ed2f8d6424babcf29f693d567a2 100644 --- a/notebooks/01A Data Quality Assessment/Data Quality Assessment_Solution.ipynb +++ b/notebooks/01A Data Quality Assessment/Data Quality Assessment_Solution.ipynb @@ -58,6 +58,10 @@ "import pandas as pd\n", "import seaborn as sns\n", "import matplotlib.pyplot as plt\n", + "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "sns.set()" ] }, diff --git a/notebooks/03A Supervised Learning/Supervised Learning Fundamentals_Solution.ipynb b/notebooks/03A Supervised Learning/Supervised Learning Fundamentals_Solution.ipynb index 20918870bd9c87ff7d6c8846a64c7d578b253b61..ecfc7c43aa226eb07582854da05a557433c91abb 100644 --- a/notebooks/03A Supervised Learning/Supervised Learning Fundamentals_Solution.ipynb +++ b/notebooks/03A Supervised Learning/Supervised Learning Fundamentals_Solution.ipynb @@ -43,6 +43,9 @@ "\n", "from sklearn.model_selection import KFold\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "from tqdm.notebook import tqdm\n", "import ipywidgets as widgets\n", "%matplotlib inline" diff --git a/notebooks/04B Gradient Descent/Gradient Descent.ipynb b/notebooks/04B Gradient Descent/Gradient Descent.ipynb index 196f1ec826123d6f2f2042df1e3ca20249863521..d57a78a1815d5ee1e67907693234049a753d40d2 100644 --- a/notebooks/04B Gradient Descent/Gradient Descent.ipynb +++ b/notebooks/04B Gradient Descent/Gradient Descent.ipynb @@ -31,6 +31,9 @@ "from sklearn.metrics import r2_score\n", "from collections import defaultdict\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "from tqdm.notebook import tqdm\n", "from ipywidgets import interact\n", "%matplotlib inline" diff --git a/notebooks/07B Support Vector Machines/Support Vector Machines as Demo.ipynb b/notebooks/07B Support Vector Machines/Support Vector Machines as Demo.ipynb index 10e146e7e68c0e713c17751423069b54dfb18456..c2394b839deed0ce2449213a573f220bc2847718 100644 --- a/notebooks/07B Support Vector Machines/Support Vector Machines as Demo.ipynb +++ b/notebooks/07B Support Vector Machines/Support Vector Machines as Demo.ipynb @@ -37,6 +37,9 @@ "from sklearn.metrics import accuracy_score\n", "from sklearn.metrics import f1_score\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "from scipy import stats\n", "import pylab as pl\n", "import random\n", diff --git a/notebooks/08A Neural Networks/Neural Networks.ipynb b/notebooks/08A Neural Networks/Neural Networks.ipynb index ad4339271788c9ead4c3b837a2c63df893894a7b..da70ba0730b41515dd75f9275a581bcb3c7bbbba 100644 --- a/notebooks/08A Neural Networks/Neural Networks.ipynb +++ b/notebooks/08A Neural Networks/Neural Networks.ipynb @@ -28,6 +28,9 @@ "from sklearn.metrics import accuracy_score\n", "sns.set()\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "%matplotlib inline" ] }, diff --git a/notebooks/08B Backpropagation/Neural Networks from Scratch.ipynb b/notebooks/08B Backpropagation/Neural Networks from Scratch.ipynb index 18d922c56ae3a7c644a6a0238774b4404dc29a9e..8ddd94c20df31222307a640d3c23f42e38116dad 100644 --- a/notebooks/08B Backpropagation/Neural Networks from Scratch.ipynb +++ b/notebooks/08B Backpropagation/Neural Networks from Scratch.ipynb @@ -20,7 +20,9 @@ "outputs": [], "source": [ "import numpy as np\n", - "import matplotlib.pyplot as plt" + "import matplotlib.pyplot as plt\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)" ] }, { diff --git a/notebooks/09A Convolutional Neural Network/convolutional_neural_network.ipynb b/notebooks/09A Convolutional Neural Network/convolutional_neural_network.ipynb index 904f554b583bf8c4f1e3395ce3c8d8253068d9db..f5af201860f1b0e089f59eab43a5af61a33b3981 100644 --- a/notebooks/09A Convolutional Neural Network/convolutional_neural_network.ipynb +++ b/notebooks/09A Convolutional Neural Network/convolutional_neural_network.ipynb @@ -47,7 +47,10 @@ "import tensorflow as tf\n", "from tensorflow import keras\n", "from tensorflow.keras import datasets, layers, models\n", - "from tensorflow.keras.optimizers import SGD, Adam" + "from tensorflow.keras.optimizers import SGD, Adam\n", + "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)" ] }, { diff --git a/notebooks/09B Transfer Learning/transfer_learning.ipynb b/notebooks/09B Transfer Learning/transfer_learning.ipynb index 07d8391f02de0cd2f9214cfcf5bd91c7cd6add1d..02c1c80cddb4570f5c6bb34f96aaa74ff5930984 100644 --- a/notebooks/09B Transfer Learning/transfer_learning.ipynb +++ b/notebooks/09B Transfer Learning/transfer_learning.ipynb @@ -45,7 +45,9 @@ "from tensorflow import keras\n", "from tensorflow.keras import datasets, layers, models\n", "from tensorflow.keras.optimizers import SGD, Adam\n", - "\n" + "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)" ] }, { diff --git a/notebooks/11A Clustering/Clustering Examples.ipynb b/notebooks/11A Clustering/Clustering Examples.ipynb index 074350aa764bb48b66aba90fb2fbe7f62e5005f0..105c350e4e7fb77d84462cdaabc67c7bcd5a42ac 100644 --- a/notebooks/11A Clustering/Clustering Examples.ipynb +++ b/notebooks/11A Clustering/Clustering Examples.ipynb @@ -26,6 +26,9 @@ "from mlxtend.preprocessing import TransactionEncoder\n", "from mlxtend.frequent_patterns import apriori, association_rules\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "%matplotlib inline" ] }, diff --git a/notebooks/11A Clustering/Clustering.ipynb b/notebooks/11A Clustering/Clustering.ipynb index 21a35f3aaa800d5c7cd8aea4105b5e5fc0bd378b..1460ec9dad8053d61552d2c8728f8049acc47bb0 100644 --- a/notebooks/11A Clustering/Clustering.ipynb +++ b/notebooks/11A Clustering/Clustering.ipynb @@ -30,6 +30,8 @@ "from sklearn.decomposition import PCA\n", "\n", "from tqdm.notebook import tqdm\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", "\n", "%matplotlib inline" ] diff --git a/notebooks/11B Anomaly Detection/Anomaly Detection - Part 2.ipynb b/notebooks/11B Anomaly Detection/Anomaly Detection - Part 2.ipynb index c114169bf415a886a8a67c9b0fc33db19a9b8bc7..6dd322aff2b72a131fdaeb89f762f0c174d8c11c 100644 --- a/notebooks/11B Anomaly Detection/Anomaly Detection - Part 2.ipynb +++ b/notebooks/11B Anomaly Detection/Anomaly Detection - Part 2.ipynb @@ -35,6 +35,9 @@ "\n", "import matplotlib.gridspec as gridspec\n", "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", + "\n", "from tqdm.notebook import tqdm\n", "import ipywidgets as widgets" ] diff --git a/notebooks/12A Association Rules/Association Rules Examples.ipynb b/notebooks/12A Association Rules/Association Rules Examples.ipynb index 5f7e936f708d8340ebf0fdde58ef3619f0861ad1..59d06fd321364a6adf1755a4c6fe71ad75a797d1 100644 --- a/notebooks/12A Association Rules/Association Rules Examples.ipynb +++ b/notebooks/12A Association Rules/Association Rules Examples.ipynb @@ -23,7 +23,8 @@ "\n", "from mlxtend.preprocessing import TransactionEncoder\n", "from mlxtend.frequent_patterns import apriori, association_rules\n", - "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", "%matplotlib inline" ] }, diff --git a/notebooks/12A Association Rules/Association Rules.ipynb b/notebooks/12A Association Rules/Association Rules.ipynb index 32ad56e42dd40b4187c94b1d5a0e3928d17b3f2e..8668067ca464927cfce1ecf5b6bcc0b6ccd80346 100644 --- a/notebooks/12A Association Rules/Association Rules.ipynb +++ b/notebooks/12A Association Rules/Association Rules.ipynb @@ -25,7 +25,8 @@ "import plotly.graph_objs as go\n", "\n", "from tqdm.notebook import tqdm\n", - "\n", + "import warnings\n", + "warnings.filterwarnings(\"ignore\", category=FutureWarning)\n", "%matplotlib inline" ] },