facebookexperimental / facebookexperimental/Robyn

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

Ouverte
#1,164 3 commentaires 0 réactions 1 personne assignée Réclamée par @gufengzhou Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
1.5k
Forks
433
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## 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](https://github.com/user-attachments/files/17917074/mmm_col_mmm_v2_input_Colgate_Palmolive.-.final_data.csv)
[mmm_col_mmm_v2_input_mapping_schema.json](https://github.com/user-attachments/files/17917076/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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.