Traceback (most recent call last):


 "lib\site-packages\botocore\httpsession.py", line 320, in send


 "lib\site-packages\urllib3\connectionpool.py", line 756, in urlopen


 "lib\site-packages\urllib3\util\retry.py", line 506, in increment


 "lib\site-packages\urllib3\packages\six.py", line 735, in reraise


 "lib\site-packages\urllib3\connectionpool.py", line 706, in urlopen


 "lib\site-packages\urllib3\connectionpool.py", line 382, in _make_request


 "lib\site-packages\urllib3\connectionpool.py", line 1010, in _validate_conn


 "lib\site-packages\urllib3\connection.py", line 353, in connect


 "lib\site-packages\urllib3\connection.py", line 182, in _new_conn
urllib3.exceptions.NewConnectionError: <botocore.awsrequest.AWSHTTPSConnection object at 0x000001F1AD131608>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Traceback (most recent call last):



 "<ipython-input-13-6ae9e5eafaf1>", line 50, in <module>

results = cross_val_score(classifier_sklearn, X, y, cv = 10, scoring = 'accuracy')



 "C:\Users\Denny\Anaconda3\lib\site-packages\sklearn\model_selection\_validation.py", line 389, in cross_val_score

error_score=error_score)



 "C:\Users\Denny\Anaconda3\lib\site-packages\sklearn\model_selection\_validation.py", line 231, in cross_validate

for train, test in cv.split(X, y, groups))



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\parallel.py", line 921, in __call__

if self.dispatch_one_batch(iterator):



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\parallel.py", line 759, in dispatch_one_batch

self._dispatch(tasks)



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\parallel.py", line 716, in _dispatch

job = self._backend.apply_async(batch, callback=cb)



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\_parallel_backends.py", line 182, in apply_async

result = ImmediateResult(func)



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\_parallel_backends.py", line 549, in __init__

self.results = batch()



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\parallel.py", line 225, in __call__

for func, args, kwargs in self.items]



 "C:\Users\Denny\Anaconda3\lib\site-packages\joblib\parallel.py", line 225, in <listcomp>

for func, args, kwargs in self.items]



 "C:\Users\Denny\Anaconda3\lib\site-packages\sklearn\model_selection\_validation.py", line 514, in _fit_and_score

estimator.fit(X_train, y_train, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\classifier.py", line 123, in fit

return super(NeuralNetClassifier, self).fit(X, y, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 841, in fit

self.partial_fit(X, y, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 800, in partial_fit

self.fit_loop(X, y, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 732, in fit_loop

step = self.train_step(Xi, yi, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 658, in train_step

self.optimizer_.step(step_fn)



 "C:\Users\Denny\Anaconda3\lib\site-packages\torch\optim\adam.py", line 58, in step

loss = closure()



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 655, in step_fn

step = self.train_step_single(Xi, yi, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 597, in train_step_single

y_pred = self.infer(Xi, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\skorch-0.6.1.dev0-py3.7.egg\skorch\net.py", line 989, in infer

return self.module_(x, **fit_params)



 "C:\Users\Denny\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 547, in __call__

result = self.forward(*input, **kwargs)



 "<ipython-input-13-6ae9e5eafaf1>", line 34, in forward

X = self.dense0(X)



 "C:\Users\Denny\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 547, in __call__

result = self.forward(*input, **kwargs)



 "C:\Users\Denny\Anaconda3\lib\site-packages\torch\nn\modules\linear.py", line 87, in forward

return F.linear(input, self.weight, self.bias)



 "C:\Users\Denny\Anaconda3\lib\site-packages\torch\nn\functional.py", line 1369, in linear

ret = torch.addmm(bias, input, weight.t())

RuntimeError: Expected object of scalar type Float but got scalar type Double for argument #4 'mat1'
