Traceback (most recent call last):


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-d4ph977u\azure-cli-core\azure\cli\core\extension\__init__.py", line 148, in get_metadata


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-d4ph977u\pkginfo\pkginfo\wheel.py", line 16, in __init__


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-d4ph977u\pkginfo\pkginfo\distribution.py", line 108, in extractMetadata


 "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-d4ph977u\pkginfo\pkginfo\wheel.py", line 43, in read
ValueError: Not a known wheel archive format or installed .dist-info: C:\Users\pfisher\.azure\cliextensions\azure-cli-iot-ext\pyrsistent-0.15.7-py3.6.egg-info

Traceback (most recent call last):


 "/snap/pycharm-professional/230/plugins/python/helpers/pydev/pydevd.py", line 1477, in _exec

pydev_imports.execfile(file, globals, locals)
# execute the script


 "/snap/pycharm-professional/230/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "/home/vadim/Загрузки/tt.py", line 11, in <module>

gb.fit(x, y, sample_weight=sample_weight)


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py", line 466, in fit

self._loss.update_leaves_values(grower, y_train,


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/sklearn/ensemble/_hist_gradient_boosting/loss.py", line 264, in update_leaves_values

median_res = _weighted_percentile(y_true[indices]


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/sklearn/utils/stats.py", line 43, in _weighted_percentile

sorted_weights = _take_along_axis(sample_weight, sorted_idx, axis=0)


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/sklearn/utils/fixes.py", line 172, in _take_along_axis

return np.take_along_axis(arr=arr, indices=indices, axis=axis)


 "<__array_function__ internals>", line 5, in take_along_axis


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/numpy/lib/shape_base.py", line 170, in take_along_axis

return arr[_make_along_axis_idx(arr_shape, indices, axis)]


 "/home/vadim/projects/monza/venv/lib/python3.8/site-packages/numpy/lib/shape_base.py", line 34, in _make_along_axis_idx

raise ValueError(
ValueError: `indices` and `arr` must have the same number of dimensions
