Re:Interactive workflows for C++ with Jupyter
by jononor on Wednesday November 29, 2017 @07:05PM
(#15812125)
You can very easily move some functions out of a notebook and into a proper module, that can be included in a program / production system. Autoreload extension in Python Jupyter notebooks makes it extra nice.
It is also easy, and convenient to write py.test style tests inside a notebook, just call them manually inside the block. Then when you move it out to module, you have tests that will automatically be picked up by your testrunner.
Re:Interactive workflows for C++ with Jupyter
by taeric on Thursday November 30, 2017 @12:02AM
(#15813600)
You can. Most don't. And moving something from a free form environment to a tested continuous delivery one, is not automatic.
Luckily, the performance constraints of most environments are such that python is not an automatic deal breaker nowadays. That said, correctness of code proofs are usually different from correctness of machine learning algorithms. Such that mixing them seems to just fool both sets of practitioners.
Re:Interactive workflows for C++ with Jupyter
by jononor on Thursday November 30, 2017 @11:09AM
(#15816830)
My point is mostly that it that Jupyter far from as bad as spreadsheets (at least commonly used implementations).
Correctness of machine learning is a complicated problem generally.
Re:Interactive workflows for C++ with Jupyter
by taeric on Thursday November 30, 2017 @03:00PM
(#15818969)
Meh. With some of the practices I've already seen, at least spreadsheets always show the data. You send me a spreadsheet, I can verify most of it. Send me a notebook, I can typically only audit what you did.
Worse, so called "notebooks" are neat, but they are just as bad for engineering best practices as spreadsheets are.
Not to say that you shouldn't be able to grow from freeform practices. You should. Just don't mistake them for being somehow superior to spreadsheets.