Thanks @robstef
So looking through your submission I can see there are two issues:
- The package
lightgbmis an APT package rather so it needs to be installed in a slightly different way. See this post on what to include in your config in the notebook. - There is a small error in the definition of your
proc_xfunction. Namely you should havedf_add = df_rawrather than the other way around. Also in the last line you should havedf_add.drop( ..., inplace=True). See the pandas documentation for more.
Then in your fit_model you should include a line such as x_proc = proc_x(X_raw).
If these don’t resolve your issue let me know and we will dig further 