Library for common data transformations utilizing only the standard Python library and/or Numpy. Includes transposition, time series windowing, cross-correlation.
Project description
TCEV Data Transformation Library
Library for common data transformations used in machine learning models, utilizing only the standard Python library and/or Numpy. Includes transposition, time series windowing & cross-correlation.
Description
The repository contains 3 data transformation and associated unit tests for the following functions:
transpose2d-> a function that takes in a 2D matrix of real numbers and swaps the axis (standard transpose logic).window1d-> a function that converts a 1D list / np.array into window subsets of the input, given additional parameters on size of window, shift between windows & stride within a window.convolution2d-> a function that takes an input 2D array, a kernel 2D array and combines them to produce a 2D array using cross-correlation operations. Allows for an optional stride parameter, which determines the slide or "shift" between cross-correlation operations.
The repo has been packaged, built and published to PyPi.
Dependencies
- Poetry
- Numpy
- Pytest (for running user tests only)
After cloning the repository, run bash command poetry install.
Authors
Ernestas Vainorius @LinkedIn
Version history
- v1.0.0:
- Added an additional unit test for
convolution2dfor testing larger matrices. - Changed
srcdirectory name totcev_transformationto allow easier to understand library import post publishing. - Finalized README.md.
- Packaged, built and published repo to PyPi.
- See change notes
- Added an additional unit test for
- v0.3.0:
- Created a
convolution2dfunction that takes an input 2D array, a kernel 2D array and combines them to produce a 2D array using cross-correlation operations. - Created unit tests for checking
convolution2dfunctionality and parameter intake. - See change notes
- Created a
- v0.2.0:
- Implemented
window1dfunction, which allows to create window subsets from a starting input array/list, with additional parameters for window size, shift between each window, stride within a window. - Wrote unit tests for
transpose2d&window1dfunctions - See change notes
- Implemented
- v0.1.0:
- Created
transpose2dfunction, which allows for transposition of any 2D real-number matrices - Base file structure created, including Poetry files for dependency management
- See change notes
- Created
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tcev_transformation-1.0.1.tar.gz.
File metadata
- Download URL: tcev_transformation-1.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b66412fdf05dde69956bfc0b2208140a7a6f00c25f7d976b2838b68fe94e35
|
|
| MD5 |
b9760ea8095f54f9735be18c970cf733
|
|
| BLAKE2b-256 |
838650e7ac4b2481c7b39a43fbf2dc5390d24d0b25b7be024731f5f32bcb6f78
|
File details
Details for the file tcev_transformation-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tcev_transformation-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388fa108e6e620a133edf690b9f9a5b5aef26aa991fcccf3931d9958661b5237
|
|
| MD5 |
674cfc9cf7acdb368e33165d917569c6
|
|
| BLAKE2b-256 |
be21478266c0cab1286f75920240799f514c0e05bf7c2037446aea1dd4e733e7
|