Most (if not all) of the keras.Sequential primitives have an input_shape argument which corresponds to the shape of each element in the input array X, and which now has to be specified by the user as a fixed hyperparameter upon pipeline creation.
The goal is to modify the fit method from the keras.Sequential adapter to make it get the shape of the first element in X as the input_shape in case the user has not specified one.
Also modify all the pipelines to set the default input_shape value to null.
Most (if not all) of the
keras.Sequential
primitives have aninput_shape
argument which corresponds to the shape of each element in the input arrayX
, and which now has to be specified by the user as a fixed hyperparameter upon pipeline creation.The goal is to modify the
fit
method from thekeras.Sequential
adapter to make it get the shape of the first element inX
as theinput_shape
in case the user has not specified one.Also modify all the pipelines to set the default
input_shape
value tonull
.