All works till now.

This commit is contained in:
2026-03-09 13:51:03 +09:30
parent 315bafd6dc
commit d4e336d385
16 changed files with 594 additions and 38 deletions

17
main.py
View File

@@ -6,9 +6,13 @@ from src.pipeline.list_hygiene import apply_list_hygiene
from src.pipeline.ethics_flags import apply_ethics_checks
from src.pipeline.deliverability_check import run_deliverability_check
print("=== WEEK 2 PIPELINE START ===")
from src.models.engagement_scoring import calculate_engagement_scores
from src.models.churn_classifier import classify_churn
from src.models.send_time_optimizer import optimize_send_time
from src.models.predictive_segments import build_predictive_segments
load_and_merge()
print("=== WEEK 2 PIPELINE START ===")
df= load_and_merge()
apply_birthday_recursion()
calculate_rf_score()
apply_list_hygiene()
@@ -17,3 +21,12 @@ apply_ethics_checks()
run_deliverability_check()
print("=== WEEK 2 PIPELINE COMPLETE ===")
print("=== WEEK 3 START ===")
df = calculate_engagement_scores(df)
df = classify_churn(df)
df = optimize_send_time(df)
df=build_predictive_segments(df)
print("=== WEEK 3 COMPLETE ===")