TermBuilder.from_dict()

TermBuilder.from_dict()#

classmethod TermBuilder.from_dict(data, prefix_names_by='', default_inference=MCMCSpec(<bound method IWLSKernel.untuned of <class 'liesel.goose.iwls.IWLSKernel'>>, self.kernel_group=None), default_scale_fn=(1.0, 0.005, 1.0))[source]#

Initializes a TermBuilder from a dictionary that holds the data.

Internally, this will create a PandasRegistry with na_action="drop".

The other arguments are passed on to the init.

Return type:

TermBuilder