gloria.Gloria.from_dict#

static Gloria.from_dict(model_dict)[source]#

Restores a fitted Gloria model from a dictionary.

The input dictionary must be the output of model_to_dict() or Gloria.to_dict().

The method calls model_from_dict() on self.

Parameters:

model_dict (dict[str, Any]) – Dictionary containing the Gloria object data.

Returns:

Input data converted to a fitted Gloria object.

Return type:

Gloria