semvec/pypi-packages huggingface dataset:
kvstore 0.1.1
Generic Python K/V Store Client
License: MIT

Python KeyValue Store abstraction API
=====================================

Purpose
-------
The objective of this module is to provide a common API to different KeyValue stores
like consul, etcd or zookeeper.

Usage examples
--------------
Basic usage examples::

    import kvstore
    kv = kvstore.Client()
    kv.set(key, value)
    kv.get(key)
    kv.recurse(key)
    kv.delete(key)
    kv.delete(key, recursive=True)
    kv.index(key, recursive=True)
    kv.get(key, wait=True, index=index, wait='10m')
    kv.recurse(key, wait=True, index=index, wait='10m')
cwru 0.2
Case Western Reserve University Bearing Data
License: MIT
Keywords: cwru bearing fault diagnosis dataset

Case Western Reserve University Bearing Data
============================================

Usage
-----

.. code-block:: python

  import cwru
  data = cwru.CWRU("12DriveEndFault", "1797", 384)

Then, you can use ``data.X_train``, ``data.y_train``, ``data.X_test``, ``data.y_test``, ``data.labels``, ``data.nclasses`` to train and evaluate your data driven fault diagnostic algrithms.

Not have a local copy of CWRU Bearing data on your machine? Don't be worry, These ``.mat`` files required by your code will be automatically downloaded from `Case Western Reserve University Bearing Data Center`_, renamed properly with their corresponding class, stored in ``~/Datasets/CWRU`` directory to avoid downloading in future.

Arguments
---------

The constructor of class ``cwru.CWRU`` has three arguments:

* **exp**: experiment, supporting ``"12DriveEndFault", "12FanEndFault", "48DriveEndFault"``
* **rpm**: rpm during testing
* **length**: length of the signal slice, namely ``X_train.shape[1]``

Install
-------

Install by pip:

  $ pip install --user cwru

Or install manually:

  $ python setup.py install

Test
----

You can run unit test by:

  $ python -m unittest discover

.. _Case Western Reserve University Bearing Data Center: http://csegroups.case.edu/bearingdatacenter/pages/download-data-file