Skip to main content

Keras-core based tools to enhance Alquimodelia

Project description

Alquitable

Alquitable is a Python package that provides a Keras-based set of tools to enhance Alquimodelia.

Python Keras

It provides the loss function and callbacks to apply to keras models

Usage

To use Alquitable, follow these steps:

    pip install alquitable

Since Aquitable 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:

# Previous code and imports
...
from alquitable import losses, callbacks

# Based on forecat StackedCNN


loss_funtion=losses.weighted_loss
callback = callbacks.StopOnNanLoss

StackedCNN.compile(loss=loss_funtion)

StackedCNN.fit(
    ...
    callbacks=callback
)

Contribution

Contributions to Alquitable 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

Alquitable 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

alquitable-0.0.3.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

alquitable-0.0.3-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

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