README.md
Project description
Introduction
The py-cwru is a bearing fault diagnosis dataset and all pythonic, which can be applied to Deep Learning, Transfer Learning and Semi-Supervised Learning (domain adaptation), etc.. Original data comes from the official bearing vibration data of Western Reserve University [1]. The data is based on the original vibration data without repeated segmentation (the sampling window lengthis equal to hop length) and is provided in numpy.Array format.
Although the original '*. mat' file can be downloaded automatically at the first call of py-cwru, we still recommend you, for possible time consumption and transmission interruption, manually download the dataset file through the link below:
Download Link:https://pan.xunlei.com/s/VNNBE0GiGHD5r5_l4BsYOTP-A1?pwd=3syk#
Extraction code:3syk
You may need to reorganize file path if you download from the official file:
Cwru
12DriveEndFault
1797
12DriveEndFault
1797
0.007-Ball.mat
..........
NormalBaseline
1797
.........
12FanEndFault
......
48DriveEndFault
Our code refers to [Litchiware/cwru (github.com)] and modifies a bit of impractical code.
[1] https://engineering.case.edu/bearingdatacenter/download-data-file.
Example
import py_cwru
cwru = py_cwru.CWRU(exp='12DriveEndFault', rpm='1797', length=1024, root=r'.')
train_x, train_y = cwru.x, cwru.y
print(train_x.shape, train_y.shape)
print(type(train_x))
--------
(2013, 1024) (2013,)
<class 'numpy.ndarray'>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file py_cwru-1.0.3.tar.gz
.
File metadata
- Download URL: py_cwru-1.0.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45354b9a0db858be8965f933899095f9fadf722017f6717cf40f861898c8238 |
|
MD5 | c83a08fd0e50ff07973ec6798ab0a0ab |
|
BLAKE2b-256 | 6e49849d73928d1f32b54a581a02fca000939947b92b257e3d36340c9c068696 |