lightweight_mmm
lightweight_mmm copied to clipboard
Negative Values in Pre optimization predicted Target vs Post optimization predicted Target
trafficstars
Getting Negative Values in Pre optimization predicted Target vs Post optimization predicted Target graph.
Code Snippet:
solution, kpi_without_optim, previous_media_allocation = optimize_media.find_optimal_budgets(
n_time_periods=n_time_periods,
media_mix_model=mmm,
extra_features=extra_features_train[:n_time_periods],
budget=budget,
prices=prices,
media_scaler=media_scaler,
target_scaler=target_scaler,
seed=SEED)
Result of the code snippet
Iteration limit reached (Exit mode 9)
Current function value: -850.4690809609328
Iterations: 200
Function evaluations: 9800
Gradient evaluations: 200