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.
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
Built Distribution
File details
Details for the file alquitable-0.0.4.tar.gz
.
File metadata
- Download URL: alquitable-0.0.4.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ae32acf35d76abba63ca5cd3184cf5e1ebf748263aa1b294c96b4a3eb634b7 |
|
MD5 | 8ea58a701dcfdfb037334297c2583fee |
|
BLAKE2b-256 | 3a5c58a111404acd2f7b2141c8cf847ba8b81ae5852b5beca838983978d49946 |
File details
Details for the file alquitable-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: alquitable-0.0.4-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.0 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8e33cdb23c445d05e628532a1c70c48555c96680f4c0ec0de72aaf77ee2752 |
|
MD5 | de03662ef0dd3e2bedadb5f5554f9aa3 |
|
BLAKE2b-256 | 25b54fe7c736572dc847b37939d7744717139a7ccaa053491a1bfbfb1f17d87a |