Metadata-Version: 2.1
Name: dimae
Version: 0.1.4
Summary: Dimensionality Autoencoder
Home-page: https://github.com/SynStratos/dim_ae
Author: SynStratos
Author-email: synstratos.dev@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: tensorflow
Requires-Dist: scikit-learn

# dim_ae
Dimensionality Reduction Autoencoder built with Keras TF


### Package installation
```
pip install dimae
```

### Usage example
```python
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()
```


