LxMLS / lxmls-toolkit

Machine Learning applied to Natural Language Processing Toolkit used in the Lisbon Machine Learning Summer School
Other
223 stars 215 forks source link

Some notebooks contain saved output #142

Closed ChristopherBrix closed 5 years ago

ChristopherBrix commented 5 years ago

Some notebooks contain computed output, including customs paths (eg. in the exception message for the linear classifier notebook).

The students can just rerun the cell to get their own output, but this might be a bit confusing.

ramon-astudillo commented 5 years ago

Yes, this happens often as people forget to clean the notebooks. Ideally we would clean all content automatically. We are left still with a lot of meta-data changing (Python versions and such).

ChristopherBrix commented 5 years ago

Maybe this script could help?: https://gist.github.com/pbugnion/ea2797393033b54674af

I've tried it, and it does remove the output. We could extend it to delete the metadata as well. If I've time tomorrow, I can do this.

ramon-astudillo commented 5 years ago

Solved by https://github.com/LxMLS/lxmls-toolkit/pull/151