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

Facing an intermittent issue where model is failing sometimes and passing sometimes while providing Contextual factorial variables as the independent variables #1164

Open
khanasim19 opened this issue Nov 26, 2024 · 2 comments
Assignees

Comments

@khanasim19
Copy link

Project Robyn

Describe issue

Facing an intermittent issue where model is sometimes failing and sometimes passing while providing Contextual factorial variables as the independent variables with error message as below :
{
"request_id": "ls_colgate_palmolive_65e4d68a/mmm/col_mmm_v2",
"status": "failed",
"error_message": "Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric\nCalls: robyn_train_function ... robyn_mmm -> lambda_seq -> scale -> scale.default -> colMeans\nIn addition: Warning message:\nIn .font_global(font, quiet = FALSE, ...) :\n Font(s) 'Arial Narrow' not installed, with other name, or can't be found\nExecution halted\n",
"err_trace": "Traceback (most recent call last):\n File "/app/src/robyn/python/robyn_train.py", line 66, in do_robyn_train\n raise Exception(out["error"])\nException: Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric\nCalls: robyn_train_function ... robyn_mmm -> lambda_seq -> scale -> scale.default -> colMeans\nIn addition: Warning message:\nIn .font_global(font, quiet = FALSE, ...) :\n Font(s) 'Arial Narrow' not installed, with other name, or can't be found\nExecution halted\n\n",
"module": "train_robyn"
}

Provide reproducible example

Attaching model configuration and input file for reproducibility :

mmm_col_mmm_v2_input_Colgate_Palmolive - final_data.csv
mmm_col_mmm_v2_input_mapping_schema.json

Environment & Robyn version

Make sure you're using the latest Robyn version before you post an issue.

  • Check and share Robyn version: 3.11.0
@khanasim19
Copy link
Author

@gufengzhou

@gufengzhou
Copy link
Contributor

sorry for the late reply. are you using ts_validation = true? try turning it to false?

@gufengzhou gufengzhou self-assigned this Dec 20, 2024
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

2 participants