Machine learning and Deep learning project structure initializer
Project description
ML-PROJ-INIT
A lightweight tool to create machine learning project structure and add neaty code snipt quickly to your project
ml-proj-init is a python package to help you to do your machine learning experiment in python in a faster way by creating well defined project structure just by a few commands that works out of the box for most of the machine learning projects. You can focus on building the solution of your problem rather writing all the basic stuffs that are tedious but can be added to your project easily and in a faster way.
2. Installation
2.1 Install in Linux, MacOS and Windows
The installation process is OS independent. If you have a working python 3.5 or newer version in your computer and pip3 as the package manager, you can easilty install the package just by following instructions.
2.1.0 Dependency
- Python 3.x
2.1.1 Installation
- Install using the following command-
pip install ml-proj-init
2.1.2 Uninstallation
- Uninstall using the following command
pip uninstall ml-proj-init
- Provide "y" if you are prompt for approval to remove some config files.
See more info here: ml-proj-init in pypi.org
4. Getting Started
ML-PROJ-INIT has two mode
- Create structure mode
- Add class/code snipt mode
4.1 Creating project structure
In create mode, you can create a well defined project structure for your machine learning or deep learning project by passing few arguments. The create structure mode supports the following parameters -
Creation mode parameters:
Parameter | Accepted Values | Format | Usage | Default Values |
---|---|---|---|---|
-m or --mode |
c |
-m=c or --mode=c or -m c or --mode c |
c for creating structure | Required, no default |
-n or --name |
string, a valid project name | -n=proj_name or --name=proj_name or -n proj_name or --name proj_name |
Provide the project name | Required, no default |
-p or --path |
string, a valid path | -p path or --path path |
Path to create the project | Optional, if not given use the current working directory as the path |
-t or --type |
ml or dl |
-t=ml or --type=ml or -t dl or --type dl |
project type to create ml project or dl project structure | Optional, if not given use "ml" as the default value |
Example:
To create project strucure for a project named hello-world
in /home/user/Desktop/
location and if the project type is deep learning
, then run the following command -
ml-proj-init -m=c -n=hello-world -p=/home/user/Desktop/ -t=dl
or
ml-proj-init -m c -n hello-world -p /home/user/Desktop/ -t dl
4.2 Appending class/code snipt
In append mode, you can easily generate required class implementation or code snipt for loading different data source or building few common machine learning or deep learning model architecture.
Append mode parameters:
Parameter | Accepted Values | Format | Usage | Default Values |
---|---|---|---|---|
-m or --mode |
a |
-m=a or --mode=a or -m a or --mode a |
a for appending required class or code snipt | Required, no default |
-p or --path |
string, a valid path | -p path or --path path |
Path to create the project | Optional, if not given use the current working directory as the path |
-l or --loader |
img or text or csv |
-l=img or --loader=img or -l text or --loader csv |
Data loader type to generate instant code snipt | Optional, no default |
-net or --network |
cnn or lstm or nn |
-net=cnn or --network=lstm or -net nn |
Network type to generate code snipt for common architecture | Optional, no default |
Example:
To add a data loader for image
type data and or a simple cnn
architecture to classify the image run the following command-
ml-proj-init -m=a -l=img -net=cnn -p=/home/user/Desktop/
or
ml-proj-init -m a -l img -net cnn -p /home/user/Desktop/
5. Features
5.1 Features avaiable
- Creating machine learning project structure based on popular ml library scikit-learn and others.
- Creating deep learning project structure using popular dl library tensorflow, keras and others.
- Adding necessary code snipts for data loader class like image data loader or text data loader.
- Adding different neural network implementation skeleton in popular deep learning library TF/KERAS.
5.2 Features in Queue
- Adding frequently used data vizualization code snipts
- Adding feature to generate quick documentation for project, like tables, visualizations etc.
- Adding more frequently used implementation for quick experiment
- Adding more implementatioin of NN architecture for experiment
- Adding more flexible and dynamic code snipt generation.
6. Report Issues
Before you report an issue in github, please make sure you are in the same pace with the up to date commit in our github repo and the latest release from pypi.
7. How to Contribute
You can contribute in the one or either way of the following-
7.1 Bug Reporting
-- You can report a bug by adding issue in github
-- Or you can contribute by sharing how you solved an issue
7.2 Requesting a Feature
-- If you came accross any new idea that can be added as feature
7.3 Adding Feature, Pull Request
-- If you come with new idea of a feature and add it
-- Send us pull request
7.4 Adding Nofification Resource
-- Adding latest neural network architecture to make available for use
-- Adding more frequently used code snipt for machine learning and deep learning project.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ml_proj_init-1.0.3.tar.gz
.
File metadata
- Download URL: ml_proj_init-1.0.3.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26f614caa89d8783fb5232ab427d7283ba322a7333b2056cf65e51aeb908dcf2 |
|
MD5 | 02c134865267a51f459b97c26bb647dd |
|
BLAKE2b-256 | 4b6e6964096a6c125f8759ab448639791a91a1a47015f20747d75c247161d152 |
File details
Details for the file ml_proj_init-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: ml_proj_init-1.0.3-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb3d5dad8917f3cb9f82da3c2f3fcbd4212039b071b5157376c5d67afbaba2e |
|
MD5 | 958fcd0bae08b167a5544d597ef6e7cc |
|
BLAKE2b-256 | 3db641eaabfcc9c19bd6307b39d2b11c4a9a065454cb208dbc52831ff335acf7 |