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.1.tar.gz
(5.1 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.1.tar.gz.
File metadata
- Download URL: pymathnn-0.2.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca853f8c9cc2b32f78c54d16924fdae0b4d20556d475fc137c759a91863bca6
|
|
| MD5 |
8a4b4312db9c9ef18560ad8324ca6e55
|
|
| BLAKE2b-256 |
40b0856ad710a86e503dae7146e0df3f81bfc54d505835683b06651972dacf0f
|
File details
Details for the file pymathnn-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pymathnn-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.7 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 |
c3b17d51c00812cf006f64cd63a5e0441914174fc68ec3a2891248393a5d868f
|
|
| MD5 |
217baa6028dd16a5155a66e42e91886a
|
|
| BLAKE2b-256 |
4b638a1218917873dd509fc1cf0248cca3d941362b3c4c39143d3e37bad272e0
|