Skip to main content

Mohan Zhang's toolkit

Project description

.. _mzutils: https://pypi.org/project/mzutils/

mzutils_ is a personal toolkit that contains various methods to do miscellaneous jobs related to data cleaning, preprocessing, visualizing, evaluating and modeling in various fields of machine learning, especially NLP and RL. It supports Datasets like SQuAD, GLUE, Deepmind CNN/DailyMail in NLP and d4rl in offlineRL, as well as their conversions to JSON, CSV, numpy arrays and tensors.

The purpose of this toolkit is to reuse the code and make Mohan Zhang's life easier.

Read the documentation here <https://mzutils.rtfd.io>_!

Install

  • if you want to use only the minimal functionalities, please do

.. code-block::

$ pip install -U mzutils
  • or if you want to use nlp specific functions, please do

.. code-block::

$ pip install -U mzutils[nlp]
  • or if you want to use all the functionalities, please do

.. code-block::

$ pip install -U mzutils[all]
$ pip install -r security_requirements.txt

.. note:: due to this unreasonable feature of pip <https://github.com/pypa/pip/issues/6301>, you will need to check and install from requirements.txt <https://github.com/Mohan-Zhang-u/mzutils/blob/master/requirements.txt>, extras_requirements.txt <https://github.com/Mohan-Zhang-u/mzutils/blob/master/extras_requirements.txt>_ or security_requirements.txt <https://github.com/Mohan-Zhang-u/mzutils/blob/master/security_requirements.txt>_ according to your specific need.

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.

Built Distribution

mzutils-0.2011-py3-none-any.whl (31.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page