lale.lib.rasl.split_xy module¶
- class lale.lib.rasl.split_xy.SplitXy(*args, _lale_trained=False, _lale_impl=None, **kwargs)¶
Bases:
TrainedIndividualOp
Relational algebra SplitXy operator.
This documentation is auto-generated from JSON schemas.
- Parameters
label_name (string, optional, not for optimizer, default 'y') – The name of the label column in the input dataframe X.
- transform(X, y=None)¶
Transform the data.
- Parameters
X (array of items : array of items : Any) – Features; the outer array is over samples.
- Returns
result – Output data schema for transformed data.
- Return type
array of items : array of items : Any
- transform_X_y(X, y)¶
Transform the data and target.
- Parameters
X (array of items : array of items : Any) – Input features; the outer array is over samples.
y (Any) – Input labels; ignored.
- Returns
result –
item 0 : array of items : array of items : Any
X
item 1 : array of items : Any
y
- Return type