Skip to main content

AIronTools

AIronTools (Beta) is a Python library that provides the user with higher level state-of-the-art deep learning tools built to work with tensorflow as a backend. The main goal of this repository is to enable fast model design for both POCs and production.

Key features:

  1. Out-of-the-box models ready to be used.
  2. Block constructor to build customised blocks/models.
  3. Layer constructor to build customised layers such as sequential, convolutional, self-attention or dense, and combinations of them.
  4. Preprocessing tools.
  5. On the fly non-topological hyper-parameter optimization. For now only the dropout regularization is compatible with this feature, in the future others such as l1 and l2 regularization will be compatible too.
  6. Latent representations for visualization purposes.

Installation

pip install airontools

Custom Keras subclass to build a variational autoencoder (VAE) with airontools and compatible with aironsuit

import numpy as np
import tensorflow as tf
from airontools.constructors.models.unsupervised.vae import VAE
from numpy.random import normal

tabular_data = np.concatenate(
    [
        normal(loc=0.5, scale=1, size=(100, 10)),
        normal(loc=-0.5, scale=1, size=(100, 10)),
    ]
)
model = VAE(
    input_shape=tabular_data.shape[1:],
    latent_dim=3,
)
model.compile(optimizer=tf.keras.optimizers.Adam(learning_rate=0.001))
model.fit(
    tabular_data,
    epochs=10,
)
print(f"VAE evaluation: {model.evaluate(tabular_data)['loss']:.4f}")

More examples

see usage examples in aironsuit/examples

Metadata

Release files for airontools 0.1.73

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

Built distribution (wheel)

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

Release files / airontools-0.1.73-py3-none-any.whl

Download URL airontools-0.1.73-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
019afbc30667a6a6fc30060ed27653a547490edb3d6cf7fe0ee143b5bab40b71
BLAKE2b-256 checksum
How to use checksums
bb99006e2207785eefe7a5aeacc0e9a8058dfbc5b694902ca86a98fcb14c5cfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.17

Security for airontools 0.1.73

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.73 This release

1 release file No provenance

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