Closed Yura52 closed 1 year ago
if (
(c_values < effective_c_bin_edges[c_indices]).any()
or (c_values > effective_c_bin_edges[c_indices + 1]).any()
):
quantiles = torch.linspace(0.0, 1.0, adjusted_n_bins + 1).to(column.device)
indices = as_tensor(values)
must be changed to this:np.array(d_encoding)
must be changed to this:Here, the argument
dtype=X.dtype
is missing fornp.array
Here,
.to(X)
is missingHere, it must be: