improvements for ordering favs

This commit is contained in:
Dylan Knutson
2025-07-12 08:53:49 +00:00
parent c832d53535
commit 13ad697026
21 changed files with 343 additions and 76 deletions

View File

@@ -67,7 +67,7 @@ namespace :stats do
puts "\n✅ Graph generation completed!"
# remove old regressions for this model
model_name = "fa_user_post_fav_inferred_time"
model_name = "fa_fav_id_and_date"
TrainedRegressionModel.where(name: model_name).destroy_all
# Save each regression model to the database