Giter VIP home page Giter VIP logo

ssvae's Introduction

Semi-supervised Variational Autoencoder for Bearing Fault Diagnosis

This repository contains the codes for the course project of Deep Learning at Harbin Institute of Technology (Wangmeng Zuo, Wanxiang Che). I am trying out semi-supervised vae for bearing fault diagnosis. The dataset used for experiment is CWRU Bearing Dataset.

The vibration signals are min-max normalized and then sliced into segments of length 1024, and then FFT is used to transform the segments into frequency coefficients of length 1024 (so yeah, the left and right are symmetrical). The obtained frequency representation is reshaped into 32*32. (This is probably not a good way to process the vibration signal. I may use 1D dilated convolution in the future.)

1. Using latent variables directly for classification (SVM as classifier)

Got pretty bad results as expected, and the accuracy declines dramatically with the decrease of training samples.

图片名称

2. Adding cross-entropy loss of labeled samples into original loss function

For each batch, half are labeled data, and half are unlabeled data. A softmax layer is added on top of latent variables, which gives logits of a batch. We can use the logits of the labeled samples and the corresponding labels to compute cross-entropy. This cross-entropy is added into the original loss function. The classification accuracy increased, and we can also see that accuracy slightly declines with the decrease of labeled samples.

图片名称

2.1 Input and reconstruction

图片名称

2.2 Generation by drawing z from standard normal distribution

图片名称

3. Future work

  • Currently the encoder and decoder network are using 2D convolution. Consider use 1D dilated convolution instead.

ssvae's People

Contributors

cyrilli avatar

Watchers

James Cloos avatar  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.