forked from daveebbelaar/data-science-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14fbae4
Showing
19 changed files
with
152 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# DotEnv configuration | ||
.env | ||
|
||
# Database | ||
*.db | ||
*.rdb | ||
|
||
# Pycharm | ||
.idea | ||
|
||
# VS Code | ||
.vscode/ | ||
*.code-workspace | ||
|
||
# Spyder | ||
.spyproject/ | ||
|
||
# Jupyter NB Checkpoints | ||
.ipynb_checkpoints/ | ||
|
||
# exclude data from source control by default | ||
# /data/ | ||
|
||
# Mac OS-specific storage files | ||
.DS_Store | ||
|
||
# vim | ||
*.swp | ||
*.swo | ||
|
||
# Mypy cache | ||
.mypy_cache/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
├── LICENSE | ||
├── Makefile <- Makefile with commands like `make data` or `make train` | ||
├── README.md <- The top-level README for developers using this project. | ||
├── data | ||
│ ├── external <- Data from third party sources. | ||
│ ├── interim <- Intermediate data that has been transformed. | ||
│ ├── processed <- The final, canonical data sets for modeling. | ||
│ └── raw <- The original, immutable data dump. | ||
│ | ||
├── docs <- A default Sphinx project; see sphinx-doc.org for details | ||
│ | ||
├── models <- Trained and serialized models, model predictions, or model summaries | ||
│ | ||
├── notebooks <- Jupyter notebooks. Naming convention is a number (for ordering), | ||
│ the creator's initials, and a short `-` delimited description, e.g. | ||
│ `1.0-jqp-initial-data-exploration`. | ||
│ | ||
├── references <- Data dictionaries, manuals, and all other explanatory materials. | ||
│ | ||
├── reports <- Generated analysis as HTML, PDF, LaTeX, etc. | ||
│ └── figures <- Generated graphics and figures to be used in reporting | ||
│ | ||
├── requirements.txt <- The requirements file for reproducing the analysis environment, e.g. | ||
│ generated with `pip freeze > requirements.txt` | ||
│ | ||
├── setup.py <- Make this project pip installable with `pip install -e` | ||
├── src <- Source code for use in this project. | ||
│ ├── __init__.py <- Makes src a Python module | ||
│ │ | ||
│ ├── data <- Scripts to download or generate data | ||
│ │ └── make_dataset.py | ||
│ │ | ||
│ ├── features <- Scripts to turn raw data into features for modeling | ||
│ │ └── build_features.py | ||
│ │ | ||
│ ├── models <- Scripts to train models and then use trained models to make | ||
│ │ │ predictions | ||
│ │ ├── predict_model.py | ||
│ │ └── train_model.py | ||
│ │ | ||
│ └── visualization <- Scripts to create exploratory and results oriented visualizations | ||
│ └── visualize.py | ||
│ | ||
└── tox.ini <- tox file with settings for running tox; see tox.readthedocs.io |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import matplotlib as mpl | ||
import matplotlib.pyplot as plt | ||
from cycler import cycler | ||
|
||
colors = cycler(color=plt.get_cmap("tab10").colors) # ["b", "r", "g"] | ||
|
||
mpl.style.use("ggplot") | ||
mpl.rcParams["figure.figsize"] = (20, 5) | ||
mpl.rcParams["axes.facecolor"] = "white" | ||
mpl.rcParams["axes.grid"] = True | ||
mpl.rcParams["grid.color"] = "lightgray" | ||
mpl.rcParams["axes.prop_cycle"] = colors | ||
mpl.rcParams["axes.linewidth"] = 1 | ||
mpl.rcParams["xtick.color"] = "black" | ||
mpl.rcParams["ytick.color"] = "black" | ||
mpl.rcParams["font.size"] = 12 | ||
mpl.rcParams["figure.titlesize"] = 25 | ||
mpl.rcParams["figure.dpi"] = 100 |
Empty file.