# Metric of error
from sklearn.metrics import mean_squared_error, mean_absolute_error, mean_absolute_percentage_error
# Plotting figures
import matplotlib.pyplot as plt
from matplotlib import cm
# Import class KernelSmoother from the gradientcobra library
from gradientcobra.gradientcobra import KernelSmoother
import seaborn as sns
set() sns.
Introduction to Kernel Smoothing method
Kernel Smoother
is a nonparametric method for estimations and predictions (T. Hastie, 2009).
Given observations \(\{(x_i,y_i),\dots, (x_n,y_n)\}\). The prediction by kernel smoothing method is defined by
\[\hat{y}(x)=\sum_{i=1}^nW_i(x)y_i=\sum_{i=1}^n\frac{K_h(\|x-x_i\|)}{\sum_{j=1}^nK_h(\|x-x_j\|)}y_i\]
where
- \(K:\mathbb{R}_+\to\mathbb{R}_+\) is a regular kernel function that converts the “closeness” between predicted features of observation \(x_i\) and \(x\) into the associated weight for the aggregation. For any smoothing parameter \(h>0\), \(K_h(t)=K(t/h)\).
Constructing a kernel smoothing method is equivalent to estimating an appropriate smoothing parameter \(h\) that minimizes the so-called \(\kappa\)-fold cross validation error:
\[\phi(h)=\frac{1}{\kappa}\sum_{j=1}^{\kappa}\sum_{(x_i,y_i)\in F_j}\ell(\hat{y}_{-F_j}(x_i),y_i)\]
where
- \(\ell\) is any regression loss function. By default, \(\ell(y_1,y_2)=(y_1-y_2)^2\).
- \((F_j)_{j=1,2,\dots,\kappa}\) are the \(\kappa\) folds of the second of the training data used for aggregation.
- \(\hat{y}_{-F_j}(x)\) is the prediction of \(x\) by aggregating predicted features on all folds \((F_k)_{k}\) except for \(F_j\).
KernelSmoother method
class
KernelSmoother(random_state = None, learning_rate = 0.01, bandwidth_list = None, speed = ‘constant’, opt_method = “grad”, max_iter = int(300), opt_params = None, kernel = ‘radial’, kernel_exponent = 1.0, show_progress = True, loss_function = None, loss_weight = None, norm_constant = None):
KernelSmoother
is a subclass
of GradientCOBRA
. T=In KernelSmoother
, the input data \(X\) are treated as predicted features and aggregated directly using super class method.
Parameters
random_state
: (default isNone
) for setting the random state of all the random generators in the class. This allows the method to produce the same result when the samerandom_state
is used.learning_rate
: (default is0.1
) the learning rate in gradient descent algorithm for estimating the optimal bandwidth.bandwidth_list
: a list of bandwidth parameters for grid search algorithm (default = np.linspace(0.00001, 10, 300)
).speed
: (default isconstant
) for adjusting the speed of the learning rate. It is helpful when the cost function is flat around the optimal value, changing the learning speed might help the algorithm to converge faster. It should be an element of [‘constant’, ‘linear’, ‘log’, ‘sqrt_root’, ‘quad’, ‘exp’].opt_method
: (default is “grad
”) is an optimization algorithm for estimating the bandwidth parameter. It should be either “grid
” (grid search) or “grad
” (gradient descent for non-compactly supported kernels).max_iter
: (default = 100) maximum iteration of gradient descent algorithm.opt_params
: (default isNone
) is a dictionary of additional parameters for the optimization algorithm (both grid search and gradient descent). Its should contain some of the following keys:- ‘epsilon’: stopping criterion for gradient descent algorithm (
default =
\(10^{-6}\)). - ‘n_tries’: the number of tries for selecting initial position of gradient descent algorithm (
default = 10
) - ‘start’: the initial value of the bandwidth parameter (
default = None
) - ‘n_cv’: number of cross-validation folds (
default = 10
) - ‘precision’ : the precision to estimate the gradient for gradient descent algorithm (
default =
\(10^{-10}\)).
- ‘epsilon’: stopping criterion for gradient descent algorithm (
kernel
: (default is'radial'
) the kernel function used for the aggregation. It should be an element of the list [‘exponential’, ‘gaussian’, ‘radial’, ‘cauchy’, ‘reverse_cosh’,‘epanechnikov’,‘biweight’, ‘triweight’, ‘triangular’, ‘cobra’, ‘naive’]. Some options such as'gaussian'
and'radial'
lead to the same radial kernel function. For'cobra'
or'naive'
.kernel_exponent
: (default is1.0
) is an exponential \(\alpha\) of the exponential and radial kernel function i.e., \(K(x) = \exp(|x|^{2\alpha})\). By default,alpha = 1.0
.show_progress
: (default isTrue
) a boolean defining whether or not to show the progress of the optimization algorithm for both grid search and gradient descent.loss_function
: (default isNone
) a function or string defining the cost function to be optimized for estimating the optimal bandwidth parameter. By defalut, the K-Fold cross-validation MSE is used. Otherwise, it must be either:- a function of two argumetns (y_true, y_pred) or
- a string element of the list [‘mse’, ‘mae’, ‘mape’, ‘weighted_mse’]. If it is
weighted_mse
, one can define the weight for each training point usingloss_weight
argument below.loss_weight
: (default isNone
) a list of size \(n\) (number of training observations) defining the weight for each individual data point for the loss function. If it isNone
and theloss_function = weighted_mse
, then a normalized weight \(W(i) = 1/\text{PDF}(i)\) is assigned to the individual \(i\) of the training data.
norm_constant
: (default isNone
) a normalized constant used to scale the features in optimization algorithm. By defalut, they are
Returns:
self
: returns an instance of self containing the optimal estimated bandwidth and other results of the algorithm.
Methods:
All methods are inherited from GradientCOBRA
class.
Installation of the library from pypi
gradientcobra can be installed from pypi using pip
:
pip install gradientcobra
Implementation of the method
Importing some packages
KernelSmoother
on simulated data
We simulate a regression data with \(1000\) observations and \(10\) inputs variables.
# For simulating dataset
from sklearn.datasets import make_regression
= make_regression(n_samples=1000, n_features=10, noise=2) X1, y1
Now, let’s randomly split the simulated data into \(80\%-20\%\) training-testing data.
from sklearn.model_selection import train_test_split
= train_test_split(X1, y1, test_size=0.2)
X_train1, X_test1, y_train1, y_test1 print('shape: x_train = {} , x_train = {} , y_train = {} , y_test = {}'.format(
X_train1.shape,
X_test1.shape,
y_train1.shape, y_test1.shape))
shape: x_train = (800, 10) , x_train = (200, 10) , y_train = (800,) , y_test = (200,)
\(\bullet\) KernelSmoother
with default parameters
We create KernelSmoother
object called ker1
using KernelSmoother
class with the default parameters, then fit it to the training data.
= KernelSmoother()
ker1 = ker1.fit(X_train1, y_train1) ker1_fit
* GD progress: iter: 1 / bw: 3.000 / grad: -1292.791 / stop criter: 1.000 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 1 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 1 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 2 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 2 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 0%| | 0/300 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 1%| | 3/300 [00:00<00:09, 29.91it/s]* GD progress: iter: 4 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 1%| | 3/300 [00:00<00:09, 29.91it/s]* GD progress: iter: 4 / bw: 3.100 / grad: -1292.791 / stop criter: 1292.791 : 1%| | 3/300 [00:00<00:09, 29.91it/s]* GD progress: iter: 5 / bw: 3.100 / grad: -867.181 / stop criter: 1292.791 : 1%| | 3/300 [00:00<00:09, 29.91it/s] * GD progress: iter: 5 / bw: 3.100 / grad: -867.181 / stop criter: 1292.791 : 1%| | 3/300 [00:00<00:09, 29.91it/s]* GD progress: iter: 6 / bw: 3.167 / grad: -933.701 / stop criter: 867.181 : 1%| | 3/300 [00:00<00:09, 29.91it/s] * GD progress: iter: 6 / bw: 3.167 / grad: -933.701 / stop criter: 867.181 : 1%| | 3/300 [00:00<00:09, 29.91it/s]* GD progress: iter: 6 / bw: 3.167 / grad: -933.701 / stop criter: 867.181 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 7 / bw: 3.239 / grad: -1262.245 / stop criter: 933.701 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 7 / bw: 3.239 / grad: -1262.245 / stop criter: 933.701 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 8 / bw: 3.337 / grad: -957.710 / stop criter: 1262.245 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 8 / bw: 3.337 / grad: -957.710 / stop criter: 1262.245 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 9 / bw: 3.411 / grad: -1144.621 / stop criter: 957.710 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 9 / bw: 3.411 / grad: -1144.621 / stop criter: 957.710 : 2%|▏ | 6/300 [00:00<00:10, 27.18it/s]* GD progress: iter: 9 / bw: 3.411 / grad: -1144.621 / stop criter: 957.710 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 10 / bw: 3.500 / grad: -689.141 / stop criter: 1144.621 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 10 / bw: 3.500 / grad: -689.141 / stop criter: 1144.621 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 11 / bw: 3.553 / grad: -750.993 / stop criter: 689.141 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s] * GD progress: iter: 11 / bw: 3.553 / grad: -750.993 / stop criter: 689.141 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 12 / bw: 3.611 / grad: -392.321 / stop criter: 750.993 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 12 / bw: 3.611 / grad: -392.321 / stop criter: 750.993 : 3%|▎ | 9/300 [00:00<00:10, 27.36it/s]* GD progress: iter: 12 / bw: 3.611 / grad: -392.321 / stop criter: 750.993 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 13 / bw: 3.641 / grad: -399.469 / stop criter: 392.321 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 13 / bw: 3.641 / grad: -399.469 / stop criter: 392.321 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 14 / bw: 3.672 / grad: -569.712 / stop criter: 399.469 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 14 / bw: 3.672 / grad: -569.712 / stop criter: 399.469 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 15 / bw: 3.716 / grad: -595.002 / stop criter: 569.712 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 15 / bw: 3.716 / grad: -595.002 / stop criter: 569.712 : 4%|▍ | 12/300 [00:00<00:11, 25.90it/s]* GD progress: iter: 15 / bw: 3.716 / grad: -595.002 / stop criter: 569.712 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 16 / bw: 3.762 / grad: -279.111 / stop criter: 595.002 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 16 / bw: 3.762 / grad: -279.111 / stop criter: 595.002 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 17 / bw: 3.784 / grad: -200.445 / stop criter: 279.111 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 17 / bw: 3.784 / grad: -200.445 / stop criter: 279.111 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 18 / bw: 3.799 / grad: -384.924 / stop criter: 200.445 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 18 / bw: 3.799 / grad: -384.924 / stop criter: 200.445 : 5%|▌ | 15/300 [00:00<00:11, 25.36it/s]* GD progress: iter: 18 / bw: 3.799 / grad: -384.924 / stop criter: 200.445 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 19 / bw: 3.829 / grad: -695.268 / stop criter: 384.924 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 19 / bw: 3.829 / grad: -695.268 / stop criter: 384.924 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 20 / bw: 3.883 / grad: -558.825 / stop criter: 695.268 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 20 / bw: 3.883 / grad: -558.825 / stop criter: 695.268 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 21 / bw: 3.926 / grad: -388.885 / stop criter: 558.825 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 21 / bw: 3.926 / grad: -388.885 / stop criter: 558.825 : 6%|▌ | 18/300 [00:00<00:10, 26.31it/s]* GD progress: iter: 21 / bw: 3.926 / grad: -388.885 / stop criter: 558.825 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 22 / bw: 3.956 / grad: -424.854 / stop criter: 388.885 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 22 / bw: 3.956 / grad: -424.854 / stop criter: 388.885 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 23 / bw: 3.989 / grad: -420.918 / stop criter: 424.854 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 23 / bw: 3.989 / grad: -420.918 / stop criter: 424.854 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 24 / bw: 4.022 / grad: -596.017 / stop criter: 420.918 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 24 / bw: 4.022 / grad: -596.017 / stop criter: 420.918 : 7%|▋ | 21/300 [00:00<00:10, 27.16it/s]* GD progress: iter: 24 / bw: 4.022 / grad: -596.017 / stop criter: 420.918 : 8%|▊ | 24/300 [00:00<00:10, 25.52it/s]* GD progress: iter: 25 / bw: 4.068 / grad: -270.014 / stop criter: 596.017 : 8%|▊ | 24/300 [00:00<00:10, 25.52it/s]* GD progress: iter: 25 / bw: 4.068 / grad: -270.014 / stop criter: 596.017 : 8%|▊ | 24/300 [00:00<00:10, 25.52it/s]* GD progress: iter: 26 / bw: 4.089 / grad: -245.987 / stop criter: 270.014 : 8%|▊ | 24/300 [00:00<00:10, 25.52it/s]* GD progress: iter: 26 / bw: 4.089 / grad: -245.987 / stop criter: 270.014 : 8%|▊ | 24/300 [00:00<00:10, 25.52it/s]* GD progress: iter: 27 / bw: 4.108 / grad: -368.270 / stop criter: 245.987 : 8%|▊ | 24/300 [00:01<00:10, 25.52it/s]* GD progress: iter: 27 / bw: 4.108 / grad: -368.270 / stop criter: 245.987 : 8%|▊ | 24/300 [00:01<00:10, 25.52it/s]* GD progress: iter: 27 / bw: 4.108 / grad: -368.270 / stop criter: 245.987 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 28 / bw: 4.136 / grad: -496.300 / stop criter: 368.270 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 28 / bw: 4.136 / grad: -496.300 / stop criter: 368.270 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 29 / bw: 4.175 / grad: -400.782 / stop criter: 496.300 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 29 / bw: 4.175 / grad: -400.782 / stop criter: 496.300 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 30 / bw: 4.206 / grad: 168.210 / stop criter: 400.782 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s] * GD progress: iter: 30 / bw: 4.206 / grad: 168.210 / stop criter: 400.782 : 9%|▉ | 27/300 [00:01<00:10, 25.38it/s]* GD progress: iter: 30 / bw: 4.206 / grad: 168.210 / stop criter: 400.782 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 31 / bw: 4.193 / grad: -269.803 / stop criter: 168.210 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 31 / bw: 4.193 / grad: -269.803 / stop criter: 168.210 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 32 / bw: 4.213 / grad: -271.864 / stop criter: 269.803 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 32 / bw: 4.213 / grad: -271.864 / stop criter: 269.803 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 33 / bw: 4.234 / grad: -223.644 / stop criter: 271.864 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 33 / bw: 4.234 / grad: -223.644 / stop criter: 271.864 : 10%|█ | 30/300 [00:01<00:10, 24.56it/s]* GD progress: iter: 33 / bw: 4.234 / grad: -223.644 / stop criter: 271.864 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 34 / bw: 4.251 / grad: -228.000 / stop criter: 223.644 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 34 / bw: 4.251 / grad: -228.000 / stop criter: 223.644 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 35 / bw: 4.268 / grad: -380.729 / stop criter: 228.000 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 35 / bw: 4.268 / grad: -380.729 / stop criter: 228.000 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 36 / bw: 4.297 / grad: -577.791 / stop criter: 380.729 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 36 / bw: 4.297 / grad: -577.791 / stop criter: 380.729 : 11%|█ | 33/300 [00:01<00:10, 24.98it/s]* GD progress: iter: 36 / bw: 4.297 / grad: -577.791 / stop criter: 380.729 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 37 / bw: 4.341 / grad: -330.649 / stop criter: 577.791 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 37 / bw: 4.341 / grad: -330.649 / stop criter: 577.791 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 38 / bw: 4.366 / grad: -64.575 / stop criter: 330.649 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s] * GD progress: iter: 38 / bw: 4.366 / grad: -64.575 / stop criter: 330.649 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 39 / bw: 4.371 / grad: -261.774 / stop criter: 64.575 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 39 / bw: 4.371 / grad: -261.774 / stop criter: 64.575 : 12%|█▏ | 36/300 [00:01<00:10, 26.22it/s]* GD progress: iter: 39 / bw: 4.371 / grad: -261.774 / stop criter: 64.575 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 40 / bw: 4.391 / grad: -130.231 / stop criter: 261.774 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 40 / bw: 4.391 / grad: -130.231 / stop criter: 261.774 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 41 / bw: 4.400 / grad: -536.121 / stop criter: 130.231 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 41 / bw: 4.400 / grad: -536.121 / stop criter: 130.231 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 42 / bw: 4.441 / grad: -265.201 / stop criter: 536.121 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 42 / bw: 4.441 / grad: -265.201 / stop criter: 536.121 : 13%|█▎ | 39/300 [00:01<00:10, 25.64it/s]* GD progress: iter: 42 / bw: 4.441 / grad: -265.201 / stop criter: 536.121 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 43 / bw: 4.461 / grad: -126.265 / stop criter: 265.201 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 43 / bw: 4.461 / grad: -126.265 / stop criter: 265.201 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 44 / bw: 4.471 / grad: -89.349 / stop criter: 126.265 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s] * GD progress: iter: 44 / bw: 4.471 / grad: -89.349 / stop criter: 126.265 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 45 / bw: 4.478 / grad: -261.771 / stop criter: 89.349 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 45 / bw: 4.478 / grad: -261.771 / stop criter: 89.349 : 14%|█▍ | 42/300 [00:01<00:09, 26.07it/s]* GD progress: iter: 45 / bw: 4.478 / grad: -261.771 / stop criter: 89.349 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 46 / bw: 4.497 / grad: -345.027 / stop criter: 261.771 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 46 / bw: 4.497 / grad: -345.027 / stop criter: 261.771 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 47 / bw: 4.524 / grad: -282.287 / stop criter: 345.027 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 47 / bw: 4.524 / grad: -282.287 / stop criter: 345.027 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 48 / bw: 4.545 / grad: -60.436 / stop criter: 282.287 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s] * GD progress: iter: 48 / bw: 4.545 / grad: -60.436 / stop criter: 282.287 : 15%|█▌ | 45/300 [00:01<00:09, 26.52it/s]* GD progress: iter: 48 / bw: 4.545 / grad: -60.436 / stop criter: 282.287 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 49 / bw: 4.550 / grad: -127.493 / stop criter: 60.436 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 49 / bw: 4.550 / grad: -127.493 / stop criter: 60.436 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 50 / bw: 4.559 / grad: -446.386 / stop criter: 127.493 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 50 / bw: 4.559 / grad: -446.386 / stop criter: 127.493 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 51 / bw: 4.593 / grad: 426.179 / stop criter: 446.386 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s] * GD progress: iter: 51 / bw: 4.593 / grad: 426.179 / stop criter: 446.386 : 16%|█▌ | 48/300 [00:01<00:09, 26.90it/s]* GD progress: iter: 51 / bw: 4.593 / grad: 426.179 / stop criter: 446.386 : 17%|█▋ | 51/300 [00:01<00:08, 27.76it/s]* GD progress: iter: 52 / bw: 4.561 / grad: -128.404 / stop criter: 426.179 : 17%|█▋ | 51/300 [00:01<00:08, 27.76it/s]* GD progress: iter: 52 / bw: 4.561 / grad: -128.404 / stop criter: 426.179 : 17%|█▋ | 51/300 [00:01<00:08, 27.76it/s]* GD progress: iter: 53 / bw: 4.570 / grad: -557.699 / stop criter: 128.404 : 17%|█▋ | 51/300 [00:02<00:08, 27.76it/s]* GD progress: iter: 53 / bw: 4.570 / grad: -557.699 / stop criter: 128.404 : 17%|█▋ | 51/300 [00:02<00:08, 27.76it/s]* GD progress: iter: 54 / bw: 4.612 / grad: -280.480 / stop criter: 557.699 : 17%|█▋ | 51/300 [00:02<00:08, 27.76it/s]* GD progress: iter: 54 / bw: 4.612 / grad: -280.480 / stop criter: 557.699 : 17%|█▋ | 51/300 [00:02<00:08, 27.76it/s]* GD progress: iter: 54 / bw: 4.612 / grad: -280.480 / stop criter: 557.699 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 55 / bw: 4.633 / grad: -266.380 / stop criter: 280.480 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 55 / bw: 4.633 / grad: -266.380 / stop criter: 280.480 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 56 / bw: 4.652 / grad: 101.463 / stop criter: 266.380 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s] * GD progress: iter: 56 / bw: 4.652 / grad: 101.463 / stop criter: 266.380 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 57 / bw: 4.645 / grad: -211.626 / stop criter: 101.463 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 57 / bw: 4.645 / grad: -211.626 / stop criter: 101.463 : 18%|█▊ | 54/300 [00:02<00:09, 27.02it/s]* GD progress: iter: 57 / bw: 4.645 / grad: -211.626 / stop criter: 101.463 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 58 / bw: 4.660 / grad: 6.047 / stop criter: 211.626 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s] * GD progress: iter: 58 / bw: 4.660 / grad: 6.047 / stop criter: 211.626 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 59 / bw: 4.660 / grad: -385.856 / stop criter: 6.047 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 59 / bw: 4.660 / grad: -385.856 / stop criter: 6.047 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 60 / bw: 4.688 / grad: 130.816 / stop criter: 385.856 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 60 / bw: 4.688 / grad: 130.816 / stop criter: 385.856 : 19%|█▉ | 57/300 [00:02<00:08, 27.15it/s]* GD progress: iter: 60 / bw: 4.688 / grad: 130.816 / stop criter: 385.856 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 61 / bw: 4.678 / grad: -136.408 / stop criter: 130.816 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 61 / bw: 4.678 / grad: -136.408 / stop criter: 130.816 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 62 / bw: 4.688 / grad: -381.950 / stop criter: 136.408 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 62 / bw: 4.688 / grad: -381.950 / stop criter: 136.408 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 63 / bw: 4.715 / grad: -216.021 / stop criter: 381.950 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 63 / bw: 4.715 / grad: -216.021 / stop criter: 381.950 : 20%|██ | 60/300 [00:02<00:08, 27.51it/s]* GD progress: iter: 63 / bw: 4.715 / grad: -216.021 / stop criter: 381.950 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 64 / bw: 4.730 / grad: -233.837 / stop criter: 216.021 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 64 / bw: 4.730 / grad: -233.837 / stop criter: 216.021 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 65 / bw: 4.746 / grad: -144.641 / stop criter: 233.837 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 65 / bw: 4.746 / grad: -144.641 / stop criter: 233.837 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 66 / bw: 4.756 / grad: 170.469 / stop criter: 144.641 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s] * GD progress: iter: 66 / bw: 4.756 / grad: 170.469 / stop criter: 144.641 : 21%|██ | 63/300 [00:02<00:08, 27.64it/s]* GD progress: iter: 66 / bw: 4.756 / grad: 170.469 / stop criter: 144.641 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 67 / bw: 4.745 / grad: 100.124 / stop criter: 170.469 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 67 / bw: 4.745 / grad: 100.124 / stop criter: 170.469 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 68 / bw: 4.738 / grad: 127.163 / stop criter: 100.124 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 68 / bw: 4.738 / grad: 127.163 / stop criter: 100.124 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 69 / bw: 4.729 / grad: -89.828 / stop criter: 127.163 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 69 / bw: 4.729 / grad: -89.828 / stop criter: 127.163 : 22%|██▏ | 66/300 [00:02<00:08, 28.02it/s]* GD progress: iter: 69 / bw: 4.729 / grad: -89.828 / stop criter: 127.163 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 70 / bw: 4.735 / grad: -391.859 / stop criter: 89.828 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 70 / bw: 4.735 / grad: -391.859 / stop criter: 89.828 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 71 / bw: 4.762 / grad: 340.933 / stop criter: 391.859 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 71 / bw: 4.762 / grad: 340.933 / stop criter: 391.859 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 72 / bw: 4.738 / grad: -574.317 / stop criter: 340.933 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 72 / bw: 4.738 / grad: -574.317 / stop criter: 340.933 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 73 / bw: 4.777 / grad: 102.155 / stop criter: 574.317 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s] * GD progress: iter: 73 / bw: 4.777 / grad: 102.155 / stop criter: 574.317 : 23%|██▎ | 69/300 [00:02<00:08, 28.05it/s]* GD progress: iter: 73 / bw: 4.777 / grad: 102.155 / stop criter: 574.317 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 74 / bw: 4.771 / grad: 8.722 / stop criter: 102.155 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s] * GD progress: iter: 74 / bw: 4.771 / grad: 8.722 / stop criter: 102.155 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 75 / bw: 4.770 / grad: 547.740 / stop criter: 8.722 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 75 / bw: 4.770 / grad: 547.740 / stop criter: 8.722 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 76 / bw: 4.734 / grad: -140.032 / stop criter: 547.740 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 76 / bw: 4.734 / grad: -140.032 / stop criter: 547.740 : 24%|██▍ | 73/300 [00:02<00:08, 28.15it/s]* GD progress: iter: 76 / bw: 4.734 / grad: -140.032 / stop criter: 547.740 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 77 / bw: 4.743 / grad: -144.267 / stop criter: 140.032 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 77 / bw: 4.743 / grad: -144.267 / stop criter: 140.032 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 78 / bw: 4.752 / grad: 57.490 / stop criter: 144.267 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s] * GD progress: iter: 78 / bw: 4.752 / grad: 57.490 / stop criter: 144.267 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 79 / bw: 4.749 / grad: -257.896 / stop criter: 57.490 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 79 / bw: 4.749 / grad: -257.896 / stop criter: 57.490 : 25%|██▌ | 76/300 [00:02<00:07, 28.50it/s]* GD progress: iter: 79 / bw: 4.749 / grad: -257.896 / stop criter: 57.490 : 26%|██▋ | 79/300 [00:02<00:07, 28.42it/s]* GD progress: iter: 80 / bw: 4.765 / grad: -322.540 / stop criter: 257.896 : 26%|██▋ | 79/300 [00:02<00:07, 28.42it/s]* GD progress: iter: 80 / bw: 4.765 / grad: -322.540 / stop criter: 257.896 : 26%|██▋ | 79/300 [00:02<00:07, 28.42it/s]* GD progress: iter: 81 / bw: 4.786 / grad: 118.742 / stop criter: 322.540 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s] * GD progress: iter: 81 / bw: 4.786 / grad: 118.742 / stop criter: 322.540 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s]* GD progress: iter: 82 / bw: 4.779 / grad: -128.383 / stop criter: 118.742 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s]* GD progress: iter: 82 / bw: 4.779 / grad: -128.383 / stop criter: 118.742 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s]* GD progress: iter: 83 / bw: 4.787 / grad: -279.835 / stop criter: 128.383 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s]* GD progress: iter: 83 / bw: 4.787 / grad: -279.835 / stop criter: 128.383 : 26%|██▋ | 79/300 [00:03<00:07, 28.42it/s]* GD progress: iter: 83 / bw: 4.787 / grad: -279.835 / stop criter: 128.383 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 84 / bw: 4.804 / grad: -183.310 / stop criter: 279.835 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 84 / bw: 4.804 / grad: -183.310 / stop criter: 279.835 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 85 / bw: 4.816 / grad: 109.985 / stop criter: 183.310 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s] * GD progress: iter: 85 / bw: 4.816 / grad: 109.985 / stop criter: 183.310 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 86 / bw: 4.809 / grad: 3.239 / stop criter: 109.985 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s] * GD progress: iter: 86 / bw: 4.809 / grad: 3.239 / stop criter: 109.985 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 87 / bw: 4.809 / grad: -66.833 / stop criter: 3.239 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 87 / bw: 4.809 / grad: -66.833 / stop criter: 3.239 : 28%|██▊ | 83/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 87 / bw: 4.809 / grad: -66.833 / stop criter: 3.239 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 88 / bw: 4.813 / grad: -338.828 / stop criter: 66.833 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 88 / bw: 4.813 / grad: -338.828 / stop criter: 66.833 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 89 / bw: 4.834 / grad: 116.710 / stop criter: 338.828 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 89 / bw: 4.834 / grad: 116.710 / stop criter: 338.828 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 90 / bw: 4.827 / grad: -75.021 / stop criter: 116.710 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 90 / bw: 4.827 / grad: -75.021 / stop criter: 116.710 : 29%|██▉ | 87/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 90 / bw: 4.827 / grad: -75.021 / stop criter: 116.710 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 91 / bw: 4.831 / grad: -214.559 / stop criter: 75.021 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 91 / bw: 4.831 / grad: -214.559 / stop criter: 75.021 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 92 / bw: 4.845 / grad: -179.675 / stop criter: 214.559 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 92 / bw: 4.845 / grad: -179.675 / stop criter: 214.559 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 93 / bw: 4.855 / grad: -68.593 / stop criter: 179.675 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s] * GD progress: iter: 93 / bw: 4.855 / grad: -68.593 / stop criter: 179.675 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 94 / bw: 4.860 / grad: -249.469 / stop criter: 68.593 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 94 / bw: 4.860 / grad: -249.469 / stop criter: 68.593 : 30%|███ | 90/300 [00:03<00:07, 27.76it/s]* GD progress: iter: 94 / bw: 4.860 / grad: -249.469 / stop criter: 68.593 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 95 / bw: 4.875 / grad: 114.150 / stop criter: 249.469 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 95 / bw: 4.875 / grad: 114.150 / stop criter: 249.469 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 96 / bw: 4.868 / grad: -23.350 / stop criter: 114.150 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 96 / bw: 4.868 / grad: -23.350 / stop criter: 114.150 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 97 / bw: 4.869 / grad: -376.981 / stop criter: 23.350 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 97 / bw: 4.869 / grad: -376.981 / stop criter: 23.350 : 31%|███▏ | 94/300 [00:03<00:07, 27.72it/s]* GD progress: iter: 97 / bw: 4.869 / grad: -376.981 / stop criter: 23.350 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 98 / bw: 4.892 / grad: -163.115 / stop criter: 376.981 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 98 / bw: 4.892 / grad: -163.115 / stop criter: 376.981 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 99 / bw: 4.901 / grad: -425.039 / stop criter: 163.115 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 99 / bw: 4.901 / grad: -425.039 / stop criter: 163.115 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 100 / bw: 4.927 / grad: -128.972 / stop criter: 425.039 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 100 / bw: 4.927 / grad: -128.972 / stop criter: 425.039 : 32%|███▏ | 97/300 [00:03<00:07, 28.12it/s]* GD progress: iter: 100 / bw: 4.927 / grad: -128.972 / stop criter: 425.039 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 101 / bw: 4.934 / grad: -160.176 / stop criter: 128.972 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 101 / bw: 4.934 / grad: -160.176 / stop criter: 128.972 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 102 / bw: 4.944 / grad: 130.467 / stop criter: 160.176 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s] * GD progress: iter: 102 / bw: 4.944 / grad: 130.467 / stop criter: 160.176 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 103 / bw: 4.936 / grad: -60.964 / stop criter: 130.467 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 103 / bw: 4.936 / grad: -60.964 / stop criter: 130.467 : 33%|███▎ | 100/300 [00:03<00:06, 28.59it/s]* GD progress: iter: 103 / bw: 4.936 / grad: -60.964 / stop criter: 130.467 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 104 / bw: 4.940 / grad: 44.346 / stop criter: 60.964 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s] * GD progress: iter: 104 / bw: 4.940 / grad: 44.346 / stop criter: 60.964 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 105 / bw: 4.937 / grad: 8.391 / stop criter: 44.346 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s] * GD progress: iter: 105 / bw: 4.937 / grad: 8.391 / stop criter: 44.346 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 106 / bw: 4.937 / grad: -348.205 / stop criter: 8.391 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 106 / bw: 4.937 / grad: -348.205 / stop criter: 8.391 : 34%|███▍ | 103/300 [00:03<00:07, 27.70it/s]* GD progress: iter: 106 / bw: 4.937 / grad: -348.205 / stop criter: 8.391 : 35%|███▌ | 106/300 [00:03<00:06, 28.01it/s]* GD progress: iter: 107 / bw: 4.957 / grad: -119.802 / stop criter: 348.205 : 35%|███▌ | 106/300 [00:03<00:06, 28.01it/s]* GD progress: iter: 107 / bw: 4.957 / grad: -119.802 / stop criter: 348.205 : 35%|███▌ | 106/300 [00:03<00:06, 28.01it/s]* GD progress: iter: 108 / bw: 4.964 / grad: -76.231 / stop criter: 119.802 : 35%|███▌ | 106/300 [00:03<00:06, 28.01it/s] * GD progress: iter: 108 / bw: 4.964 / grad: -76.231 / stop criter: 119.802 : 35%|███▌ | 106/300 [00:03<00:06, 28.01it/s]* GD progress: iter: 109 / bw: 4.968 / grad: -275.251 / stop criter: 76.231 : 35%|███▌ | 106/300 [00:04<00:06, 28.01it/s]* GD progress: iter: 109 / bw: 4.968 / grad: -275.251 / stop criter: 76.231 : 35%|███▌ | 106/300 [00:04<00:06, 28.01it/s]* GD progress: iter: 109 / bw: 4.968 / grad: -275.251 / stop criter: 76.231 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 110 / bw: 4.984 / grad: 142.551 / stop criter: 275.251 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 110 / bw: 4.984 / grad: 142.551 / stop criter: 275.251 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 111 / bw: 4.976 / grad: -113.646 / stop criter: 142.551 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 111 / bw: 4.976 / grad: -113.646 / stop criter: 142.551 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 112 / bw: 4.982 / grad: -95.736 / stop criter: 113.646 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s] * GD progress: iter: 112 / bw: 4.982 / grad: -95.736 / stop criter: 113.646 : 36%|███▋ | 109/300 [00:04<00:06, 28.18it/s]* GD progress: iter: 112 / bw: 4.982 / grad: -95.736 / stop criter: 113.646 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 113 / bw: 4.987 / grad: -75.554 / stop criter: 95.736 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s] * GD progress: iter: 113 / bw: 4.987 / grad: -75.554 / stop criter: 95.736 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 114 / bw: 4.992 / grad: 129.285 / stop criter: 75.554 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 114 / bw: 4.992 / grad: 129.285 / stop criter: 75.554 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 115 / bw: 4.984 / grad: -243.012 / stop criter: 129.285 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 115 / bw: 4.984 / grad: -243.012 / stop criter: 129.285 : 37%|███▋ | 112/300 [00:04<00:06, 26.93it/s]* GD progress: iter: 115 / bw: 4.984 / grad: -243.012 / stop criter: 129.285 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 116 / bw: 4.998 / grad: 95.485 / stop criter: 243.012 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s] * GD progress: iter: 116 / bw: 4.998 / grad: 95.485 / stop criter: 243.012 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 117 / bw: 4.993 / grad: -38.534 / stop criter: 95.485 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 117 / bw: 4.993 / grad: -38.534 / stop criter: 95.485 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 118 / bw: 4.995 / grad: 376.837 / stop criter: 38.534 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 118 / bw: 4.995 / grad: 376.837 / stop criter: 38.534 : 38%|███▊ | 115/300 [00:04<00:07, 25.53it/s]* GD progress: iter: 118 / bw: 4.995 / grad: 376.837 / stop criter: 38.534 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s]* GD progress: iter: 119 / bw: 4.974 / grad: -115.400 / stop criter: 376.837 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s]* GD progress: iter: 119 / bw: 4.974 / grad: -115.400 / stop criter: 376.837 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s]* GD progress: iter: 120 / bw: 4.981 / grad: 257.212 / stop criter: 115.400 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s] * GD progress: iter: 120 / bw: 4.981 / grad: 257.212 / stop criter: 115.400 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s]* GD progress: iter: 121 / bw: 4.967 / grad: 74.679 / stop criter: 257.212 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s] * GD progress: iter: 121 / bw: 4.967 / grad: 74.679 / stop criter: 257.212 : 39%|███▉ | 118/300 [00:04<00:07, 23.92it/s]* GD progress: iter: 121 / bw: 4.967 / grad: 74.679 / stop criter: 257.212 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 122 / bw: 4.963 / grad: -155.860 / stop criter: 74.679 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 122 / bw: 4.963 / grad: -155.860 / stop criter: 74.679 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 123 / bw: 4.971 / grad: -198.168 / stop criter: 155.860 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 123 / bw: 4.971 / grad: -198.168 / stop criter: 155.860 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 124 / bw: 4.982 / grad: -55.994 / stop criter: 198.168 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s] * GD progress: iter: 124 / bw: 4.982 / grad: -55.994 / stop criter: 198.168 : 40%|████ | 121/300 [00:04<00:07, 23.98it/s]* GD progress: iter: 124 / bw: 4.982 / grad: -55.994 / stop criter: 198.168 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 125 / bw: 4.984 / grad: 191.404 / stop criter: 55.994 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s] * GD progress: iter: 125 / bw: 4.984 / grad: 191.404 / stop criter: 55.994 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 126 / bw: 4.975 / grad: -10.893 / stop criter: 191.404 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 126 / bw: 4.975 / grad: -10.893 / stop criter: 191.404 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 127 / bw: 4.975 / grad: -278.900 / stop criter: 10.893 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 127 / bw: 4.975 / grad: -278.900 / stop criter: 10.893 : 41%|████▏ | 124/300 [00:04<00:07, 23.53it/s]* GD progress: iter: 127 / bw: 4.975 / grad: -278.900 / stop criter: 10.893 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s]* GD progress: iter: 128 / bw: 4.989 / grad: 71.960 / stop criter: 278.900 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s] * GD progress: iter: 128 / bw: 4.989 / grad: 71.960 / stop criter: 278.900 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s]* GD progress: iter: 129 / bw: 4.986 / grad: -3.481 / stop criter: 71.960 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s] * GD progress: iter: 129 / bw: 4.986 / grad: -3.481 / stop criter: 71.960 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s]* GD progress: iter: 130 / bw: 4.986 / grad: -10.721 / stop criter: 3.481 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s]* GD progress: iter: 130 / bw: 4.986 / grad: -10.721 / stop criter: 3.481 : 42%|████▏ | 127/300 [00:04<00:07, 24.13it/s]* GD progress: iter: 130 / bw: 4.986 / grad: -10.721 / stop criter: 3.481 : 43%|████▎ | 130/300 [00:04<00:07, 23.37it/s]* GD progress: iter: 131 / bw: 4.986 / grad: -58.609 / stop criter: 10.721 : 43%|████▎ | 130/300 [00:04<00:07, 23.37it/s]* GD progress: iter: 131 / bw: 4.986 / grad: -58.609 / stop criter: 10.721 : 43%|████▎ | 130/300 [00:04<00:07, 23.37it/s]* GD progress: iter: 132 / bw: 4.989 / grad: -334.522 / stop criter: 58.609 : 43%|████▎ | 130/300 [00:04<00:07, 23.37it/s]* GD progress: iter: 132 / bw: 4.989 / grad: -334.522 / stop criter: 58.609 : 43%|████▎ | 130/300 [00:04<00:07, 23.37it/s]* GD progress: iter: 133 / bw: 5.006 / grad: -276.153 / stop criter: 334.522 : 43%|████▎ | 130/300 [00:05<00:07, 23.37it/s]* GD progress: iter: 133 / bw: 5.006 / grad: -276.153 / stop criter: 334.522 : 43%|████▎ | 130/300 [00:05<00:07, 23.37it/s]* GD progress: iter: 133 / bw: 5.006 / grad: -276.153 / stop criter: 334.522 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 134 / bw: 5.020 / grad: -268.260 / stop criter: 276.153 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 134 / bw: 5.020 / grad: -268.260 / stop criter: 276.153 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 135 / bw: 5.033 / grad: -173.601 / stop criter: 268.260 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 135 / bw: 5.033 / grad: -173.601 / stop criter: 268.260 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 136 / bw: 5.042 / grad: 108.294 / stop criter: 173.601 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s] * GD progress: iter: 136 / bw: 5.042 / grad: 108.294 / stop criter: 173.601 : 44%|████▍ | 133/300 [00:05<00:06, 24.30it/s]* GD progress: iter: 136 / bw: 5.042 / grad: 108.294 / stop criter: 173.601 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 137 / bw: 5.036 / grad: 394.933 / stop criter: 108.294 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 137 / bw: 5.036 / grad: 394.933 / stop criter: 108.294 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 138 / bw: 5.017 / grad: -18.423 / stop criter: 394.933 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 138 / bw: 5.017 / grad: -18.423 / stop criter: 394.933 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 139 / bw: 5.018 / grad: -214.453 / stop criter: 18.423 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 139 / bw: 5.018 / grad: -214.453 / stop criter: 18.423 : 45%|████▌ | 136/300 [00:05<00:06, 24.77it/s]* GD progress: iter: 139 / bw: 5.018 / grad: -214.453 / stop criter: 18.423 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s]* GD progress: iter: 140 / bw: 5.028 / grad: 57.757 / stop criter: 214.453 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s] * GD progress: iter: 140 / bw: 5.028 / grad: 57.757 / stop criter: 214.453 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s]* GD progress: iter: 141 / bw: 5.025 / grad: -361.947 / stop criter: 57.757 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s]* GD progress: iter: 141 / bw: 5.025 / grad: -361.947 / stop criter: 57.757 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s]* GD progress: iter: 142 / bw: 5.043 / grad: 60.626 / stop criter: 361.947 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s] * GD progress: iter: 142 / bw: 5.043 / grad: 60.626 / stop criter: 361.947 : 46%|████▋ | 139/300 [00:05<00:06, 24.91it/s]* GD progress: iter: 142 / bw: 5.043 / grad: 60.626 / stop criter: 361.947 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 143 / bw: 5.040 / grad: -201.878 / stop criter: 60.626 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 143 / bw: 5.040 / grad: -201.878 / stop criter: 60.626 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 144 / bw: 5.049 / grad: -340.323 / stop criter: 201.878 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 144 / bw: 5.049 / grad: -340.323 / stop criter: 201.878 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 145 / bw: 5.065 / grad: 52.324 / stop criter: 340.323 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s] * GD progress: iter: 145 / bw: 5.065 / grad: 52.324 / stop criter: 340.323 : 47%|████▋ | 142/300 [00:05<00:06, 25.21it/s]* GD progress: iter: 145 / bw: 5.065 / grad: 52.324 / stop criter: 340.323 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 146 / bw: 5.063 / grad: -200.460 / stop criter: 52.324 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 146 / bw: 5.063 / grad: -200.460 / stop criter: 52.324 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 147 / bw: 5.072 / grad: -130.706 / stop criter: 200.460 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 147 / bw: 5.072 / grad: -130.706 / stop criter: 200.460 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 148 / bw: 5.078 / grad: 231.961 / stop criter: 130.706 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s] * GD progress: iter: 148 / bw: 5.078 / grad: 231.961 / stop criter: 130.706 : 48%|████▊ | 145/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 148 / bw: 5.078 / grad: 231.961 / stop criter: 130.706 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 149 / bw: 5.067 / grad: -64.248 / stop criter: 231.961 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 149 / bw: 5.067 / grad: -64.248 / stop criter: 231.961 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 150 / bw: 5.070 / grad: 424.603 / stop criter: 64.248 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s] * GD progress: iter: 150 / bw: 5.070 / grad: 424.603 / stop criter: 64.248 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 151 / bw: 5.051 / grad: -3.098 / stop criter: 424.603 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 151 / bw: 5.051 / grad: -3.098 / stop criter: 424.603 : 49%|████▉ | 148/300 [00:05<00:06, 23.78it/s]* GD progress: iter: 151 / bw: 5.051 / grad: -3.098 / stop criter: 424.603 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 152 / bw: 5.051 / grad: -83.339 / stop criter: 3.098 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s] * GD progress: iter: 152 / bw: 5.051 / grad: -83.339 / stop criter: 3.098 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 153 / bw: 5.055 / grad: 87.452 / stop criter: 83.339 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 153 / bw: 5.055 / grad: 87.452 / stop criter: 83.339 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 154 / bw: 5.051 / grad: -88.176 / stop criter: 87.452 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 154 / bw: 5.051 / grad: -88.176 / stop criter: 87.452 : 50%|█████ | 151/300 [00:05<00:06, 24.11it/s]* GD progress: iter: 154 / bw: 5.051 / grad: -88.176 / stop criter: 87.452 : 51%|█████▏ | 154/300 [00:05<00:05, 24.94it/s]* GD progress: iter: 155 / bw: 5.055 / grad: -329.242 / stop criter: 88.176 : 51%|█████▏ | 154/300 [00:05<00:05, 24.94it/s]* GD progress: iter: 155 / bw: 5.055 / grad: -329.242 / stop criter: 88.176 : 51%|█████▏ | 154/300 [00:05<00:05, 24.94it/s]* GD progress: iter: 156 / bw: 5.069 / grad: -30.871 / stop criter: 329.242 : 51%|█████▏ | 154/300 [00:05<00:05, 24.94it/s]* GD progress: iter: 156 / bw: 5.069 / grad: -30.871 / stop criter: 329.242 : 51%|█████▏ | 154/300 [00:05<00:05, 24.94it/s]* GD progress: iter: 157 / bw: 5.071 / grad: -228.191 / stop criter: 30.871 : 51%|█████▏ | 154/300 [00:06<00:05, 24.94it/s]* GD progress: iter: 157 / bw: 5.071 / grad: -228.191 / stop criter: 30.871 : 51%|█████▏ | 154/300 [00:06<00:05, 24.94it/s]* GD progress: iter: 157 / bw: 5.071 / grad: -228.191 / stop criter: 30.871 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s]* GD progress: iter: 158 / bw: 5.081 / grad: -188.166 / stop criter: 228.191 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s]* GD progress: iter: 158 / bw: 5.081 / grad: -188.166 / stop criter: 228.191 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s]* GD progress: iter: 159 / bw: 5.089 / grad: 309.194 / stop criter: 188.166 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s] * GD progress: iter: 159 / bw: 5.089 / grad: 309.194 / stop criter: 188.166 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s]* GD progress: iter: 160 / bw: 5.075 / grad: 61.218 / stop criter: 309.194 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s] * GD progress: iter: 160 / bw: 5.075 / grad: 61.218 / stop criter: 309.194 : 52%|█████▏ | 157/300 [00:06<00:05, 24.07it/s]* GD progress: iter: 160 / bw: 5.075 / grad: 61.218 / stop criter: 309.194 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 161 / bw: 5.073 / grad: 75.961 / stop criter: 61.218 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s] * GD progress: iter: 161 / bw: 5.073 / grad: 75.961 / stop criter: 61.218 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 162 / bw: 5.069 / grad: 345.426 / stop criter: 75.961 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 162 / bw: 5.069 / grad: 345.426 / stop criter: 75.961 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 163 / bw: 5.055 / grad: 367.707 / stop criter: 345.426 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 163 / bw: 5.055 / grad: 367.707 / stop criter: 345.426 : 53%|█████▎ | 160/300 [00:06<00:05, 24.64it/s]* GD progress: iter: 163 / bw: 5.055 / grad: 367.707 / stop criter: 345.426 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 164 / bw: 5.039 / grad: -31.966 / stop criter: 367.707 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 164 / bw: 5.039 / grad: -31.966 / stop criter: 367.707 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 165 / bw: 5.040 / grad: -141.402 / stop criter: 31.966 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 165 / bw: 5.040 / grad: -141.402 / stop criter: 31.966 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 166 / bw: 5.046 / grad: -167.757 / stop criter: 141.402 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 166 / bw: 5.046 / grad: -167.757 / stop criter: 141.402 : 54%|█████▍ | 163/300 [00:06<00:05, 23.80it/s]* GD progress: iter: 166 / bw: 5.046 / grad: -167.757 / stop criter: 141.402 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 167 / bw: 5.053 / grad: 9.427 / stop criter: 167.757 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s] * GD progress: iter: 167 / bw: 5.053 / grad: 9.427 / stop criter: 167.757 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 168 / bw: 5.053 / grad: 267.408 / stop criter: 9.427 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 168 / bw: 5.053 / grad: 267.408 / stop criter: 9.427 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 169 / bw: 5.042 / grad: 42.127 / stop criter: 267.408 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 169 / bw: 5.042 / grad: 42.127 / stop criter: 267.408 : 55%|█████▌ | 166/300 [00:06<00:05, 23.18it/s]* GD progress: iter: 169 / bw: 5.042 / grad: 42.127 / stop criter: 267.408 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 170 / bw: 5.040 / grad: 48.181 / stop criter: 42.127 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s] * GD progress: iter: 170 / bw: 5.040 / grad: 48.181 / stop criter: 42.127 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 171 / bw: 5.038 / grad: 266.016 / stop criter: 48.181 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 171 / bw: 5.038 / grad: 266.016 / stop criter: 48.181 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 172 / bw: 5.027 / grad: -131.442 / stop criter: 266.016 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 172 / bw: 5.027 / grad: -131.442 / stop criter: 266.016 : 56%|█████▋ | 169/300 [00:06<00:05, 23.61it/s]* GD progress: iter: 172 / bw: 5.027 / grad: -131.442 / stop criter: 266.016 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 173 / bw: 5.032 / grad: -165.692 / stop criter: 131.442 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 173 / bw: 5.032 / grad: -165.692 / stop criter: 131.442 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 174 / bw: 5.039 / grad: 58.378 / stop criter: 165.692 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s] * GD progress: iter: 174 / bw: 5.039 / grad: 58.378 / stop criter: 165.692 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 175 / bw: 5.037 / grad: -187.586 / stop criter: 58.378 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 175 / bw: 5.037 / grad: -187.586 / stop criter: 58.378 : 57%|█████▋ | 172/300 [00:06<00:05, 23.46it/s]* GD progress: iter: 175 / bw: 5.037 / grad: -187.586 / stop criter: 58.378 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 176 / bw: 5.045 / grad: -135.980 / stop criter: 187.586 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 176 / bw: 5.045 / grad: -135.980 / stop criter: 187.586 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 177 / bw: 5.050 / grad: -197.117 / stop criter: 135.980 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 177 / bw: 5.050 / grad: -197.117 / stop criter: 135.980 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 178 / bw: 5.058 / grad: 344.464 / stop criter: 197.117 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s] * GD progress: iter: 178 / bw: 5.058 / grad: 344.464 / stop criter: 197.117 : 58%|█████▊ | 175/300 [00:06<00:05, 22.69it/s]* GD progress: iter: 178 / bw: 5.058 / grad: 344.464 / stop criter: 197.117 : 59%|█████▉ | 178/300 [00:06<00:05, 22.85it/s]* GD progress: iter: 179 / bw: 5.044 / grad: 325.251 / stop criter: 344.464 : 59%|█████▉ | 178/300 [00:06<00:05, 22.85it/s]* GD progress: iter: 179 / bw: 5.044 / grad: 325.251 / stop criter: 344.464 : 59%|█████▉ | 178/300 [00:06<00:05, 22.85it/s]* GD progress: iter: 180 / bw: 5.031 / grad: -1.148 / stop criter: 325.251 : 59%|█████▉ | 178/300 [00:07<00:05, 22.85it/s] * GD progress: iter: 180 / bw: 5.031 / grad: -1.148 / stop criter: 325.251 : 59%|█████▉ | 178/300 [00:07<00:05, 22.85it/s]* GD progress: iter: 181 / bw: 5.031 / grad: -7.948 / stop criter: 1.148 : 59%|█████▉ | 178/300 [00:07<00:05, 22.85it/s] * GD progress: iter: 181 / bw: 5.031 / grad: -7.948 / stop criter: 1.148 : 59%|█████▉ | 178/300 [00:07<00:05, 22.85it/s]* GD progress: iter: 181 / bw: 5.031 / grad: -7.948 / stop criter: 1.148 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 182 / bw: 5.031 / grad: -212.017 / stop criter: 7.948 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 182 / bw: 5.031 / grad: -212.017 / stop criter: 7.948 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 183 / bw: 5.040 / grad: -144.621 / stop criter: 212.017 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 183 / bw: 5.040 / grad: -144.621 / stop criter: 212.017 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 184 / bw: 5.046 / grad: -362.610 / stop criter: 144.621 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 184 / bw: 5.046 / grad: -362.610 / stop criter: 144.621 : 60%|██████ | 181/300 [00:07<00:05, 22.66it/s]* GD progress: iter: 184 / bw: 5.046 / grad: -362.610 / stop criter: 144.621 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 185 / bw: 5.060 / grad: -92.525 / stop criter: 362.610 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s] * GD progress: iter: 185 / bw: 5.060 / grad: -92.525 / stop criter: 362.610 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 186 / bw: 5.064 / grad: -1.718 / stop criter: 92.525 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s] * GD progress: iter: 186 / bw: 5.064 / grad: -1.718 / stop criter: 92.525 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 187 / bw: 5.064 / grad: -32.714 / stop criter: 1.718 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 187 / bw: 5.064 / grad: -32.714 / stop criter: 1.718 : 61%|██████▏ | 184/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 187 / bw: 5.064 / grad: -32.714 / stop criter: 1.718 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 188 / bw: 5.065 / grad: -44.517 / stop criter: 32.714 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 188 / bw: 5.065 / grad: -44.517 / stop criter: 32.714 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 189 / bw: 5.067 / grad: 299.922 / stop criter: 44.517 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 189 / bw: 5.067 / grad: 299.922 / stop criter: 44.517 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 190 / bw: 5.055 / grad: 112.771 / stop criter: 299.922 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 190 / bw: 5.055 / grad: 112.771 / stop criter: 299.922 : 62%|██████▏ | 187/300 [00:07<00:05, 20.51it/s]* GD progress: iter: 190 / bw: 5.055 / grad: 112.771 / stop criter: 299.922 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 191 / bw: 5.050 / grad: 24.708 / stop criter: 112.771 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s] * GD progress: iter: 191 / bw: 5.050 / grad: 24.708 / stop criter: 112.771 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 192 / bw: 5.049 / grad: 446.437 / stop criter: 24.708 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 192 / bw: 5.049 / grad: 446.437 / stop criter: 24.708 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 193 / bw: 5.032 / grad: 211.002 / stop criter: 446.437 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 193 / bw: 5.032 / grad: 211.002 / stop criter: 446.437 : 63%|██████▎ | 190/300 [00:07<00:05, 20.94it/s]* GD progress: iter: 193 / bw: 5.032 / grad: 211.002 / stop criter: 446.437 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 194 / bw: 5.024 / grad: 102.072 / stop criter: 211.002 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 194 / bw: 5.024 / grad: 102.072 / stop criter: 211.002 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 195 / bw: 5.019 / grad: -110.576 / stop criter: 102.072 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 195 / bw: 5.019 / grad: -110.576 / stop criter: 102.072 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 196 / bw: 5.024 / grad: -326.441 / stop criter: 110.576 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 196 / bw: 5.024 / grad: -326.441 / stop criter: 110.576 : 64%|██████▍ | 193/300 [00:07<00:05, 21.39it/s]* GD progress: iter: 196 / bw: 5.024 / grad: -326.441 / stop criter: 110.576 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s]* GD progress: iter: 197 / bw: 5.037 / grad: -17.530 / stop criter: 326.441 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s] * GD progress: iter: 197 / bw: 5.037 / grad: -17.530 / stop criter: 326.441 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s]* GD progress: iter: 198 / bw: 5.037 / grad: 465.582 / stop criter: 17.530 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s] * GD progress: iter: 198 / bw: 5.037 / grad: 465.582 / stop criter: 17.530 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s]* GD progress: iter: 199 / bw: 5.019 / grad: -223.309 / stop criter: 465.582 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s]* GD progress: iter: 199 / bw: 5.019 / grad: -223.309 / stop criter: 465.582 : 65%|██████▌ | 196/300 [00:07<00:04, 21.85it/s]* GD progress: iter: 199 / bw: 5.019 / grad: -223.309 / stop criter: 465.582 : 66%|██████▋ | 199/300 [00:07<00:04, 21.20it/s]* GD progress: iter: 200 / bw: 5.028 / grad: 127.287 / stop criter: 223.309 : 66%|██████▋ | 199/300 [00:07<00:04, 21.20it/s] * GD progress: iter: 200 / bw: 5.028 / grad: 127.287 / stop criter: 223.309 : 66%|██████▋ | 199/300 [00:07<00:04, 21.20it/s]* GD progress: iter: 201 / bw: 5.023 / grad: -19.548 / stop criter: 127.287 : 66%|██████▋ | 199/300 [00:08<00:04, 21.20it/s]* GD progress: iter: 201 / bw: 5.023 / grad: -19.548 / stop criter: 127.287 : 66%|██████▋ | 199/300 [00:08<00:04, 21.20it/s]* GD progress: iter: 202 / bw: 5.024 / grad: -171.818 / stop criter: 19.548 : 66%|██████▋ | 199/300 [00:08<00:04, 21.20it/s]* GD progress: iter: 202 / bw: 5.024 / grad: -171.818 / stop criter: 19.548 : 66%|██████▋ | 199/300 [00:08<00:04, 21.20it/s]* GD progress: iter: 202 / bw: 5.024 / grad: -171.818 / stop criter: 19.548 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 203 / bw: 5.030 / grad: 14.023 / stop criter: 171.818 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s] * GD progress: iter: 203 / bw: 5.030 / grad: 14.023 / stop criter: 171.818 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 204 / bw: 5.030 / grad: -195.540 / stop criter: 14.023 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 204 / bw: 5.030 / grad: -195.540 / stop criter: 14.023 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 205 / bw: 5.037 / grad: -13.981 / stop criter: 195.540 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 205 / bw: 5.037 / grad: -13.981 / stop criter: 195.540 : 67%|██████▋ | 202/300 [00:08<00:04, 20.88it/s]* GD progress: iter: 205 / bw: 5.037 / grad: -13.981 / stop criter: 195.540 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 206 / bw: 5.037 / grad: -135.989 / stop criter: 13.981 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 206 / bw: 5.037 / grad: -135.989 / stop criter: 13.981 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 207 / bw: 5.042 / grad: -369.892 / stop criter: 135.989 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 207 / bw: 5.042 / grad: -369.892 / stop criter: 135.989 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 208 / bw: 5.056 / grad: -22.894 / stop criter: 369.892 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s] * GD progress: iter: 208 / bw: 5.056 / grad: -22.894 / stop criter: 369.892 : 68%|██████▊ | 205/300 [00:08<00:04, 20.83it/s]* GD progress: iter: 208 / bw: 5.056 / grad: -22.894 / stop criter: 369.892 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 209 / bw: 5.057 / grad: -281.590 / stop criter: 22.894 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 209 / bw: 5.057 / grad: -281.590 / stop criter: 22.894 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 210 / bw: 5.067 / grad: -146.960 / stop criter: 281.590 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 210 / bw: 5.067 / grad: -146.960 / stop criter: 281.590 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 211 / bw: 5.072 / grad: 162.326 / stop criter: 146.960 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s] * GD progress: iter: 211 / bw: 5.072 / grad: 162.326 / stop criter: 146.960 : 69%|██████▉ | 208/300 [00:08<00:04, 21.23it/s]* GD progress: iter: 211 / bw: 5.072 / grad: 162.326 / stop criter: 146.960 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 212 / bw: 5.067 / grad: -235.026 / stop criter: 162.326 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 212 / bw: 5.067 / grad: -235.026 / stop criter: 162.326 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 213 / bw: 5.075 / grad: 189.791 / stop criter: 235.026 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s] * GD progress: iter: 213 / bw: 5.075 / grad: 189.791 / stop criter: 235.026 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 214 / bw: 5.068 / grad: -56.374 / stop criter: 189.791 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 214 / bw: 5.068 / grad: -56.374 / stop criter: 189.791 : 70%|███████ | 211/300 [00:08<00:04, 21.45it/s]* GD progress: iter: 214 / bw: 5.068 / grad: -56.374 / stop criter: 189.791 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 215 / bw: 5.070 / grad: -120.892 / stop criter: 56.374 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 215 / bw: 5.070 / grad: -120.892 / stop criter: 56.374 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 216 / bw: 5.075 / grad: -64.548 / stop criter: 120.892 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 216 / bw: 5.075 / grad: -64.548 / stop criter: 120.892 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 217 / bw: 5.077 / grad: -188.335 / stop criter: 64.548 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 217 / bw: 5.077 / grad: -188.335 / stop criter: 64.548 : 71%|███████▏ | 214/300 [00:08<00:03, 21.88it/s]* GD progress: iter: 217 / bw: 5.077 / grad: -188.335 / stop criter: 64.548 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 218 / bw: 5.083 / grad: 177.648 / stop criter: 188.335 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 218 / bw: 5.083 / grad: 177.648 / stop criter: 188.335 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 219 / bw: 5.077 / grad: 153.339 / stop criter: 177.648 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 219 / bw: 5.077 / grad: 153.339 / stop criter: 177.648 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 220 / bw: 5.072 / grad: 72.270 / stop criter: 153.339 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s] * GD progress: iter: 220 / bw: 5.072 / grad: 72.270 / stop criter: 153.339 : 72%|███████▏ | 217/300 [00:08<00:03, 21.75it/s]* GD progress: iter: 220 / bw: 5.072 / grad: 72.270 / stop criter: 153.339 : 73%|███████▎ | 220/300 [00:08<00:03, 21.87it/s]* GD progress: iter: 221 / bw: 5.069 / grad: -6.380 / stop criter: 72.270 : 73%|███████▎ | 220/300 [00:08<00:03, 21.87it/s] * GD progress: iter: 221 / bw: 5.069 / grad: -6.380 / stop criter: 72.270 : 73%|███████▎ | 220/300 [00:08<00:03, 21.87it/s]* GD progress: iter: 222 / bw: 5.070 / grad: 168.353 / stop criter: 6.380 : 73%|███████▎ | 220/300 [00:09<00:03, 21.87it/s]* GD progress: iter: 222 / bw: 5.070 / grad: 168.353 / stop criter: 6.380 : 73%|███████▎ | 220/300 [00:09<00:03, 21.87it/s]* GD progress: iter: 223 / bw: 5.064 / grad: -69.212 / stop criter: 168.353 : 73%|███████▎ | 220/300 [00:09<00:03, 21.87it/s]* GD progress: iter: 223 / bw: 5.064 / grad: -69.212 / stop criter: 168.353 : 73%|███████▎ | 220/300 [00:09<00:03, 21.87it/s]* GD progress: iter: 223 / bw: 5.064 / grad: -69.212 / stop criter: 168.353 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 224 / bw: 5.066 / grad: -282.996 / stop criter: 69.212 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 224 / bw: 5.066 / grad: -282.996 / stop criter: 69.212 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 225 / bw: 5.076 / grad: -179.650 / stop criter: 282.996 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 225 / bw: 5.076 / grad: -179.650 / stop criter: 282.996 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 226 / bw: 5.082 / grad: -233.667 / stop criter: 179.650 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 226 / bw: 5.082 / grad: -233.667 / stop criter: 179.650 : 74%|███████▍ | 223/300 [00:09<00:03, 20.38it/s]* GD progress: iter: 226 / bw: 5.082 / grad: -233.667 / stop criter: 179.650 : 75%|███████▌ | 226/300 [00:09<00:03, 19.01it/s]* GD progress: iter: 227 / bw: 5.090 / grad: 142.429 / stop criter: 233.667 : 75%|███████▌ | 226/300 [00:09<00:03, 19.01it/s] * GD progress: iter: 227 / bw: 5.090 / grad: 142.429 / stop criter: 233.667 : 75%|███████▌ | 226/300 [00:09<00:03, 19.01it/s]* GD progress: iter: 228 / bw: 5.085 / grad: 266.147 / stop criter: 142.429 : 75%|███████▌ | 226/300 [00:09<00:03, 19.01it/s]* GD progress: iter: 228 / bw: 5.085 / grad: 266.147 / stop criter: 142.429 : 75%|███████▌ | 226/300 [00:09<00:03, 19.01it/s]* GD progress: iter: 228 / bw: 5.085 / grad: 266.147 / stop criter: 142.429 : 76%|███████▌ | 228/300 [00:09<00:03, 18.05it/s]* GD progress: iter: 229 / bw: 5.076 / grad: 263.006 / stop criter: 266.147 : 76%|███████▌ | 228/300 [00:09<00:03, 18.05it/s]* GD progress: iter: 229 / bw: 5.076 / grad: 263.006 / stop criter: 266.147 : 76%|███████▌ | 228/300 [00:09<00:03, 18.05it/s]* GD progress: iter: 230 / bw: 5.067 / grad: -29.014 / stop criter: 263.006 : 76%|███████▌ | 228/300 [00:09<00:03, 18.05it/s]* GD progress: iter: 230 / bw: 5.067 / grad: -29.014 / stop criter: 263.006 : 76%|███████▌ | 228/300 [00:09<00:03, 18.05it/s]* GD progress: iter: 230 / bw: 5.067 / grad: -29.014 / stop criter: 263.006 : 77%|███████▋ | 230/300 [00:09<00:03, 18.10it/s]* GD progress: iter: 231 / bw: 5.068 / grad: -135.952 / stop criter: 29.014 : 77%|███████▋ | 230/300 [00:09<00:03, 18.10it/s]* GD progress: iter: 231 / bw: 5.068 / grad: -135.952 / stop criter: 29.014 : 77%|███████▋ | 230/300 [00:09<00:03, 18.10it/s]* GD progress: iter: 232 / bw: 5.073 / grad: -83.188 / stop criter: 135.952 : 77%|███████▋ | 230/300 [00:09<00:03, 18.10it/s]* GD progress: iter: 232 / bw: 5.073 / grad: -83.188 / stop criter: 135.952 : 77%|███████▋ | 230/300 [00:09<00:03, 18.10it/s]* GD progress: iter: 232 / bw: 5.073 / grad: -83.188 / stop criter: 135.952 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 233 / bw: 5.075 / grad: -112.110 / stop criter: 83.188 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 233 / bw: 5.075 / grad: -112.110 / stop criter: 83.188 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 234 / bw: 5.079 / grad: -82.693 / stop criter: 112.110 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 234 / bw: 5.079 / grad: -82.693 / stop criter: 112.110 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 235 / bw: 5.082 / grad: -71.691 / stop criter: 82.693 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s] * GD progress: iter: 235 / bw: 5.082 / grad: -71.691 / stop criter: 82.693 : 77%|███████▋ | 232/300 [00:09<00:03, 18.34it/s]* GD progress: iter: 235 / bw: 5.082 / grad: -71.691 / stop criter: 82.693 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 236 / bw: 5.084 / grad: -103.539 / stop criter: 71.691 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 236 / bw: 5.084 / grad: -103.539 / stop criter: 71.691 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 237 / bw: 5.088 / grad: -189.013 / stop criter: 103.539 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 237 / bw: 5.088 / grad: -189.013 / stop criter: 103.539 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 238 / bw: 5.094 / grad: 134.292 / stop criter: 189.013 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s] * GD progress: iter: 238 / bw: 5.094 / grad: 134.292 / stop criter: 189.013 : 78%|███████▊ | 235/300 [00:09<00:03, 19.51it/s]* GD progress: iter: 238 / bw: 5.094 / grad: 134.292 / stop criter: 189.013 : 79%|███████▉ | 238/300 [00:09<00:03, 19.93it/s]* GD progress: iter: 239 / bw: 5.089 / grad: 425.463 / stop criter: 134.292 : 79%|███████▉ | 238/300 [00:09<00:03, 19.93it/s]* GD progress: iter: 239 / bw: 5.089 / grad: 425.463 / stop criter: 134.292 : 79%|███████▉ | 238/300 [00:09<00:03, 19.93it/s]* GD progress: iter: 240 / bw: 5.075 / grad: -162.189 / stop criter: 425.463 : 79%|███████▉ | 238/300 [00:09<00:03, 19.93it/s]* GD progress: iter: 240 / bw: 5.075 / grad: -162.189 / stop criter: 425.463 : 79%|███████▉ | 238/300 [00:09<00:03, 19.93it/s]* GD progress: iter: 241 / bw: 5.081 / grad: -172.451 / stop criter: 162.189 : 79%|███████▉ | 238/300 [00:10<00:03, 19.93it/s]* GD progress: iter: 241 / bw: 5.081 / grad: -172.451 / stop criter: 162.189 : 79%|███████▉ | 238/300 [00:10<00:03, 19.93it/s]* GD progress: iter: 241 / bw: 5.081 / grad: -172.451 / stop criter: 162.189 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s]* GD progress: iter: 242 / bw: 5.086 / grad: -17.588 / stop criter: 172.451 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s] * GD progress: iter: 242 / bw: 5.086 / grad: -17.588 / stop criter: 172.451 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s]* GD progress: iter: 243 / bw: 5.087 / grad: -56.300 / stop criter: 17.588 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s] * GD progress: iter: 243 / bw: 5.087 / grad: -56.300 / stop criter: 17.588 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s]* GD progress: iter: 244 / bw: 5.089 / grad: 127.345 / stop criter: 56.300 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s]* GD progress: iter: 244 / bw: 5.089 / grad: 127.345 / stop criter: 56.300 : 80%|████████ | 241/300 [00:10<00:02, 20.69it/s]* GD progress: iter: 244 / bw: 5.089 / grad: 127.345 / stop criter: 56.300 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 245 / bw: 5.085 / grad: -57.835 / stop criter: 127.345 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 245 / bw: 5.085 / grad: -57.835 / stop criter: 127.345 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 246 / bw: 5.087 / grad: 473.610 / stop criter: 57.835 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s] * GD progress: iter: 246 / bw: 5.087 / grad: 473.610 / stop criter: 57.835 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 247 / bw: 5.071 / grad: -24.249 / stop criter: 473.610 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 247 / bw: 5.071 / grad: -24.249 / stop criter: 473.610 : 81%|████████▏ | 244/300 [00:10<00:02, 21.24it/s]* GD progress: iter: 247 / bw: 5.071 / grad: -24.249 / stop criter: 473.610 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s]* GD progress: iter: 248 / bw: 5.072 / grad: -324.046 / stop criter: 24.249 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s]* GD progress: iter: 248 / bw: 5.072 / grad: -324.046 / stop criter: 24.249 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s]* GD progress: iter: 249 / bw: 5.082 / grad: -3.025 / stop criter: 324.046 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s] * GD progress: iter: 249 / bw: 5.082 / grad: -3.025 / stop criter: 324.046 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s]* GD progress: iter: 250 / bw: 5.082 / grad: 7.580 / stop criter: 3.025 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s] * GD progress: iter: 250 / bw: 5.082 / grad: 7.580 / stop criter: 3.025 : 82%|████████▏ | 247/300 [00:10<00:02, 21.62it/s]* GD progress: iter: 250 / bw: 5.082 / grad: 7.580 / stop criter: 3.025 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 251 / bw: 5.082 / grad: -53.049 / stop criter: 7.580 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 251 / bw: 5.082 / grad: -53.049 / stop criter: 7.580 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 252 / bw: 5.084 / grad: 468.409 / stop criter: 53.049 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 252 / bw: 5.084 / grad: 468.409 / stop criter: 53.049 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 253 / bw: 5.069 / grad: 118.269 / stop criter: 468.409 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 253 / bw: 5.069 / grad: 118.269 / stop criter: 468.409 : 83%|████████▎ | 250/300 [00:10<00:02, 21.08it/s]* GD progress: iter: 253 / bw: 5.069 / grad: 118.269 / stop criter: 468.409 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 254 / bw: 5.066 / grad: -66.748 / stop criter: 118.269 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 254 / bw: 5.066 / grad: -66.748 / stop criter: 118.269 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 255 / bw: 5.068 / grad: 233.585 / stop criter: 66.748 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s] * GD progress: iter: 255 / bw: 5.068 / grad: 233.585 / stop criter: 66.748 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 256 / bw: 5.061 / grad: 160.419 / stop criter: 233.585 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 256 / bw: 5.061 / grad: 160.419 / stop criter: 233.585 : 84%|████████▍ | 253/300 [00:10<00:02, 22.04it/s]* GD progress: iter: 256 / bw: 5.061 / grad: 160.419 / stop criter: 233.585 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 257 / bw: 5.056 / grad: -30.217 / stop criter: 160.419 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 257 / bw: 5.056 / grad: -30.217 / stop criter: 160.419 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 258 / bw: 5.057 / grad: -183.718 / stop criter: 30.217 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 258 / bw: 5.057 / grad: -183.718 / stop criter: 30.217 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 259 / bw: 5.062 / grad: 117.230 / stop criter: 183.718 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 259 / bw: 5.062 / grad: 117.230 / stop criter: 183.718 : 85%|████████▌ | 256/300 [00:10<00:02, 20.13it/s]* GD progress: iter: 259 / bw: 5.062 / grad: 117.230 / stop criter: 183.718 : 86%|████████▋ | 259/300 [00:10<00:02, 17.70it/s]* GD progress: iter: 260 / bw: 5.059 / grad: 326.618 / stop criter: 117.230 : 86%|████████▋ | 259/300 [00:11<00:02, 17.70it/s]* GD progress: iter: 260 / bw: 5.059 / grad: 326.618 / stop criter: 117.230 : 86%|████████▋ | 259/300 [00:11<00:02, 17.70it/s]* GD progress: iter: 261 / bw: 5.049 / grad: 178.961 / stop criter: 326.618 : 86%|████████▋ | 259/300 [00:11<00:02, 17.70it/s]* GD progress: iter: 261 / bw: 5.049 / grad: 178.961 / stop criter: 326.618 : 86%|████████▋ | 259/300 [00:11<00:02, 17.70it/s]* GD progress: iter: 261 / bw: 5.049 / grad: 178.961 / stop criter: 326.618 : 87%|████████▋ | 261/300 [00:11<00:02, 17.47it/s]* GD progress: iter: 262 / bw: 5.044 / grad: 22.616 / stop criter: 178.961 : 87%|████████▋ | 261/300 [00:11<00:02, 17.47it/s] * GD progress: iter: 262 / bw: 5.044 / grad: 22.616 / stop criter: 178.961 : 87%|████████▋ | 261/300 [00:11<00:02, 17.47it/s]* GD progress: iter: 263 / bw: 5.044 / grad: -60.213 / stop criter: 22.616 : 87%|████████▋ | 261/300 [00:11<00:02, 17.47it/s]* GD progress: iter: 263 / bw: 5.044 / grad: -60.213 / stop criter: 22.616 : 87%|████████▋ | 261/300 [00:11<00:02, 17.47it/s]* GD progress: iter: 263 / bw: 5.044 / grad: -60.213 / stop criter: 22.616 : 88%|████████▊ | 263/300 [00:11<00:02, 16.91it/s]* GD progress: iter: 264 / bw: 5.045 / grad: -128.275 / stop criter: 60.213 : 88%|████████▊ | 263/300 [00:11<00:02, 16.91it/s]* GD progress: iter: 264 / bw: 5.045 / grad: -128.275 / stop criter: 60.213 : 88%|████████▊ | 263/300 [00:11<00:02, 16.91it/s]* GD progress: iter: 265 / bw: 5.049 / grad: -328.153 / stop criter: 128.275 : 88%|████████▊ | 263/300 [00:11<00:02, 16.91it/s]* GD progress: iter: 265 / bw: 5.049 / grad: -328.153 / stop criter: 128.275 : 88%|████████▊ | 263/300 [00:11<00:02, 16.91it/s]* GD progress: iter: 265 / bw: 5.049 / grad: -328.153 / stop criter: 128.275 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s]* GD progress: iter: 266 / bw: 5.058 / grad: -281.265 / stop criter: 328.153 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s]* GD progress: iter: 266 / bw: 5.058 / grad: -281.265 / stop criter: 328.153 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s]* GD progress: iter: 267 / bw: 5.067 / grad: -31.801 / stop criter: 281.265 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s] * GD progress: iter: 267 / bw: 5.067 / grad: -31.801 / stop criter: 281.265 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s]* GD progress: iter: 268 / bw: 5.068 / grad: -4.046 / stop criter: 31.801 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s] * GD progress: iter: 268 / bw: 5.068 / grad: -4.046 / stop criter: 31.801 : 88%|████████▊ | 265/300 [00:11<00:02, 16.98it/s]* GD progress: iter: 268 / bw: 5.068 / grad: -4.046 / stop criter: 31.801 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 269 / bw: 5.068 / grad: -3.768 / stop criter: 4.046 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s] * GD progress: iter: 269 / bw: 5.068 / grad: -3.768 / stop criter: 4.046 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 270 / bw: 5.068 / grad: 116.195 / stop criter: 3.768 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 270 / bw: 5.068 / grad: 116.195 / stop criter: 3.768 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 271 / bw: 5.064 / grad: 168.522 / stop criter: 116.195 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 271 / bw: 5.064 / grad: 168.522 / stop criter: 116.195 : 89%|████████▉ | 268/300 [00:11<00:01, 17.98it/s]* GD progress: iter: 271 / bw: 5.064 / grad: 168.522 / stop criter: 116.195 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 272 / bw: 5.060 / grad: -76.278 / stop criter: 168.522 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 272 / bw: 5.060 / grad: -76.278 / stop criter: 168.522 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 273 / bw: 5.062 / grad: -41.089 / stop criter: 76.278 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s] * GD progress: iter: 273 / bw: 5.062 / grad: -41.089 / stop criter: 76.278 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 274 / bw: 5.063 / grad: 119.661 / stop criter: 41.089 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 274 / bw: 5.063 / grad: 119.661 / stop criter: 41.089 : 90%|█████████ | 271/300 [00:11<00:01, 19.19it/s]* GD progress: iter: 274 / bw: 5.063 / grad: 119.661 / stop criter: 41.089 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 275 / bw: 5.060 / grad: 171.045 / stop criter: 119.661 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 275 / bw: 5.060 / grad: 171.045 / stop criter: 119.661 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 276 / bw: 5.055 / grad: -512.589 / stop criter: 171.045 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 276 / bw: 5.055 / grad: -512.589 / stop criter: 171.045 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 277 / bw: 5.069 / grad: 11.344 / stop criter: 512.589 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s] * GD progress: iter: 277 / bw: 5.069 / grad: 11.344 / stop criter: 512.589 : 91%|█████████▏| 274/300 [00:11<00:01, 20.22it/s]* GD progress: iter: 277 / bw: 5.069 / grad: 11.344 / stop criter: 512.589 : 92%|█████████▏| 277/300 [00:11<00:01, 20.73it/s]* GD progress: iter: 278 / bw: 5.069 / grad: -95.468 / stop criter: 11.344 : 92%|█████████▏| 277/300 [00:11<00:01, 20.73it/s]* GD progress: iter: 278 / bw: 5.069 / grad: -95.468 / stop criter: 11.344 : 92%|█████████▏| 277/300 [00:11<00:01, 20.73it/s]* GD progress: iter: 279 / bw: 5.071 / grad: 5.276 / stop criter: 95.468 : 92%|█████████▏| 277/300 [00:11<00:01, 20.73it/s] * GD progress: iter: 279 / bw: 5.071 / grad: 5.276 / stop criter: 95.468 : 92%|█████████▏| 277/300 [00:11<00:01, 20.73it/s]* GD progress: iter: 280 / bw: 5.071 / grad: -40.232 / stop criter: 5.276 : 92%|█████████▏| 277/300 [00:12<00:01, 20.73it/s]* GD progress: iter: 280 / bw: 5.071 / grad: -40.232 / stop criter: 5.276 : 92%|█████████▏| 277/300 [00:12<00:01, 20.73it/s]* GD progress: iter: 280 / bw: 5.071 / grad: -40.232 / stop criter: 5.276 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 281 / bw: 5.072 / grad: -111.185 / stop criter: 40.232 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 281 / bw: 5.072 / grad: -111.185 / stop criter: 40.232 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 282 / bw: 5.075 / grad: 70.391 / stop criter: 111.185 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s] * GD progress: iter: 282 / bw: 5.075 / grad: 70.391 / stop criter: 111.185 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 283 / bw: 5.073 / grad: 203.368 / stop criter: 70.391 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 283 / bw: 5.073 / grad: 203.368 / stop criter: 70.391 : 93%|█████████▎| 280/300 [00:12<00:00, 21.35it/s]* GD progress: iter: 283 / bw: 5.073 / grad: 203.368 / stop criter: 70.391 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 284 / bw: 5.068 / grad: 41.607 / stop criter: 203.368 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 284 / bw: 5.068 / grad: 41.607 / stop criter: 203.368 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 285 / bw: 5.067 / grad: -120.970 / stop criter: 41.607 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 285 / bw: 5.067 / grad: -120.970 / stop criter: 41.607 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 286 / bw: 5.070 / grad: -61.603 / stop criter: 120.970 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 286 / bw: 5.070 / grad: -61.603 / stop criter: 120.970 : 94%|█████████▍| 283/300 [00:12<00:00, 21.73it/s]* GD progress: iter: 286 / bw: 5.070 / grad: -61.603 / stop criter: 120.970 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s]* GD progress: iter: 287 / bw: 5.072 / grad: -332.721 / stop criter: 61.603 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s]* GD progress: iter: 287 / bw: 5.072 / grad: -332.721 / stop criter: 61.603 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s]* GD progress: iter: 288 / bw: 5.080 / grad: 34.763 / stop criter: 332.721 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s] * GD progress: iter: 288 / bw: 5.080 / grad: 34.763 / stop criter: 332.721 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s]* GD progress: iter: 289 / bw: 5.080 / grad: 98.264 / stop criter: 34.763 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s] * GD progress: iter: 289 / bw: 5.080 / grad: 98.264 / stop criter: 34.763 : 95%|█████████▌| 286/300 [00:12<00:00, 21.18it/s]* GD progress: iter: 289 / bw: 5.080 / grad: 98.264 / stop criter: 34.763 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 290 / bw: 5.077 / grad: 510.222 / stop criter: 98.264 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 290 / bw: 5.077 / grad: 510.222 / stop criter: 98.264 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 291 / bw: 5.064 / grad: 168.415 / stop criter: 510.222 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 291 / bw: 5.064 / grad: 168.415 / stop criter: 510.222 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 292 / bw: 5.059 / grad: -112.752 / stop criter: 168.415 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 292 / bw: 5.059 / grad: -112.752 / stop criter: 168.415 : 96%|█████████▋| 289/300 [00:12<00:00, 21.09it/s]* GD progress: iter: 292 / bw: 5.059 / grad: -112.752 / stop criter: 168.415 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 293 / bw: 5.062 / grad: 14.654 / stop criter: 112.752 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s] * GD progress: iter: 293 / bw: 5.062 / grad: 14.654 / stop criter: 112.752 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 294 / bw: 5.062 / grad: -22.681 / stop criter: 14.654 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 294 / bw: 5.062 / grad: -22.681 / stop criter: 14.654 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 295 / bw: 5.063 / grad: 338.241 / stop criter: 22.681 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 295 / bw: 5.063 / grad: 338.241 / stop criter: 22.681 : 97%|█████████▋| 292/300 [00:12<00:00, 21.65it/s]* GD progress: iter: 295 / bw: 5.063 / grad: 338.241 / stop criter: 22.681 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 296 / bw: 5.054 / grad: -143.347 / stop criter: 338.241 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 296 / bw: 5.054 / grad: -143.347 / stop criter: 338.241 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 297 / bw: 5.058 / grad: -313.724 / stop criter: 143.347 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 297 / bw: 5.058 / grad: -313.724 / stop criter: 143.347 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 298 / bw: 5.065 / grad: 4.987 / stop criter: 313.724 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s] * GD progress: iter: 298 / bw: 5.065 / grad: 4.987 / stop criter: 313.724 : 98%|█████████▊| 295/300 [00:12<00:00, 22.67it/s]* GD progress: iter: 298 / bw: 5.065 / grad: 4.987 / stop criter: 313.724 : 99%|█████████▉| 298/300 [00:12<00:00, 23.11it/s]* GD progress: iter: 299 / bw: 5.065 / grad: 113.614 / stop criter: 4.987 : 99%|█████████▉| 298/300 [00:12<00:00, 23.11it/s]* GD progress: iter: 299 / bw: 5.065 / grad: 113.614 / stop criter: 4.987 : 99%|█████████▉| 298/300 [00:12<00:00, 23.11it/s]* GD progress: iter: 300 / bw: 5.062 / grad: -445.377 / stop criter: 113.614 : 99%|█████████▉| 298/300 [00:12<00:00, 23.11it/s]* GD progress: iter: 300 / bw: 5.062 / grad: -445.377 / stop criter: 113.614 : 99%|█████████▉| 298/300 [00:12<00:00, 23.11it/s]* GD progress: iter: 300 / bw: 5.062 / grad: -445.377 / stop criter: 113.614 : 100%|██████████| 300/300 [00:12<00:00, 23.29it/s]
The estimated optimal bandwidth is given by ker1.optimization_outputs['opt_bandwidth']
.
print("Estimated bandwidth :" + str(ker1_fit.optimization_outputs['opt_bandwidth']))
Estimated bandwidth :5.062475740486653
We can look at the learning curve of the algorithm using draw_learning_curve()
method.
ker1_fit.draw_learning_curve()
We evaluate the performance of the method on the testing data using MSE and MAPE.
from sklearn.metrics import mean_absolute_percentage_error
= ker1_fit.predict(X_test1)
y_pred1 print(mean_absolute_percentage_error(y_test1, y_pred1))
print(mean_squared_error(y_test1, y_pred1))
0.9070464304670501
4155.204969122178
Let’s look at qq-plot
of the predictions and the actual response values using draw_learning_curve()
method.
=y_test1, fig_type='qq') ker1_fit.draw_learning_curve(y_test
\(\bullet\) KernelSmoother
with non-default parameters
We create another object gc2
with non-default parameters, then fit it to the same training data as in the previous example.
= KernelSmoother(learning_rate=0.1,
ker2 ='grad',
opt_method=100,
max_iter="exponential")
kernel
= ker2.fit(X_train1, y_train1) ker2_fit
* GD progress: iter: 1 / bw: 3.000 / grad: -1064.022 / stop criter: 1.000 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 1 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 1 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 2 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 2 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 0%| | 0/100 [00:00<?, ?it/s]* GD progress: iter: 3 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 4 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 4 / bw: 3.100 / grad: -1064.022 / stop criter: 1064.022 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 5 / bw: 3.100 / grad: -1051.923 / stop criter: 1064.022 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 5 / bw: 3.100 / grad: -1051.923 / stop criter: 1064.022 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 6 / bw: 3.199 / grad: -741.018 / stop criter: 1051.923 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s] * GD progress: iter: 6 / bw: 3.199 / grad: -741.018 / stop criter: 1051.923 : 3%|▎ | 3/100 [00:00<00:03, 25.70it/s]* GD progress: iter: 6 / bw: 3.199 / grad: -741.018 / stop criter: 1051.923 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 7 / bw: 3.269 / grad: -1115.717 / stop criter: 741.018 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 7 / bw: 3.269 / grad: -1115.717 / stop criter: 741.018 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 8 / bw: 3.373 / grad: -361.952 / stop criter: 1115.717 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 8 / bw: 3.373 / grad: -361.952 / stop criter: 1115.717 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 9 / bw: 3.407 / grad: -849.809 / stop criter: 361.952 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s] * GD progress: iter: 9 / bw: 3.407 / grad: -849.809 / stop criter: 361.952 : 6%|▌ | 6/100 [00:00<00:03, 25.08it/s]* GD progress: iter: 9 / bw: 3.407 / grad: -849.809 / stop criter: 361.952 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 10 / bw: 3.487 / grad: -741.422 / stop criter: 849.809 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 10 / bw: 3.487 / grad: -741.422 / stop criter: 849.809 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 11 / bw: 3.557 / grad: -279.291 / stop criter: 741.422 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 11 / bw: 3.557 / grad: -279.291 / stop criter: 741.422 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 12 / bw: 3.583 / grad: -36.100 / stop criter: 279.291 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s] * GD progress: iter: 12 / bw: 3.583 / grad: -36.100 / stop criter: 279.291 : 9%|▉ | 9/100 [00:00<00:03, 25.38it/s]* GD progress: iter: 12 / bw: 3.583 / grad: -36.100 / stop criter: 279.291 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 13 / bw: 3.587 / grad: -338.393 / stop criter: 36.100 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 13 / bw: 3.587 / grad: -338.393 / stop criter: 36.100 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 14 / bw: 3.618 / grad: -625.674 / stop criter: 338.393 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 14 / bw: 3.618 / grad: -625.674 / stop criter: 338.393 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 15 / bw: 3.677 / grad: -671.337 / stop criter: 625.674 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 15 / bw: 3.677 / grad: -671.337 / stop criter: 625.674 : 12%|█▏ | 12/100 [00:00<00:03, 25.90it/s]* GD progress: iter: 15 / bw: 3.677 / grad: -671.337 / stop criter: 625.674 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 16 / bw: 3.740 / grad: -375.011 / stop criter: 671.337 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 16 / bw: 3.740 / grad: -375.011 / stop criter: 671.337 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 17 / bw: 3.776 / grad: -463.024 / stop criter: 375.011 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 17 / bw: 3.776 / grad: -463.024 / stop criter: 375.011 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 18 / bw: 3.819 / grad: -486.295 / stop criter: 463.024 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 18 / bw: 3.819 / grad: -486.295 / stop criter: 463.024 : 15%|█▌ | 15/100 [00:00<00:03, 25.41it/s]* GD progress: iter: 18 / bw: 3.819 / grad: -486.295 / stop criter: 463.024 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 19 / bw: 3.865 / grad: -230.698 / stop criter: 486.295 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 19 / bw: 3.865 / grad: -230.698 / stop criter: 486.295 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 20 / bw: 3.886 / grad: -11.967 / stop criter: 230.698 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s] * GD progress: iter: 20 / bw: 3.886 / grad: -11.967 / stop criter: 230.698 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 21 / bw: 3.888 / grad: -480.635 / stop criter: 11.967 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 21 / bw: 3.888 / grad: -480.635 / stop criter: 11.967 : 18%|█▊ | 18/100 [00:00<00:03, 24.85it/s]* GD progress: iter: 21 / bw: 3.888 / grad: -480.635 / stop criter: 11.967 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 22 / bw: 3.933 / grad: -530.260 / stop criter: 480.635 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 22 / bw: 3.933 / grad: -530.260 / stop criter: 480.635 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 23 / bw: 3.983 / grad: -103.189 / stop criter: 530.260 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 23 / bw: 3.983 / grad: -103.189 / stop criter: 530.260 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 24 / bw: 3.992 / grad: 155.347 / stop criter: 103.189 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s] * GD progress: iter: 24 / bw: 3.992 / grad: 155.347 / stop criter: 103.189 : 21%|██ | 21/100 [00:00<00:03, 24.04it/s]* GD progress: iter: 24 / bw: 3.992 / grad: 155.347 / stop criter: 103.189 : 24%|██▍ | 24/100 [00:00<00:03, 23.59it/s]* GD progress: iter: 25 / bw: 3.978 / grad: 12.592 / stop criter: 155.347 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s] * GD progress: iter: 25 / bw: 3.978 / grad: 12.592 / stop criter: 155.347 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s]* GD progress: iter: 26 / bw: 3.976 / grad: -524.593 / stop criter: 12.592 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s]* GD progress: iter: 26 / bw: 3.976 / grad: -524.593 / stop criter: 12.592 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s]* GD progress: iter: 27 / bw: 4.025 / grad: -131.393 / stop criter: 524.593 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s]* GD progress: iter: 27 / bw: 4.025 / grad: -131.393 / stop criter: 524.593 : 24%|██▍ | 24/100 [00:01<00:03, 23.59it/s]* GD progress: iter: 27 / bw: 4.025 / grad: -131.393 / stop criter: 524.593 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 28 / bw: 4.037 / grad: -656.539 / stop criter: 131.393 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 28 / bw: 4.037 / grad: -656.539 / stop criter: 131.393 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 29 / bw: 4.098 / grad: 56.783 / stop criter: 656.539 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s] * GD progress: iter: 29 / bw: 4.098 / grad: 56.783 / stop criter: 656.539 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 30 / bw: 4.093 / grad: -372.190 / stop criter: 56.783 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 30 / bw: 4.093 / grad: -372.190 / stop criter: 56.783 : 27%|██▋ | 27/100 [00:01<00:03, 23.41it/s]* GD progress: iter: 30 / bw: 4.093 / grad: -372.190 / stop criter: 56.783 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 31 / bw: 4.127 / grad: -469.355 / stop criter: 372.190 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 31 / bw: 4.127 / grad: -469.355 / stop criter: 372.190 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 32 / bw: 4.169 / grad: -185.448 / stop criter: 469.355 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 32 / bw: 4.169 / grad: -185.448 / stop criter: 469.355 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 33 / bw: 4.186 / grad: -162.335 / stop criter: 185.448 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 33 / bw: 4.186 / grad: -162.335 / stop criter: 185.448 : 30%|███ | 30/100 [00:01<00:02, 23.43it/s]* GD progress: iter: 33 / bw: 4.186 / grad: -162.335 / stop criter: 185.448 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 34 / bw: 4.200 / grad: -365.818 / stop criter: 162.335 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 34 / bw: 4.200 / grad: -365.818 / stop criter: 162.335 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 35 / bw: 4.233 / grad: -643.121 / stop criter: 365.818 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 35 / bw: 4.233 / grad: -643.121 / stop criter: 365.818 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 36 / bw: 4.291 / grad: -313.213 / stop criter: 643.121 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 36 / bw: 4.291 / grad: -313.213 / stop criter: 643.121 : 33%|███▎ | 33/100 [00:01<00:02, 23.88it/s]* GD progress: iter: 36 / bw: 4.291 / grad: -313.213 / stop criter: 643.121 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 37 / bw: 4.320 / grad: -195.949 / stop criter: 313.213 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 37 / bw: 4.320 / grad: -195.949 / stop criter: 313.213 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 38 / bw: 4.337 / grad: -434.580 / stop criter: 195.949 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 38 / bw: 4.337 / grad: -434.580 / stop criter: 195.949 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 39 / bw: 4.377 / grad: -248.063 / stop criter: 434.580 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 39 / bw: 4.377 / grad: -248.063 / stop criter: 434.580 : 36%|███▌ | 36/100 [00:01<00:02, 24.10it/s]* GD progress: iter: 39 / bw: 4.377 / grad: -248.063 / stop criter: 434.580 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 40 / bw: 4.399 / grad: -213.139 / stop criter: 248.063 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 40 / bw: 4.399 / grad: -213.139 / stop criter: 248.063 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 41 / bw: 4.418 / grad: 118.850 / stop criter: 213.139 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s] * GD progress: iter: 41 / bw: 4.418 / grad: 118.850 / stop criter: 213.139 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 42 / bw: 4.408 / grad: -291.547 / stop criter: 118.850 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 42 / bw: 4.408 / grad: -291.547 / stop criter: 118.850 : 39%|███▉ | 39/100 [00:01<00:02, 23.53it/s]* GD progress: iter: 42 / bw: 4.408 / grad: -291.547 / stop criter: 118.850 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s]* GD progress: iter: 43 / bw: 4.434 / grad: 33.503 / stop criter: 291.547 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s] * GD progress: iter: 43 / bw: 4.434 / grad: 33.503 / stop criter: 291.547 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s]* GD progress: iter: 44 / bw: 4.431 / grad: -117.964 / stop criter: 33.503 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s]* GD progress: iter: 44 / bw: 4.431 / grad: -117.964 / stop criter: 33.503 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s]* GD progress: iter: 45 / bw: 4.441 / grad: 61.906 / stop criter: 117.964 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s] * GD progress: iter: 45 / bw: 4.441 / grad: 61.906 / stop criter: 117.964 : 42%|████▏ | 42/100 [00:01<00:02, 23.47it/s]* GD progress: iter: 45 / bw: 4.441 / grad: 61.906 / stop criter: 117.964 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 46 / bw: 4.436 / grad: 48.227 / stop criter: 61.906 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s] * GD progress: iter: 46 / bw: 4.436 / grad: 48.227 / stop criter: 61.906 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 47 / bw: 4.431 / grad: 148.231 / stop criter: 48.227 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 47 / bw: 4.431 / grad: 148.231 / stop criter: 48.227 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 48 / bw: 4.419 / grad: -318.772 / stop criter: 148.231 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 48 / bw: 4.419 / grad: -318.772 / stop criter: 148.231 : 45%|████▌ | 45/100 [00:01<00:02, 24.11it/s]* GD progress: iter: 48 / bw: 4.419 / grad: -318.772 / stop criter: 148.231 : 48%|████▊ | 48/100 [00:01<00:02, 25.10it/s]* GD progress: iter: 49 / bw: 4.446 / grad: -342.406 / stop criter: 318.772 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s]* GD progress: iter: 49 / bw: 4.446 / grad: -342.406 / stop criter: 318.772 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s]* GD progress: iter: 50 / bw: 4.475 / grad: -407.820 / stop criter: 342.406 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s]* GD progress: iter: 50 / bw: 4.475 / grad: -407.820 / stop criter: 342.406 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s]* GD progress: iter: 51 / bw: 4.510 / grad: 172.380 / stop criter: 407.820 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s] * GD progress: iter: 51 / bw: 4.510 / grad: 172.380 / stop criter: 407.820 : 48%|████▊ | 48/100 [00:02<00:02, 25.10it/s]* GD progress: iter: 51 / bw: 4.510 / grad: 172.380 / stop criter: 407.820 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 52 / bw: 4.495 / grad: -262.595 / stop criter: 172.380 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 52 / bw: 4.495 / grad: -262.595 / stop criter: 172.380 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 53 / bw: 4.517 / grad: -249.012 / stop criter: 262.595 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 53 / bw: 4.517 / grad: -249.012 / stop criter: 262.595 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 54 / bw: 4.538 / grad: 126.554 / stop criter: 249.012 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s] * GD progress: iter: 54 / bw: 4.538 / grad: 126.554 / stop criter: 249.012 : 51%|█████ | 51/100 [00:02<00:01, 24.94it/s]* GD progress: iter: 54 / bw: 4.538 / grad: 126.554 / stop criter: 249.012 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 55 / bw: 4.528 / grad: -215.521 / stop criter: 126.554 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 55 / bw: 4.528 / grad: -215.521 / stop criter: 126.554 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 56 / bw: 4.545 / grad: -343.024 / stop criter: 215.521 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 56 / bw: 4.545 / grad: -343.024 / stop criter: 215.521 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 57 / bw: 4.573 / grad: -208.625 / stop criter: 343.024 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 57 / bw: 4.573 / grad: -208.625 / stop criter: 343.024 : 54%|█████▍ | 54/100 [00:02<00:01, 25.36it/s]* GD progress: iter: 57 / bw: 4.573 / grad: -208.625 / stop criter: 343.024 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 58 / bw: 4.590 / grad: -195.430 / stop criter: 208.625 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 58 / bw: 4.590 / grad: -195.430 / stop criter: 208.625 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 59 / bw: 4.606 / grad: 87.598 / stop criter: 195.430 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s] * GD progress: iter: 59 / bw: 4.606 / grad: 87.598 / stop criter: 195.430 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 60 / bw: 4.599 / grad: -279.208 / stop criter: 87.598 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 60 / bw: 4.599 / grad: -279.208 / stop criter: 87.598 : 57%|█████▋ | 57/100 [00:02<00:01, 25.60it/s]* GD progress: iter: 60 / bw: 4.599 / grad: -279.208 / stop criter: 87.598 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 61 / bw: 4.622 / grad: -290.324 / stop criter: 279.208 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 61 / bw: 4.622 / grad: -290.324 / stop criter: 279.208 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 62 / bw: 4.645 / grad: -170.594 / stop criter: 290.324 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 62 / bw: 4.645 / grad: -170.594 / stop criter: 290.324 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 63 / bw: 4.659 / grad: 78.084 / stop criter: 170.594 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s] * GD progress: iter: 63 / bw: 4.659 / grad: 78.084 / stop criter: 170.594 : 60%|██████ | 60/100 [00:02<00:01, 25.42it/s]* GD progress: iter: 63 / bw: 4.659 / grad: 78.084 / stop criter: 170.594 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 64 / bw: 4.652 / grad: -207.449 / stop criter: 78.084 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 64 / bw: 4.652 / grad: -207.449 / stop criter: 78.084 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 65 / bw: 4.669 / grad: -91.746 / stop criter: 207.449 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 65 / bw: 4.669 / grad: -91.746 / stop criter: 207.449 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 66 / bw: 4.676 / grad: 61.035 / stop criter: 91.746 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s] * GD progress: iter: 66 / bw: 4.676 / grad: 61.035 / stop criter: 91.746 : 63%|██████▎ | 63/100 [00:02<00:01, 25.21it/s]* GD progress: iter: 66 / bw: 4.676 / grad: 61.035 / stop criter: 91.746 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 67 / bw: 4.671 / grad: -466.421 / stop criter: 61.035 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 67 / bw: 4.671 / grad: -466.421 / stop criter: 61.035 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 68 / bw: 4.707 / grad: -347.743 / stop criter: 466.421 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 68 / bw: 4.707 / grad: -347.743 / stop criter: 466.421 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 69 / bw: 4.734 / grad: 111.350 / stop criter: 347.743 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s] * GD progress: iter: 69 / bw: 4.734 / grad: 111.350 / stop criter: 347.743 : 66%|██████▌ | 66/100 [00:02<00:01, 25.85it/s]* GD progress: iter: 69 / bw: 4.734 / grad: 111.350 / stop criter: 347.743 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s]* GD progress: iter: 70 / bw: 4.726 / grad: -127.437 / stop criter: 111.350 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s]* GD progress: iter: 70 / bw: 4.726 / grad: -127.437 / stop criter: 111.350 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s]* GD progress: iter: 71 / bw: 4.735 / grad: 116.068 / stop criter: 127.437 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s] * GD progress: iter: 71 / bw: 4.735 / grad: 116.068 / stop criter: 127.437 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s]* GD progress: iter: 72 / bw: 4.727 / grad: 41.592 / stop criter: 116.068 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s] * GD progress: iter: 72 / bw: 4.727 / grad: 41.592 / stop criter: 116.068 : 69%|██████▉ | 69/100 [00:02<00:01, 25.08it/s]* GD progress: iter: 72 / bw: 4.727 / grad: 41.592 / stop criter: 116.068 : 72%|███████▏ | 72/100 [00:02<00:01, 25.00it/s]* GD progress: iter: 73 / bw: 4.723 / grad: -88.714 / stop criter: 41.592 : 72%|███████▏ | 72/100 [00:02<00:01, 25.00it/s]* GD progress: iter: 73 / bw: 4.723 / grad: -88.714 / stop criter: 41.592 : 72%|███████▏ | 72/100 [00:02<00:01, 25.00it/s]* GD progress: iter: 74 / bw: 4.730 / grad: -189.299 / stop criter: 88.714 : 72%|███████▏ | 72/100 [00:03<00:01, 25.00it/s]* GD progress: iter: 74 / bw: 4.730 / grad: -189.299 / stop criter: 88.714 : 72%|███████▏ | 72/100 [00:03<00:01, 25.00it/s]* GD progress: iter: 75 / bw: 4.744 / grad: -320.825 / stop criter: 189.299 : 72%|███████▏ | 72/100 [00:03<00:01, 25.00it/s]* GD progress: iter: 75 / bw: 4.744 / grad: -320.825 / stop criter: 189.299 : 72%|███████▏ | 72/100 [00:03<00:01, 25.00it/s]* GD progress: iter: 75 / bw: 4.744 / grad: -320.825 / stop criter: 189.299 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s]* GD progress: iter: 76 / bw: 4.768 / grad: 189.705 / stop criter: 320.825 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s] * GD progress: iter: 76 / bw: 4.768 / grad: 189.705 / stop criter: 320.825 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s]* GD progress: iter: 77 / bw: 4.754 / grad: -142.717 / stop criter: 189.705 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s]* GD progress: iter: 77 / bw: 4.754 / grad: -142.717 / stop criter: 189.705 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s]* GD progress: iter: 78 / bw: 4.764 / grad: 103.459 / stop criter: 142.717 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s] * GD progress: iter: 78 / bw: 4.764 / grad: 103.459 / stop criter: 142.717 : 75%|███████▌ | 75/100 [00:03<00:01, 24.78it/s]* GD progress: iter: 78 / bw: 4.764 / grad: 103.459 / stop criter: 142.717 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 79 / bw: 4.757 / grad: -278.130 / stop criter: 103.459 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 79 / bw: 4.757 / grad: -278.130 / stop criter: 103.459 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 80 / bw: 4.777 / grad: 328.922 / stop criter: 278.130 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s] * GD progress: iter: 80 / bw: 4.777 / grad: 328.922 / stop criter: 278.130 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 81 / bw: 4.753 / grad: 192.765 / stop criter: 328.922 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 81 / bw: 4.753 / grad: 192.765 / stop criter: 328.922 : 78%|███████▊ | 78/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 81 / bw: 4.753 / grad: 192.765 / stop criter: 328.922 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 82 / bw: 4.740 / grad: -360.545 / stop criter: 192.765 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 82 / bw: 4.740 / grad: -360.545 / stop criter: 192.765 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 83 / bw: 4.765 / grad: 331.863 / stop criter: 360.545 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s] * GD progress: iter: 83 / bw: 4.765 / grad: 331.863 / stop criter: 360.545 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 84 / bw: 4.742 / grad: -77.980 / stop criter: 331.863 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 84 / bw: 4.742 / grad: -77.980 / stop criter: 331.863 : 81%|████████ | 81/100 [00:03<00:00, 24.65it/s]* GD progress: iter: 84 / bw: 4.742 / grad: -77.980 / stop criter: 331.863 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 85 / bw: 4.747 / grad: -197.220 / stop criter: 77.980 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 85 / bw: 4.747 / grad: -197.220 / stop criter: 77.980 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 86 / bw: 4.761 / grad: 145.186 / stop criter: 197.220 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 86 / bw: 4.761 / grad: 145.186 / stop criter: 197.220 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 87 / bw: 4.751 / grad: -160.257 / stop criter: 145.186 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 87 / bw: 4.751 / grad: -160.257 / stop criter: 145.186 : 84%|████████▍ | 84/100 [00:03<00:00, 24.64it/s]* GD progress: iter: 87 / bw: 4.751 / grad: -160.257 / stop criter: 145.186 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 88 / bw: 4.762 / grad: 0.499 / stop criter: 160.257 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s] * GD progress: iter: 88 / bw: 4.762 / grad: 0.499 / stop criter: 160.257 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 89 / bw: 4.762 / grad: 293.313 / stop criter: 0.499 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 89 / bw: 4.762 / grad: 293.313 / stop criter: 0.499 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 90 / bw: 4.742 / grad: -109.753 / stop criter: 293.313 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 90 / bw: 4.742 / grad: -109.753 / stop criter: 293.313 : 87%|████████▋ | 87/100 [00:03<00:00, 24.14it/s]* GD progress: iter: 90 / bw: 4.742 / grad: -109.753 / stop criter: 293.313 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 91 / bw: 4.750 / grad: -301.467 / stop criter: 109.753 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 91 / bw: 4.750 / grad: -301.467 / stop criter: 109.753 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 92 / bw: 4.769 / grad: -296.801 / stop criter: 301.467 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 92 / bw: 4.769 / grad: -296.801 / stop criter: 301.467 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 93 / bw: 4.789 / grad: -563.516 / stop criter: 296.801 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 93 / bw: 4.789 / grad: -563.516 / stop criter: 296.801 : 90%|█████████ | 90/100 [00:03<00:00, 24.29it/s]* GD progress: iter: 93 / bw: 4.789 / grad: -563.516 / stop criter: 296.801 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 94 / bw: 4.826 / grad: -322.072 / stop criter: 563.516 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 94 / bw: 4.826 / grad: -322.072 / stop criter: 563.516 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 95 / bw: 4.847 / grad: -304.254 / stop criter: 322.072 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 95 / bw: 4.847 / grad: -304.254 / stop criter: 322.072 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 96 / bw: 4.867 / grad: -81.326 / stop criter: 304.254 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s] * GD progress: iter: 96 / bw: 4.867 / grad: -81.326 / stop criter: 304.254 : 93%|█████████▎| 93/100 [00:03<00:00, 24.42it/s]* GD progress: iter: 96 / bw: 4.867 / grad: -81.326 / stop criter: 304.254 : 96%|█████████▌| 96/100 [00:03<00:00, 24.75it/s]* GD progress: iter: 97 / bw: 4.872 / grad: 173.224 / stop criter: 81.326 : 96%|█████████▌| 96/100 [00:03<00:00, 24.75it/s] * GD progress: iter: 97 / bw: 4.872 / grad: 173.224 / stop criter: 81.326 : 96%|█████████▌| 96/100 [00:03<00:00, 24.75it/s]* GD progress: iter: 98 / bw: 4.861 / grad: 14.885 / stop criter: 173.224 : 96%|█████████▌| 96/100 [00:03<00:00, 24.75it/s]* GD progress: iter: 98 / bw: 4.861 / grad: 14.885 / stop criter: 173.224 : 96%|█████████▌| 96/100 [00:03<00:00, 24.75it/s]* GD progress: iter: 99 / bw: 4.860 / grad: -388.920 / stop criter: 14.885 : 96%|█████████▌| 96/100 [00:04<00:00, 24.75it/s]* GD progress: iter: 99 / bw: 4.860 / grad: -388.920 / stop criter: 14.885 : 96%|█████████▌| 96/100 [00:04<00:00, 24.75it/s]* GD progress: iter: 99 / bw: 4.860 / grad: -388.920 / stop criter: 14.885 : 99%|█████████▉| 99/100 [00:04<00:00, 24.76it/s]* GD progress: iter: 100 / bw: 4.885 / grad: -45.384 / stop criter: 388.920 : 99%|█████████▉| 99/100 [00:04<00:00, 24.76it/s]* GD progress: iter: 100 / bw: 4.885 / grad: -45.384 / stop criter: 388.920 : 99%|█████████▉| 99/100 [00:04<00:00, 24.76it/s]* GD progress: iter: 100 / bw: 4.885 / grad: -45.384 / stop criter: 388.920 : 100%|██████████| 100/100 [00:04<00:00, 24.62it/s]
Now, let’s compare it to the previous example.
print("Estimated bandwidth :" + str(ker2_fit.optimization_outputs['opt_bandwidth']))
ker2_fit.draw_learning_curve()
Estimated bandwidth :4.884755819008156
Compare MSE and MAPE.
= ker2_fit.predict(X_test1)
y_pred2 print(mean_absolute_percentage_error(y_test1, y_pred2))
print(mean_squared_error(y_test1, y_pred2))
0.8865863129863055
4172.8207310524585
Compare qq-plot
.
=y_test1, fig_type='qq') ker2_fit.draw_learning_curve(y_test