Skip to main content

Deep Learning Analysis Toolkits

Project description

DL Toolkits

:man_technologist:  Analytical tools for deep learning experiments  :woman_technologist:

 

Whenever I analyzed the results of the DL experiment, I had to re-implement the analysis function every time. So, I implement frequently used functions in this repository. New features continue to be implemented, and simple examples of function usages can be found in the examples directory.

Installation

You can install the package with pip command. Python>=3 are supported.

pip install dl-toolkits

You can check the version of the package using the following commands.

import toolkits
print(toolkits.__version__)

Modules

Visualization

Clustering quality

  • cluster.sse: Sum of squared error(SSE) [^1]
  • cluster.batch_sse: Sum of squared error(SSE) for batch input
  • cluster.nsse: SSE normalized by the squared distance to the nearest interfering centroid(nSSE) [^1]
  • cluster.batch_nsse: SSE normalized by the squared distance to the nearest interfering centroid(nSSE) for batch input
  • cluster.nearc: Top N nearest interfering centroid
  • cluster.rfc: Feature space clustering quality(R_fc) [^3]

Pretty print

Log parser

PyTorch helper function

References

[^1]: Yoon, Sung Whan, et al. "Xtarnet: Learning to extract task-adaptive representation for incremental few-shot learning." International Conference on Machine Learning. PMLR, 2020. [^2]: Mazumder, Pratik, Pravendra Singh, and Piyush Rai. "Few-Shot Lifelong Learning." Proceedings of the AAAI Conference on Artificial Intelligence. Vol. 35. No. 3. 2021. [^3]: Goldblum, Micah, et al. "Unraveling meta-learning: Understanding feature representations for few-shot tasks." International Conference on Machine Learning. PMLR, 2020.

Project details


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

dl_toolkits-1.1.2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file dl_toolkits-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: dl_toolkits-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for dl_toolkits-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4de32c325a5e6f343e289af39f3b5cc2de82aaf47fa3296b5ae03c87cdd517b9
MD5 1dab8d30d00bc1bdafdf9abb8ec267e6
BLAKE2b-256 bd1500cb5bf0d80205e4065ac4f54a56dea63572018bcc4b04d2c3948609a441

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page