Skip to main content

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

data_transformation_wizzard-0.1.4.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_transformation_wizzard-0.1.4-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file data_transformation_wizzard-0.1.4.tar.gz.

File metadata

File hashes

Hashes for data_transformation_wizzard-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ca1bd7af365889b31bb3fd5a5f0cb7753a09d6938cbb4275ebacc00f6a7bf8d2
MD5 d1b543087bb744dc598b4a27ad81835a
BLAKE2b-256 ecaab9ba8e2f2bca2153a50d8e5c9528c30c2b8b0d9d51f1f6099ee13c904651

See more details on using hashes here.

File details

Details for the file data_transformation_wizzard-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for data_transformation_wizzard-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a0ce45f5c75b4ddb396ded2ad675ccc7662597b37206f607d47576dcff45e8
MD5 778169e5e8d7c4cd15d74e108b6a95d2
BLAKE2b-256 1295c48a48214021081272b8e9619b5ab5a1fe35d4249bcb8a51ab189f7934d5

See more details on using hashes here.

Supported by

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