Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative Values in Pre optimization predicted Target vs Post optimization predicted Target #311

Open
udayreddy97 opened this issue Mar 14, 2024 · 0 comments

Comments

@udayreddy97
Copy link

Getting Negative Values in Pre optimization predicted Target vs Post optimization predicted Target graph.

image

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant