GithubHelp home page GithubHelp logo

dan628 / stacked-denoising-autoencoder Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 331 KB

Stacked Denoising Autoencoder package for feature extraction of high dimensional tabular data

Python 100.00%

stacked-denoising-autoencoder's Introduction

SDAE

Description

SDAE is a package containing a stacked denoising autoencoder built on top of Keras that can be used to quickly and conveniently perform feature extraction on high dimensional tabular data.

The SDAE is a seven layer stacked denoising autoencoder designed to pass input data through a "bottleneck" layer before outputing a reconstruction of the input data as a prediction. Noise is introduced during training using dropout, and the model is trained to minimize reconstruction loss.

Features

  • Adjustable noise levels
  • Custom layer sizes
  • Automatically plot reconstruction loss

Motivation

Stacked denosing autoencoders can serve as very powerful method of dimensionality reduction and feature extraction; However, testing these models can be time consuming. The goal of this package is to provide a flexible and convenient means of utilizing SDAEs using Scikit-learn-like syntax while preserving the funcionality provided by Keras.

Installation

pip install SDAE

Usage

Assume
Training data: train_data
Test data: test_data

from SDAE import StackedDenoisingAutoencoder

# Instantiate
SDAE_Model = StackedDenoisingAutoencoder(50, 5, 100, verbose=True)

# Train model
SDAE_Model.fit(X_train)

#Plot reconstruction loss during training
SDAE_Model.plot_loss()

#Access Keras model and functionality such as summary()
SDAE_Model.model.summary()

#Perform feature extraction
New_X_train = SDAE_Model.transform(X_train)
New_X_test = SDAE_Model.transform(X_test)

Contributing

Pull requests are welcome.

License

MIT

stacked-denoising-autoencoder's People

Contributors

dan628 avatar

Stargazers

Aviv Nur avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.