How To Document Your Data Science Project
How To Document Your Data Science Project
www.datalab.com.ng
Introduction
Good Data Scientists know the value of
documentation. Project documentation
helps in tracking every step in a project
while maintaining workflow. Good
documentation also allows stakeholders
to comprehend every aspect of a
project. We examine some steps on
how to effectively document your next
data science project.
COMMENTS
Comments are text added to your code for more explainability.
When working on data science project using programming
languages such as python, R or SQL you can use the # or // key
for commenting out major steps in your code which will help
you in tracking what a code is doing. Good use of comments can
also make code maintenance easy, as well as help you find bugs
in your code faster. Clean codes are well commented and easy to
understand by others. As a Data Scientist make it a practice to
comment out major steps in your project such as adding few
statements alongside your code. This should however be done
only for major steps so you won’t overdo it. Below are some
rules for commenting your code:
9 rules on writing excellent
comments on your code
Rule 1: Comments should not duplicate the code.
(List Source: Best practices for writing code comments, by Ellen Spertus,
https://stackoverflow.blog/2021/07/05/best-practices-for-writing-code-comments/ )
TECHNICAL REPORT
Documenting your data science project as a
technical report can help in distinguishing your
work from others. Reporting makes your work
publishable or reproducible. It takes your data
science project from the coding environment to
a technical document that can be consumed
by others. Here we listed major areas you need
to report when writing a professional report for
your data science project.
Background to the project (What problem
1 you are trying to solve and why).
Conclusion
As a Data Scientist keep in mind that your project may
be read by people with technical and non-technical
backgrounds and should aim to be clear and well
documented. Documentation can be written in Word
or PDF format.
NEED MORE INSIGHT?
science Internship
Program
PHONE:
+2348038518576
WEBSITE:
www.datalab.com.ng