Transpose.Windowing.Convolution
Project description
Data Wizzard Library
Overview
The Data Wizzard Library is a Python package designed to simplify and streamline data transformation tasks. It provides a set of functions that perform common operations such as 2D transposition, 1D windowing, and 2D convolution. These functions are optimized for performance and ease of use, making it easier to manipulate and analyze data in Python.
Features
transpose2d
This function transposes a 2D matrix, effectively flipping it over its diagonal, switching the matrix's row and column indices. This is particularly useful in numerical and matrix computations.
window1d
The window1d function applies windowing operations to 1-dimensional arrays. This is useful in signal processing where segmenting data into overlapping or non-overlapping windows is required.
convolution2d
Performs 2D convolution on an input matrix with a specified kernel and stride. This function is essential for image processing, feature extraction, and machine learning applications involving convolutional neural networks.
Installation
You can install the library using pip:
pip install data-transformation-wizzard
Usage
To use the functions in the Data Wizzard Library, you first need to import the necessary functions. Below are some examples of how to use each feature:
Using transpose2d
from data_transformation_wizzard import transpose2d
matrix = [[1, 2], [3, 4]]
print(transpose2d(matrix))
Using window1d
from data_transformation_wizzard import window1d
array = [1, 2, 3, 4, 5, 6]
size = 3
shift = 1
stride = 1
print(window1d(array, size, shift, stride))
Using convolution2d
from data_transformation_wizzard import convolution2d
input_matrix = [[0, 1, 2], [3, 4, 5], [6, 7, 8]]
kernel = [[0, 1], [2, 3]]
stride = 1
print(convolution2d(input_matrix, kernel, stride))
Project details
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 data_transformation_wizzard-0.1.0.tar.gz.
File metadata
- Download URL: data_transformation_wizzard-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e02aadf2dc490a905a706d08a9cf037f0e46d02d723d1563b2b1629ab01a4ac2
|
|
| MD5 |
7f7c1cc391ddce60d5f91b2774b30cca
|
|
| BLAKE2b-256 |
65389020839f764523ae3fedced974eafc44bcfe175fee47c819c797c29e0363
|
File details
Details for the file data_transformation_wizzard-0.1.0-py3-none-any.whl.
File metadata
- Download URL: data_transformation_wizzard-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3c489acb58f621c987f66be70aebb753817beffde6f7d1888a820e2fb60fdfb
|
|
| MD5 |
c9a2c04e1bf296a210aee0cf53103710
|
|
| BLAKE2b-256 |
507ef1b565f134899fc8733c7c2fb98f403424d9208346b25976c6b246339258
|