SamplesGenerator.fit

SamplesGenerator.fit(data: DataFrame | ndarray | Dict[str, DataFrame | torch.Tensor | array])[source]

Initialises strategies and engines that sample according to some prior distribution. These strategies are also fit to the provided data.

Parameters:

data (Union[pd.DataFrame, np.ndarray, Dict[str, Union[pd.DataFrame, torch.Tensor, np.array]]]) – Data to fit the strategies to.