Skip to main content

Preprocessed CWRU Bearing Dataset for multivariate signals

Project description

Multivariate CWRU Bearing Package

This package is created to extract and preprocess the CWRU Bearing datasets provided by the Case Western Reserve University. This package functions as an extension on the original package developed by Litchiware, specifically designed to extract multivariate signals from the Bearing datasets for using in fault diagnosis experiments. Please read the documentation carefully for correct use of the package.

Installation

Installing the package can be done manually, but I recommend to install via pip since this is much easier by just copying the code below and paste it in your terminal/command prompt:

$ pip install multivariate-cwru

Use of the package

After the installation, the package can be imported in your specific session, for example in Jupyter Notebook;

import multivariate_cwru

Then the class in the package can be called as follows;

data = multivariate_cwru.CWRU("12FanEndFault", 2048, 0.8, 1,2,'1797',normal_condition = True)

The called function results in six different objects:

  • data.x_train, contains train samples represented in a 3D-array (nr of time series, sequence length, amount of sensors).
  • data.y_train, train labels representing different fault conditions.
  • data.x_test, test samples, 3D-array (nr of time series, sequence length, amount of sensors).
  • data.y_test, test labels representing different fault conditions
  • data.nclasses, amount of different fault conditions
  • data.labels, the different fault conditions extracted from the datafiles

Arguments

As can be seen in the previous code block, the package asks seven arguments for extracting and preprocessing the CWRU bearing datasets into usable objects. The following arguments need to be addressed when using CWRU class:

  1. Experiment: The specific name for the experiment to use. There are three options: "12DriveEndFault", "12FanEndFault" and "48DriveEndFault".
  2. Length: Sequence length of every time series.
  3. Trainsplit: Between 1 and 0 which splits the data into a train and test set.
  4. Seed: Set seed for data shuffle to recreate reproducible objects.
  5. Sens: number of sensors to be extracted. Integer number between 1 and 3.
  6. RPM: Choose the rotations per minute to narrow down the experiment's data. Four options are available, "1797","1772","1750"and "1730". Multiple inputs are possible.
  7. Normal_condition: Boolean expression to add/exclude the normal conditions from the objects.

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

multivariate_cwru-1.4.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multivariate_cwru-1.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file multivariate_cwru-1.4.tar.gz.

File metadata

  • Download URL: multivariate_cwru-1.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.7

File hashes

Hashes for multivariate_cwru-1.4.tar.gz
Algorithm Hash digest
SHA256 d7c0f91b8bf3cdeaef3450b58f19a573cde0fd36a502a8736a72cf3307f2d70d
MD5 5c53d0c58b94471806c605c6fe8bd8e2
BLAKE2b-256 30febce61935664ce1c429cb10e64cc5fc413ce49b6e5f2f782460269a45354d

See more details on using hashes here.

File details

Details for the file multivariate_cwru-1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for multivariate_cwru-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 04c44d4b37766d225f2d5a38e99a11a6cb6f0a83e80f75495e8bcb4989a077d3
MD5 ae9891300314f298dea11a97347cbcb1
BLAKE2b-256 6c5d921fda54a1bace17731c3957119ba82ae875ad23f30c6b7375dfe0bb4da4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page