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
Change the behavior of sdv.Modeler.flatten_model in order for it recieve a modelas input and return a pandas.Series with the flattened model dict.
Rename the distribution keyword on sdv.Modeler.__init__ to model_kwargs that defaults to None, but when its present its passed to model when instances are created.
Change the behavior of sdv.Sampler._make_model_from_params to make that after the parameters have been retrieved from the parent_row are transform into a dictionary, passed to sdv.Sampler.unflatten_dict and the result to model.from_dict
The text was updated successfully, but these errors were encountered:
It could be useful to add support for different models. To archieve that we should:
Wait for this issue of Copulas is done and released.
Update our requirements to work with the latests version of copulas.
Add a new method
sdv.Modeler.flatten_dict
, that gets a nested dictionary and returns it flattened:Add a new method
sdv.Sampler.unflatten_dict
that does the exact opposite, that is:Change the behavior of
sdv.Modeler.flatten_model
in order for it recieve amodel
as input and return apandas.Series
with the flattened model dict.Rename the
distribution
keyword onsdv.Modeler.__init__
tomodel_kwargs
that defaults toNone
, but when its present its passed to model when instances are created.Change the behavior of
sdv.Sampler._make_model_from_params
to make that after theparameters
have been retrieved from theparent_row
are transform into a dictionary, passed tosdv.Sampler.unflatten_dict
and the result tomodel.from_dict
The text was updated successfully, but these errors were encountered: