You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods of data containers like Table always return a new data container. The fit method of transformers (safeds.data.tabular.transformation), however, mutates the transformer in place.
Desired solution
fit should return a new transformer.
fit_transform should maybe return the fitted transformer and the transformed table.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered:
Closes#61.
Closes#90.
### Summary of Changes
* Common superclasses `TableTransformer` and
`InvertibleTableTransformer`
* Common interface for `fit`, `transform`, `fit_transform`,
`inverse_transform`
* Return new transformer when calling `fit`
* More thorough tests
---------
Co-authored-by: lars-reimann <lars-reimann@users.noreply.github.com>
Is your feature request related to a problem?
Methods of data containers like Table always return a new data container. The
fit
method of transformers (safeds.data.tabular.transformation
), however, mutates the transformer in place.Desired solution
fit
should return a new transformer.fit_transform
should maybe return the fitted transformer and the transformed table.Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
The text was updated successfully, but these errors were encountered: