Update to structure
This commit is contained in:
parent
173a18ac88
commit
74d36bd24c
|
@ -3,18 +3,50 @@
|
|||
|
||||
{{cookiecutter.description}}
|
||||
|
||||
Organization
|
||||
Project Organization
|
||||
------------
|
||||
|
||||
├── 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 goes.
|
||||
│ ├── 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
|
||||
|
|
||||
├── figures <- Graphic output from modeling to be used in reports
|
||||
|
|
||||
├── models <- trained and serialized models, model predictions, or model summaries
|
||||
│
|
||||
├── notebooks <- Jupyter or Beaker notebooks. Naming convention is a number (for ordering),
|
||||
├── 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 <- Reports, data dictionaries, manuals, and all other explanatory materials.
|
||||
└── src <- Source code. Possible subdirectories might be `scripts` or `API` for
|
||||
projects with larger codebases.
|
||||
|
|
||||
├── 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`
|
||||
|
|
||||
├── 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
|
||||
|
|
||||
└── tox.ini <- tox file with settings for running tox; see tox.testrun.org
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import click
|
||||
import logging
|
||||
|
||||
|
||||
@click.command()
|
||||
@click.argument('input_filepath', type=click.Path(exists=True))
|
||||
@click.argument('output_filepath', type=click.Path())
|
||||
def main(input_filepath, output_filepath):
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.info('making final data set from raw data')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
log_fmt = '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
|
||||
logging.basicConfig(level=logging.INFO, format=log_fmt)
|
||||
|
||||
project_dir = os.path.join(os.path.dirname(__file__), os.pardir)
|
||||
dotenv_path = os.path.join(project_dir, '.env')
|
||||
dotenv.load_dotenv(dotenv_path)
|
||||
|
||||
main()
|
||||
|
Loading…
Reference in New Issue