Is it possible to copy and paste Jupyter Notebook cells from other notebooks and have the new notebook be able to call the variables declared?

Viewed 78

I'm basically training a bunch of models and I decided it'd be best to train them all separately and after they're all done, copy and paste the cells and outputs into one file. However, if I were to want to plot something with the data, as far as I know calling the variables if they were not initialised in that file would result in an error and so I would be forced to train the model all over again on that file. Is there a way around this?

0 Answers
Related