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) [^2]

Linear algebra

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]: Goldblum, Micah, et al. "Unraveling meta-learning: Understanding feature representations for few-shot tasks." International Conference on Machine Learning. PMLR, 2020. [^3]: Verma, Vikas, et al. "Manifold mixup: Better representations by interpolating hidden states." International Conference on Machine Learning. PMLR, 2019. [^4]: Mazumder, Pratik, Pravendra Singh, and Piyush Rai. "Few-Shot Lifelong Learning." Proceedings of the AAAI Conference on Artificial Intelligence. Vol. 35. No. 3. 2021.

Pedregosa, Fabian, et al. "Scikit-learn: Machine learning in Python." the Journal of machine Learning research 12 (2011): 2825-2830.

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.3-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dl_toolkits-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 35de28f881c900577adf12f2cb48cafa33c1d6e725065bdca1d38d2345f19635
MD5 ec0dabf8d711f544afcdb764d12793bf
BLAKE2b-256 7b238fa8047f7b0e6cb57d3f042fe60a0939cc4533ba6baef8be9576bced1709

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