Set sample split error #241
-
I am splitting the data with set_sample_splitting. I only get this error when I manually sample split and don't get it with the same data when I don't set sample split - wonder if this function is not working. smpls = (train_idx, test_idx) # Correctly formatted tuple Set the sample splitting for the DoubleMLPLR objectdml_plr_obj.set_sample_splitting(smpls) but I keep on getting this below error after fitting: ValueError: Input contains NaN. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Thank you for reporting this. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response.
Below is the code I'm running that I run into the value error mentioned above.
|
Beta Was this translation helpful? Give feedback.
I tried to replicate you problem but on
0.7.1
this works