dim_ae
Dimensionality Reduction Autoencoder built with Keras TF
Package installation
pip install dimae
Usage example
import pandas as pd
import tensorflow as tf
from dimae.autoencoders.autoencoder import AE
df = pd.DataFrame(...)
n_features = df.shape[1]
output_features = 10
ae = AE(n_features, output_features)
batch_size = 8
epochs = 15
dataset = tf.data.Dataset.from_tensor_slices((df.values.astype('float32'), df.values.astype('float32')))
t_dataset = dataset.batch(batch_size)
ae.compile(optimizer = 'adam', loss = 'mse')
ae.fit(t_dataset, epochs = epoches)
encoder = ae.generate_encoder()
encoder.summary()
Release files for dimae 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dimae-0.1.4.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dimae-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / dimae-0.1.4.tar.gz
| Download URL | dimae-0.1.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f608de25ab4776bfa6bcc60fb3a320eea38a85f0bae0cfed5b95a0c3f6435b5b
|
|
BLAKE2b-256 checksum How to use checksums |
105dc2ab3ff7fea6a0e040d88abd437e49200cf827e652af51c6c53d752e71cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|
Release files / dimae-0.1.4-py3-none-any.whl
| Download URL | dimae-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1832c497ee2d1650292982c746b6c393b6612ac62e60d6c5bffa643cb7d9c72c
|
|
BLAKE2b-256 checksum How to use checksums |
f26feb2c960fd82411eff3679cbeaf7e292a261b1371e3881a2e5de0b6db6a78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3
|