SyntheticDifferenceInDifferencesWeightFitter.fit# SyntheticDifferenceInDifferencesWeightFitter.fit(X, y, coords=None)[source]# Fit SDID mappings while retaining the ordinary model fit contract. Parameters: X (DataArray | dict[str, DataArray]) – Predictor data for an ordinary fit or the SDID weight modules. y (DataArray | dict[str, DataArray]) – Target data for an ordinary fit or the SDID weight modules. coords (dict[str, Any] | None) – Coordinate metadata for the model. Return type: DataTree