Skip to main content

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.

Metadata

Release files for multivariate-cwru 1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for multivariate-cwru 1.4
File Size Uploaded
multivariate_cwru-1.4.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for multivariate-cwru 1.4
File Interpreter ABI Platform
multivariate_cwru-1.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / multivariate_cwru-1.4.tar.gz

Download URL multivariate_cwru-1.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c0f91b8bf3cdeaef3450b58f19a573cde0fd36a502a8736a72cf3307f2d70d
BLAKE2b-256 checksum
How to use checksums
30febce61935664ce1c429cb10e64cc5fc413ce49b6e5f2f782460269a45354d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release files / multivariate_cwru-1.4-py3-none-any.whl

Download URL multivariate_cwru-1.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
04c44d4b37766d225f2d5a38e99a11a6cb6f0a83e80f75495e8bcb4989a077d3
BLAKE2b-256 checksum
How to use checksums
6c5d921fda54a1bace17731c3957119ba82ae875ad23f30c6b7375dfe0bb4da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.7

Release history Release notifications | RSS feed

This release

1.4 This release

2 release files

1.3

2 release files

1.2

2 release files

1.1

1 release file

0.1.0

2 release files

0.0.5

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page