KernelDensityStrategy.fit KernelDensityStrategy.fit(data: Dict[str, torch.Tensor | array], objectives: torch.Tensor | array, validity: torch.Tensor | array)[source] Fit the strategy to the data, also using some vectors of objectives and validity values.