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 hashes)

Uploaded Python 3

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