Learnx.Preprocessing (Learnx v0.2.0)
Link to this section Summary
Link to this section Types
Link to this type
tensor()
@type tensor() :: Nx.Tensor.t()
Link to this section Functions
Link to this function
validate_data(t)
Link to this function
validate_data(x, y)
Validates input data.
Adapts the shape of the given data to one the regressors can use.
parameters
Parameters
x : list or tensor of shape (n_samples, n_features) or (n_samples,). The input samples.
y : list or tensor of shape (n_samples,). The targets.