PreprocWrapper class

Definition

Normalizes rows of an input matrix. Supports sparse matrices.

PreprocWrapper(cls, module_name=None, class_name=None, **kwargs)
Inheritance
builtins.object
sklearn.base.TransformerMixin
PreprocWrapper
azureml.automl.runtime.shared.model_wrappers._AbstractModelWrapper
PreprocWrapper

Methods

fit(X, y=None)

Fit function for PreprocWrapper.

get_model()

Return wrapper model.

get_params(deep=True)

Return parameters for PreprocWrapper.

inverse_transform(X)

Inverse transform function for PreprocWrapper.

transform(X)

Transform function for PreprocWrapper.

fit(X, y=None)

Fit function for PreprocWrapper.

fit(X, y=None)

Parameters

X
ndarray or scipy.spmatrix

Input data.

y
ndarray
default value: None

Ignored.

Returns

Returns an instance of self.

get_model()

Return wrapper model.

get_model()

Returns

wrapper model

get_params(deep=True)

Return parameters for PreprocWrapper.

get_params(deep=True)

Parameters

deep
boolean
default value: True

If True, will return the parameters for this estimator and contained subobjects that are estimators.

Returns

Parameters for PreprocWrapper.

inverse_transform(X)

Inverse transform function for PreprocWrapper.

inverse_transform(X)

Parameters

X
ndarray or scipy.spmatrix

New data.

Returns

Inverse transformed data.

transform(X)

Transform function for PreprocWrapper.

transform(X)

Parameters

X
ndarray or scipy.spmatrix

Input data.

Returns

Transformed output of inner model.