Python module for mathematical operations, matrix manipulations and neural network utilities using NumPy
Project description
Installation
pip install pymathnn
Utilization
Simple examples of user:
from pymathnn import Matrix
m1 = Matrix((3, 3), init='random')
m2 = Matrix((3, 3), init='uniform')
# Sum matrix
m3 = m1.add(m2)
# Product With Scalar
m4 = m1.multiply(2.5)
# Matrix Traspose
mt = m1.transpose()
# Statistics
print(m1.mean())
print(m1.norm())
m1.summary()
# Activation
m1 = Matrix((4,4))
print(m1)
m1.activation('relu')
print(m1)
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
pymathnn-0.2.5.tar.gz
(7.5 kB
view details)
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 pymathnn-0.2.5.tar.gz.
File metadata
- Download URL: pymathnn-0.2.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c3ab4819f761cbed4a1c738c9dec4c227ee14454627c13232e804f76932d00b
|
|
| MD5 |
abb18302ee73aed45656939df143949e
|
|
| BLAKE2b-256 |
bb87b69c4eadc6d4603481e52cbc68fa2b3f9f2a1dae832c416f36948d711755
|
File details
Details for the file pymathnn-0.2.5-py3-none-any.whl.
File metadata
- Download URL: pymathnn-0.2.5-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c195d206a66a103605821a6baefb39e44659245bd2a11d5dfb50f3c167d320
|
|
| MD5 |
5c1b4c0845d0e69a2ff78a60f0df1a97
|
|
| BLAKE2b-256 |
cf2de3c656f847df4bf9785154ac0f0b5b772ec9a7037d12f933104bbbaea345
|