This message was deleted.
# ask-anything
s
This message was deleted.
e
the 5th cell in train_model.ipynb is overriding the injected values. remove it and it'll work. I think what happened is that you used
ploomber scaffold
, then set
extract_upstream
to false and then somehow the parameters cell ended up being an empty cell, and the one that ploomber adds by default (the one with
upstream =None
) ended up below it. but please share the steps you followed so we can capture this error and alert future users 🙂 thanks for your feedback!
v
thanks for your help @Eduardo. I removed the
upstream = None
cell that was overriding the injected values
e
nice. is it working now?
v
But I'm not able to get PyCaret working in the same notebook even though I have imported the required modules whereas if I run the pycaret code standalone in another notebook it works well
e
what error are you seeing?
v
I get a
Name Error : fold_shuffle is not defined
error
e
do you have the full error?
v
here is the complete error
e
i looked at your notebook, you are calling a setup function (im guessing this is from pycaret) and passing a fold_shuffle variable, but the variable isn't defined anywhere
ensure you declare
fold_shuffle
before calling setup
v
yes that was indeed the issue. I forgot to declare
fold_shuffle
and
fold
parameters in my yaml file! Now everything works including the ML Flow logging 🙂
e
Nice!
v
I love how Ploomber integrates with mlflow. Definitely going to use Ploomber for my projects from now on. Thanks for your help!
🙏 1
e
Thanks for using Ploomber! Don't hesitate to ask any other questions! Can I share your project on our socials? Also if you have a Twitter account, I can tag you
v
yes definitely, There is a bigger project I want to implement ploomber to, it will take me a couple of days to set it up on my project, I'll let you know once that's done!
e
amazing, looking forward!