lale.lib.lale.identity_wrapper module

class lale.lib.lale.identity_wrapper.IdentityWrapper(*, op)

Bases: PlannedIndividualOp

Combined schema for expected data and hyperparameters.

This documentation is auto-generated from JSON schemas.

Parameters

op (operator, optional) –

fit(X, y=None, **fit_params)

Train the operator.

Note: The fit method is not available until this operator is trainable.

Once this method is available, it will have the following signature:

Parameters

X (any type) –

predict(X, **predict_params)

Make predictions.

Note: The predict method is not available until this operator is trained.

Once this method is available, it will have the following signature:

Parameters
  • X (any type) –

  • y (any type) –

Returns

result – Output data schema for transformations using identity.

Return type

Any

predict_proba(X)

Probability estimates for all classes.

Note: The predict_proba method is not available until this operator is trained.

Once this method is available, it will have the following signature:

Parameters
  • X (any type) –

  • y (any type) –

Returns

result – Output data schema for transformations using identity.

Return type

Any

transform(X, y=None)

Transform the data.

Note: The transform method is not available until this operator is trained.

Once this method is available, it will have the following signature:

Parameters
  • X (any type) –

  • y (any type) –

Returns

result – Output data schema for transformations using identity.

Return type

Any