Skip to main content

Keras based model builder

Project description

Alquimodelia

Alquimodelia is a Python package that provides a Keras-based forecast model builder.

Python Keras

It provides the arquitectures for CNN, LSTM, and Encoder Decoder, and even from imagery UNET. Any suggestions and tips are welcome. Use this to fastly have your forecast models ready to use!

Usage

To use Alquimodelia, follow these steps:

    pip install alquimodelia

Since Alquimodelia is based on keras-core you can choose which backend to use, otherwise it will default to tensorflow. To change backend change the KERAS-BACKEND enviromental variable. Follow this.

To get an arquiteture you only need to have a simple configuration and call the module:

import alquimodelia

# The input arguments
input_args = {
    "X_timeseries": 168,
    "Y_timeseries": 24,
    "n_features_train": 18,
    "n_features_predict": 1,
}
# This is make a model with shapes:
    # input_shape = (N, 168, 18)
    # output_shape = (N, 24, 1)

forearch = alquimodelia.CNNArch(**input_args)

# Now for Vanilla and Stacked CNN:
architecture_args = {}
VanillaCNN = forearch.architecture(**architecture_args)

architecture_args = {"block_repetition": 2}
StackedCNN = forearch.architecture(**architecture_args)

# Keras Models ready to use:
VanillaCNN.summary()
StackedCNN.summary()

Contribution

Contributions to Alquimodelia are welcome! If you find any issues or have suggestions for improvement, please feel free to contribute. Make sure to update tests as appropriate and follow the contribution guidelines.

License

Alquimodelia is licensed under the MIT License, which allows you to use, modify, and distribute the package according to the terms of the license. For more details, please refer to the LICENSE file.

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

alquimodelia-0.0.5.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

alquimodelia-0.0.5-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file alquimodelia-0.0.5.tar.gz.

File metadata

  • Download URL: alquimodelia-0.0.5.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for alquimodelia-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0bece1464e7baf37b37018386dc8150dbaa4591fafcb6e6763e8b793ae046fef
MD5 083ca6894189ad7bf02cf939fefb00bb
BLAKE2b-256 e3b49fb5b48bf5ad4d9260e593691aa5c582da9b7a47a9a95d0fea8e34655c2a

See more details on using hashes here.

Provenance

File details

Details for the file alquimodelia-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: alquimodelia-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure

File hashes

Hashes for alquimodelia-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b9421b407777a5e423e49a1de20576840b0cca207167828e2ae9401b6f63fa7d
MD5 6e0a458ec61201790f967f40ac563858
BLAKE2b-256 c0d994000e242b429b6e6922c3c8ad67946b9a5463bc2517dbf2f4b0b8e60e85

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page