Skip to main content

Dimensionality Autoencoder

Project description

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()

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

dimae-0.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

dimae-0.1.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file dimae-0.1.3.tar.gz.

File metadata

  • Download URL: dimae-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for dimae-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8a000c32c0de9913a4d81ff19ed09ab1df0899e590579609c092e219178bf1f2
MD5 db420cffc2a7c4bbe03566d3b140900e
BLAKE2b-256 beda1818589a6119fae9fd997888891c73ef3175c6ffdcd2ac55a15d7c76c718

See more details on using hashes here.

File details

Details for the file dimae-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dimae-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for dimae-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 565777ca9409f747fb61bc45b8de115e42e45ffe70864ed15167849d6c9717a7
MD5 26739de5d75fc85565dea18a89f67501
BLAKE2b-256 5121cff529d86f2b08a4485ddbafac7db063de41da492b7b27bc9db20c81ebd0

See more details on using hashes here.

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