cookiecutter-data-science | reasonably standardized , but flexible project structure
kandi X-RAY | cookiecutter-data-science Summary
kandi X-RAY | cookiecutter-data-science Summary
A logical, reasonably standardized, but flexible project structure for doing and sharing data science work.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Display a deprecation warning .
- Generate final data set from raw data .
cookiecutter-data-science Key Features
cookiecutter-data-science Examples and Code Snippets
├── setup.py
├── README.md <- The top-level README for developers using this project.
├── LICENSE
├── environment.yml <- Conda environment file. Create environment with
│ `conda env create -f environm
├── README.md <- You are here
│
├── config <- Directory for yaml configuration files for model training, scoring, etc
│ ├── logging/ <- Configuration of python loggers
├── LICENSE
├── Makefile <- Makefile with commands like `make data` or `make deploy`
├── README.md <- The top-level README for developers using this project.
├── data
│ │
│ └── raw <- The original,
Community Discussions
Trending Discussions on cookiecutter-data-science
QUESTION
I'm looking for a better AI/ML project code structure. I know that cookiecutter is there and I really like it.
Here is the problem: I want my Jupyter Notebook added to the project structure like cookiecutter. But when I want to deploy the model and I pip install requirements.txt
, all of the package (including Jupyter Notebook requirements) will be installed. I didn't like it.
Is there any project structure, that include notebook inside but separate requirements.txt for analysis and deployment?
Is it good idea to create two folder: one for analysis on notebook with requirements.txt and one for model deployment with its own requirements.txt?
...ANSWER
Answered 2021-Oct-11 at 19:35The best solution that comes to my mind is Poetry. It automatically creates the folder structure like a python package.
Poerty creates a project.toml file when project is initialized. This can serve as requirement.txt file for production.You can add production and development package separately in this file using command line or editing the file.
It also creates separate environment for the project which helps in minimizing the conflict with other project.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cookiecutter-data-science
You can use cookiecutter-data-science like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page