Syntrex commited on
Commit
2fa6934
·
verified ·
1 Parent(s): e25cdb5

Update models/pitcher_baseline_store.py

Browse files
Files changed (1) hide show
  1. models/pitcher_baseline_store.py +4 -0
models/pitcher_baseline_store.py CHANGED
@@ -168,6 +168,8 @@ def load_pitcher_cross_game_baseline(
168
  AVG(extension) AS stored_baseline_extension,
169
  AVG(pfx_x) AS stored_baseline_pfx_x,
170
  AVG(pfx_z) AS stored_baseline_pfx_z,
 
 
171
  COUNT(velocity) AS stored_baseline_velocity_sample_size,
172
  COUNT(spin_rate) AS stored_baseline_spin_sample_size,
173
  COUNT(extension) AS stored_baseline_extension_sample_size
@@ -192,6 +194,8 @@ def load_pitcher_cross_game_baseline(
192
  AVG(extension) AS stored_pitch_type_baseline_extension,
193
  AVG(pfx_x) AS stored_pitch_type_baseline_pfx_x,
194
  AVG(pfx_z) AS stored_pitch_type_baseline_pfx_z,
 
 
195
  COUNT(velocity) AS stored_pitch_type_baseline_velocity_sample_size,
196
  COUNT(spin_rate) AS stored_pitch_type_baseline_spin_sample_size,
197
  COUNT(extension) AS stored_pitch_type_baseline_extension_sample_size
 
168
  AVG(extension) AS stored_baseline_extension,
169
  AVG(pfx_x) AS stored_baseline_pfx_x,
170
  AVG(pfx_z) AS stored_baseline_pfx_z,
171
+ COUNT(pfx_x) AS stored_baseline_pfx_x_sample_size,
172
+ COUNT(pfx_z) AS stored_baseline_pfx_z_sample_size,
173
  COUNT(velocity) AS stored_baseline_velocity_sample_size,
174
  COUNT(spin_rate) AS stored_baseline_spin_sample_size,
175
  COUNT(extension) AS stored_baseline_extension_sample_size
 
194
  AVG(extension) AS stored_pitch_type_baseline_extension,
195
  AVG(pfx_x) AS stored_pitch_type_baseline_pfx_x,
196
  AVG(pfx_z) AS stored_pitch_type_baseline_pfx_z,
197
+ COUNT(pfx_x) AS stored_baseline_pfx_x_sample_size,
198
+ COUNT(pfx_z) AS stored_baseline_pfx_z_sample_size,
199
  COUNT(velocity) AS stored_pitch_type_baseline_velocity_sample_size,
200
  COUNT(spin_rate) AS stored_pitch_type_baseline_spin_sample_size,
201
  COUNT(extension) AS stored_pitch_type_baseline_extension_sample_size