MLBazaar / MLPrimitives

Primitives for machine learning and data science.
https://mlbazaar.github.io/MLPrimitives
MIT License
69 stars 38 forks source link

Dynamic `target_shape` in `keras` adapter #263

Closed sarahmish closed 2 years ago

sarahmish commented 2 years ago

Description

In the current implementation of the keras adapter, we set that input of variable dimension. However, we do not support the same feature for the target size. https://github.com/MLBazaar/MLPrimitives/blob/9195968a1377de37ef87f15952a67b587200a6d2/mlprimitives/adapters/keras.py#L98

We propose to apply the same augmentation for the target argument by passing y to the augment function.