Recently, the issue of fraudulent dissertation has been raised in the mass media. Not limited to the academia world It is important to create materials that ensure the consistency of input data-> statistical processing-> output results. However, as long as you are human, you can make mistakes. However, there is a mechanism to reduce that mistake. That's the iPython Notebook.
The mainstream programming language "Python" in the field of data science There is a tool called "iPython Notebook". iPython Notebook is a tool for writing documents for browsers in Markdown notation. However, unlike others, you can embed Python code (or R code) and its results in your document.
I will show you the document actually made with iPython Notebook. It was made for the presentation of a data science study session. The code is written in "In [1]:" and "In [42]:" on the first page. The network diagram below it is the output result.
-> References: Swim the document web. BAD data diving starting with R!
The network diagram in this document is As a result of writing the code and pressing the execute button, it is automatically embedded. This time the code was to output a graph, Even if it outputs numbers or characters, the result is automatically embedded in the same way.
The fact that the code execution result is automatically embedded means that It means that the result of code processing (statistical processing) cannot be changed artificially. This will prevent malicious tampering and inadvertent pasting mistakes.
For how to use iPython Notebook, I referred to the articles of the following people. Thank you very much.
-> Reference article: Draw a cool graph with IPython Notebook-MemoBlog -> Reference article: Data analysis method using ipython notebook
There is "nbviewer" as a way to publish iPython Notebook on the Web. This is an online iPython Notebook interpretation tool Create a web page from the iPython Notebook data uploaded to Gists. By telling the URL of the created web page, other people can see it.
iPython Notebook is a tool for creating documents with Python code execution results. Eliminates tampering and pasting mistakes in the results. You can publish the created material at "nbviewer", so let's try it.
Recommended Posts