Module to access machine learning and deep learning module
Project description
ML-DL-Models
ML-DL-Models is library to integrate various pre-trained Machine Learning and Deep Learning to your project through ml-dl-models api link.
Usage
In the following paragraphs, I am going to describe how you can get and use ml-dl-models for your projects.
Getting it
To download ml-dl-models, either fork this github repo or simply use Pypi via pip.
$ python -m pip install --upgrade pip
$ pip install ml-dl-models
Using it
ML-DL-Models was programmed with ease-of-use in mind. First, import models from it.
from ml_dl_models import MelodyGenerator
Now you are ready to create an Melody from a MelodyGenerator model.
data = {'keys':'c d e', 'default':True}
path = '/home/LaxmanMaharjan/melody.mp3' # default value is 'melody.mp3' in same directory.
mg = MelodyGenerator(data = data, path = path)
mg.generate_melody()
You can also get the cached notes(notes that are already fetched to model) from Melody Generator.
mg = MelodyGenerator()
print(mg.get_cached_notes)
You can instantiate MelodyGenerator class with default value of data and path.
mg = MelodyGenerator()
mg.generate_melody()
Note: If you use default value of data and path to instantiate MelodyGenerator class than data is chosen from one of the values from cached data.
Learn more about Data Representation link
Project details
Release history Release notifications | RSS feed
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
Hashes for ml_dl_models-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4dddfd55e914e2c922bc46acb62058dd804dce0316ce0699cbde0c406b38ee3 |
|
MD5 | 14f9ba1a2b66f65ba0e8246ee609f01e |
|
BLAKE2b-256 | 742ebbd8c0c1c89574e8d5e9542d9f78f7f5eccca090cebcddee30c0814b46d9 |