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

Errors in robyn_python_notebook #1200

Open
KristiGourlay opened this issue Jan 9, 2025 · 3 comments
Open

Errors in robyn_python_notebook #1200

KristiGourlay opened this issue Jan 9, 2025 · 3 comments
Assignees

Comments

@KristiGourlay
Copy link

KristiGourlay commented Jan 9, 2025

When I run the Python Wrapper robyn_python_notebook as is, with no changes what so ever, I am getting an error when I run code block [23]
OutputModels = robyn_api('robyn_run',payload=payload)

The error is: <simpleError in names(hyper_list_all) <- *vtmp*: 'names' attribute [13] must be the same length as the vector [12]>

I also get the same error if I update the notebook with my own data and model setup (successful in R version).

Environment & Robyn version

  • Robyn version: ['3.12.0.9003']
  • R version: 4.4.2
  • Python version: 3.10.16
@KristiGourlay
Copy link
Author

Adding to this after further investigation. The issue seems to be earlier in the code. Code block [14] should be printing out the paid_media_spends, but is instead is printing out the paid_media_vars.

image image

@alxlyj alxlyj self-assigned this Jan 9, 2025
@KristiGourlay
Copy link
Author

This also seems to be the case in the R version as well. I can get Robyn to run (in both R and Python) if I set the hyper parameters with media variables, but that doesn't seem right.

Any update on this?

@ONalivajko
Copy link

Hello Kristi! In 3.12 hyperparameters ARE based on paid media vars

image

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

3 participants