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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mzutils-0.2022-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

Details for the file mzutils-0.2022-py3-none-any.whl.

File metadata

  • Download URL: mzutils-0.2022-py3-none-any.whl
  • Upload date:
  • Size: 33.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.13.0 pkginfo/1.9.6 requests/2.28.1 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15

File hashes

Hashes for mzutils-0.2022-py3-none-any.whl
Algorithm Hash digest
SHA256 0d4a3876f391c06bebdcedfa83b707cb875ef7a7e25e218e16de4f8aa094524b
MD5 c0e9457206912a3f486b67d3d64dba7c
BLAKE2b-256 a2de404d180fa1097b36e2061683a1b05e53505052de5ec2a1d3844bff411dfb

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