This is a template repository for data science projects done in Python.
To use the following template, click the "Use This Template button" and follow the instructions to create a new repository. Fill out the information below, deleting parts that are not specific to your project (e.g., Prerequisites). This template contains a number of code templates in the modeling sections (40-90 series), which may be deleted and renumbered according to the project objectives. The format of this repository goes well with nbdev. Take a look at the documentation there and review the tutorials to get the best usage out of this repository. See the box-authentication
notebook if you need to do authentication via Box (for projects with security contracts or PII data). Note that this authentication method is not currently guaranteed to work on ACCRE.
To most easily run this code out of the box, the following packages must be installed:
- pandas
- numpy
- scikit-learn
- matplotlib
- seaborn
- great expectations
- h2o
- fastai
- huggingface
- datasets
This is easiest to achieve through first installing an Anaconda distribution, which installs the first 5 packages and all of their dependencies. The install directions to the other packages may be found on their documentation pages.
Background
Data
Models
Timeline
Repo Structure
Logistics
Resources
Contact
Provide an overview of the goals and deliverables of the project. Mention any relevant details or issues.
Provide a broad overview of the purpose of the project.
Describe the data - what kind of data is it? Describe the general format, and potential quirks.
If there are any security concerns or requirements regarding the data, they should be described here.
Describe the overall size of the dataset and the relative ratio of positive/negative examples for each of the response variables.
Clearly identify each of the response variables of interest. Any additional desired analysis should also be described here.
Outline the desired timeline of the project and any explicit deadlines.
Give a description of how the repository is structured. Example structure description below:
The repo is structured as follows: Notebooks are grouped according to their series (e.g., 10, 20, 30, etc) which reflects the general task to be performed in those notebooks. Start with the *0 notebook in the series and add other investigations relevant to the task in the series (e.g., 11-cleaned-scraped.ipynb
). If your notebook is extremely long, make sure you've utilized nbdev reuse capabilities and consider whether you can divide the notebook into two notebooks.
All files which appear in the repo should be able to run, and not contain error or blank cell lines, even if they are relatively midway in development of the proposed task. All notebooks relating to the analysis should have a numerical prefix (e.g., 31-) followed by the exploration (e.g. 31-text-labeling). Any utility notebooks should not be numbered, but be named according to their purpose. All notebooks should have lowercase and hyphenated titles (e.g., 10-process-data not 10-Process-Data). All notebooks should adhere to literate programming practices (i.e., markdown writing to describe problems, assumptions, conclusions) and provide adequate although not superfluous code comments.
Sprint planning:
Demo:
Data location:
Slack channel:
Zoom link:
- Python usage: Whirlwind Tour of Python, Jake VanderPlas (Book, Notebooks)
- Data science packages in Python: Python Data Science Handbook, Jake VanderPlas
- HuggingFace: Website, Course/Training, Inference using pipelines, Fine tuning models
- fast.ai: Course, Quick start
- h2o: Resources, documentation, and API links
- nbdev: Overview, Tutorial
- Git tutorials: Simple Guide, Learn Git Branching
- ACCRE how-to guides: DSI How-tos
Sawan Ahmed, sawan.a.ahmed@vanderbilt.edu, Product Manager (PM)
Allan Zhang, allan.w.zhang@vanderbilt.edu, Developer
Isa Dominguez, isa.a.dominguez@vanderbilt.edu, Developer
Rohan Rashingkar, rohan.v.rashingkar@vanderbilt.edu, Developer
Maya Maciel-Seidman, maya.l.maciel-seidman@vanderbilt.edu, Developer
John Tumminello, john@conservancyonline.com, President of Centennial Park Conservatory