Traceback (most recent call last):


 "/Users/joel/repos/scikit-learn/sklearn/model_selection/_validation.py", line 655, in cross_val_predict

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


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/parallel.py", line 779, in __call__

while self.dispatch_one_batch(iterator):


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/parallel.py", line 625, in dispatch_one_batch

self._dispatch(tasks)


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/parallel.py", line 588, in _dispatch

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


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/_parallel_backends.py", line 111, in apply_async

result = ImmediateResult(func)


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/_parallel_backends.py", line 332, in __init__

self.results = batch()


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/parallel.py", line 131, in __call__

return [func(*args, **kwargs) for func, args, kwargs in self.items]


 "/Users/joel/repos/scikit-learn/sklearn/externals/joblib/parallel.py", line 131, in <listcomp>

return [func(*args, **kwargs) for func, args, kwargs in self.items]


 "/Users/joel/repos/scikit-learn/sklearn/model_selection/_validation.py", line 733, in _fit_and_predict

predictions_ = np.zeros((X_test.shape[0], n_classes))
AttributeError: 'list' object has no attribute 'shape'

Traceback (most recent call last):


 "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2862, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-94-41ada8291459>", line 1, in <module>

app.css.get_all_css()


 "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 104, in get_all_css

return self._resources.get_all_resources()


 "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 56, in get_all_resources

all_resources = (


 "/Users/ahmed.salhin/anaconda3/envs/cash_flow/lib/python3.6/site-packages/dash/resources.py", line 87, in get_inferred_resources

extract_resource_from_component(t)
AttributeError: 'NoneType' object has no attribute 'traverse'
