MLGen is a tool which helps you to generate machine learning code with ease.
Project description
MLGen
MlGen is a tool which helps you to generate machine learning code with ease. MLGen uses a ".mlm" file format which is a file with YML like syntax. This tool as of now supports keras and tensorflow2.0(not fully supported)
pip install mlgen
CLI commands--->
To init files
mlgen -i | --init <file name>
To generate a specific template (optional)
mlgen -g | --gen <neural network type> --backend | -be <lib to use> -t jupyter
To generate the ml python file
mlgen -r .
MLM file syntax --->
file: name of the python file to be created
version: version of python being used
backend: which machine learning platform if to be used
gpu: (bool) is gpu being used or not
data: location of the dataset can be a URL/ folder location on machine
split:(int) slipt in training and testing data. automatically converted to a decimal
coloumns_feature: list of coloumns being used for the prediction
nill_data: basic null data handling in non categorical datatypes. Available techiniques remove, mean, mode, median
nill_data_categorical: basic null data handling for categorical datatypes. Available techiniques remove, max, min
NeuralNetwork_type: the type of neural network being used such as ANN, CNN, LSTM
layer1:
number_neurons: (int) number of neurons
input_dim: input dimensions of the first layer input
activation: activation function being used
dropout: (optional)
dropout: (int) dropout percentage
noise_shape: (int) noise shape (optional)
seed: (int) seed value (optional)
layer2:
number_neurons: (int) number of neurons
activation: activation function being used
dropout: (optional)
dropout: (int) dropout percentage
noise_shape: (int) noise shape (optional)
seed: (int) seed value (optional)
compile:
epochs: (int) number of epoch
batch_size: (int) batch size
verbose: (int) verbose value 0,1,2
optimizer: optimizer being used
loss: loss type
metrics: (array)
- metrics type
checkpoint: (optional)
monitor: metrix type
verbose: (int) batch size
save_best_only: (bool)
mode: mode such as min max
save_model: (optional)
file: file name to save model in
save: save type. Available options weights and model
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlgen-1.0.5.tar.gz.
File metadata
- Download URL: mlgen-1.0.5.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b66024937af2f03225f5b5871b88c5a0e00f70f373aca9b95dbe74b97b3334e4
|
|
| MD5 |
c48a8cee25073df038f6f1e89ceecd7d
|
|
| BLAKE2b-256 |
bd97cca125bcb5b22a0aa494dce0709cec6b73e1105ce1885fe35c6cbff9aabd
|
File details
Details for the file mlgen-1.0.5-py2-none-any.whl.
File metadata
- Download URL: mlgen-1.0.5-py2-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d3cc98f9ecb2d14062a286a4041e6c16fff7452bc771d17c306893808e5210
|
|
| MD5 |
c74ab414b226cfdc8105898f4e943963
|
|
| BLAKE2b-256 |
b9ff9d45c4abe703773b7615a0f870a60e64f7f8357833b98678b08bdee300a6
|