deephyper.skopt.space.transformers.ToInteger

deephyper.skopt.space.transformers.ToInteger#

class deephyper.skopt.space.transformers.ToInteger[source]#

Bases: Transformer

Identity transform.

Methods

fit

Initialize the transformer with current X.

inverse_transform

Returns the identity as the operation is not reversable.

transform

Apply the integer transform.

fit(X)#

Initialize the transformer with current X.

inverse_transform(Xt)[source]#

Returns the identity as the operation is not reversable.

transform(X)[source]#

Apply the integer transform.