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
Release files for mlgen 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mlgen-1.0.5.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mlgen-1.0.5-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 21.6 kB
Release files / mlgen-1.0.5.tar.gz
| Download URL | mlgen-1.0.5.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b66024937af2f03225f5b5871b88c5a0e00f70f373aca9b95dbe74b97b3334e4
|
|
BLAKE2b-256 checksum How to use checksums |
bd97cca125bcb5b22a0aa494dce0709cec6b73e1105ce1885fe35c6cbff9aabd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mlgen-1.0.5-py2-none-any.whl
| Download URL | mlgen-1.0.5-py2-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
b0d3cc98f9ecb2d14062a286a4041e6c16fff7452bc771d17c306893808e5210
|
|
BLAKE2b-256 checksum How to use checksums |
b9ff9d45c4abe703773b7615a0f870a60e64f7f8357833b98678b08bdee300a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|