gps-building-blocks 1.192.0__py3-none-any.whl → 1.194.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -249,6 +249,8 @@ class _InferenceLinearRegressionModel(InferenceModel, metaclass=abc.ABCMeta):
249
249
  if isinstance(self._bootstrap_results, pd.DataFrame):
250
250
  return self._bootstrap_results.mean().to_dict()
251
251
  else:
252
+ if self._data is None:
253
+ raise ValueError('InferenceData is None.')
252
254
  data, _ = self._data.get_data_and_target()
253
255
  feature_names = data.columns
254
256
  coefficients = dict(zip(feature_names, self.model.coef_))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gps-building-blocks
3
- Version: 1.192.0
3
+ Version: 1.194.0
4
4
  Summary: Modules and tools useful for use with advanced data solutions on Google Ads, Google Marketing Platform and Google Cloud.
5
5
  Home-page: https://github.com/google/gps_building_blocks
6
6
  Author: gPS Team
@@ -149,13 +149,13 @@ gps_building_blocks/ml/preprocessing/vif_test.py,sha256=Pt4DVBNkZjwh84nx6GexPfbo
149
149
  gps_building_blocks/ml/preprocessing/data/__init__.py,sha256=qsAeQ42339LhQ9fD96pTg7Xgne4gvz0-Z6pwG8aMHBc,575
150
150
  gps_building_blocks/ml/preprocessing/data/example_cluster_df.txt,sha256=pIlHiiDEsoZ6XwqWC_l9yTBt6i8obMrCyVK66uX69Gk,17171
151
151
  gps_building_blocks/ml/preprocessing/data/stopwords_eng.txt,sha256=IVyVg5gXwC74drzjQz2QW4VLa_y4BxpyXlqsbmmZzzQ,671
152
- gps_building_blocks/ml/preprocessing/data/__pycache__/__init__.cpython-310.pyc,sha256=6nj5xIZUpmCukKBvKtl94IDOhV1Y7X-YydcoeapENPI,187
152
+ gps_building_blocks/ml/preprocessing/data/__pycache__/__init__.cpython-310.pyc,sha256=MZpvg0Rq2Rat8Uu0B9VMLAKG2Rq7NncZHYMaPbM-CYQ,187
153
153
  gps_building_blocks/ml/statistical_inference/__init__.py,sha256=qsAeQ42339LhQ9fD96pTg7Xgne4gvz0-Z6pwG8aMHBc,575
154
154
  gps_building_blocks/ml/statistical_inference/data_preparation.py,sha256=FjJGpI7bCTEZcoyCC1rD9DMzAiDFobCb7XrZZeAAgP4,49071
155
155
  gps_building_blocks/ml/statistical_inference/data_preparation_test.py,sha256=esWza5Mo7TaPtGsA3Hhry3l1dVzJzStFE8O-jGQ9r1I,35157
156
- gps_building_blocks/ml/statistical_inference/models.py,sha256=vPpPg8H9E-fbSyw5og_s4EnhX-wJLNKaePPJ_cWDxuY,19890
156
+ gps_building_blocks/ml/statistical_inference/models.py,sha256=vGX7QIiXMOHedk9B1rw6CX4FyKzU_6Pvm3_Y-f4cSFo,19970
157
157
  gps_building_blocks/ml/statistical_inference/models_test.py,sha256=FOsBzSNkIqacQPqproThOGsv7MMl1xeC2GXvHdsl4Ac,9298
158
- gps_building_blocks-1.192.0.dist-info/METADATA,sha256=XFyR4GbhG6nu8CChUc_UQKdqlDA17nGSVK9-_7zOaQc,4806
159
- gps_building_blocks-1.192.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
160
- gps_building_blocks-1.192.0.dist-info/top_level.txt,sha256=FK77szG741-E_t3bPeWu4U6aMaqpOGguLc-6s1OQm3I,20
161
- gps_building_blocks-1.192.0.dist-info/RECORD,,
158
+ gps_building_blocks-1.194.0.dist-info/METADATA,sha256=FRoYgGz-IioqPOaql2xitMiWSwwJRSh4bEwHFiEEuoE,4806
159
+ gps_building_blocks-1.194.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
160
+ gps_building_blocks-1.194.0.dist-info/top_level.txt,sha256=FK77szG741-E_t3bPeWu4U6aMaqpOGguLc-6s1OQm3I,20
161
+ gps_building_blocks-1.194.0.dist-info/RECORD,,