Skip to main content

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.

Metadata

Release files for alquimodelia 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alquimodelia 0.0.7
File Size Uploaded
alquimodelia-0.0.7.tar.gz 21.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alquimodelia 0.0.7
File Interpreter ABI Platform
alquimodelia-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 52.1 kB

Release files / alquimodelia-0.0.7.tar.gz

Download URL alquimodelia-0.0.7.tar.gz
Size 21.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b240776399844130bc4b5dc135871e3cfeda4b7f42af7e3a7fcd052853ff869
BLAKE2b-256 checksum
How to use checksums
1737b7e86b07c8202e7f5d61d4e7b74b5aaac06aee793ea761f18be4ba7beb94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.11 Linux/6.17.9-arch1-1

Release files / alquimodelia-0.0.7-py3-none-any.whl

Download URL alquimodelia-0.0.7-py3-none-any.whl
Size 30.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e67be233167bf242095bd6dc0a6e8af749b3f0fdf1ffdde79e085bc87ed2dc60
BLAKE2b-256 checksum
How to use checksums
211eb31f0a2a274bc66fa1823fe1d45156cfa7036564b8ece51b74e459517a4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.13.11 Linux/6.17.9-arch1-1

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page