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.7.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alquimodelia-0.0.7-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alquimodelia-0.0.7.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.11 Linux/6.17.9-arch1-1

File hashes

Hashes for alquimodelia-0.0.7.tar.gz
Algorithm Hash digest
SHA256 7b240776399844130bc4b5dc135871e3cfeda4b7f42af7e3a7fcd052853ff869
MD5 554f2ac676f3da90d5df0e2556361ed7
BLAKE2b-256 1737b7e86b07c8202e7f5d61d4e7b74b5aaac06aee793ea761f18be4ba7beb94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alquimodelia-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.11 Linux/6.17.9-arch1-1

File hashes

Hashes for alquimodelia-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e67be233167bf242095bd6dc0a6e8af749b3f0fdf1ffdde79e085bc87ed2dc60
MD5 3b3f47710d2404b6c1053d2b0755da4b
BLAKE2b-256 211eb31f0a2a274bc66fa1823fe1d45156cfa7036564b8ece51b74e459517a4a

See more details on using hashes here.

Supported by

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