dieterich-lab / ASyH

The Anonymous Synthesizer for Health Data
MIT License
3 stars 0 forks source link

Construct argument list from input data layout. #6

Closed garrgravarr closed 1 year ago

garrgravarr commented 1 year ago

Adaptation of SDV model (number of hidden layers for encoding and decoding, etc.) is done at the SDV model's construction, via arguments. Models have different keyword arguments to specify their internal layout, therefore, every specific ASyH model needs to construct an argument list from the input data layout. For keyword arguments, a dictionary should be used.

The dictionary can then be used as argument as in sdv_model_constructor(**argument_dict).