This library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multiplication and other operations on square matrix and determinant.
Project description
Data enumerator lib
This library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multipliaction and other operations on square matrix and determinant.
Functionality:-
-
Used to collect user data and process it according to user requirements.
-
Can be used in create recommendation system.
-
Used in deep learning model training.
-
Used in unsupervised machine learning projects.
-
Used in predicting data
Installation
- Run the following command
pip install num-enumerator
cd dataEnumerator
- Save the test file in this folder in order to import class and functions from enumerator
Docs :-
To add two matrix
from enumerator import matrix
A=[[1,2],
[3,4]]
B=[[9,2],
[3,8]]
C = matrix.add(A,B)
print(C)
Output :-
[[10,4],
[6,12]]
To substract two matrix
from enumerator import matrix
A=[[1,18],
[3,14]]
B=[[9,2],
[3,8]]
C = matrix.substract(A,B)
print(C)
Output :-
[[-8,16],
[0,6]]
To multiply two matrix
from enumerator import matrix
A=[[1,2],
[3,4]]
B=[[0,1],
[1,0]]
C = matrix.multiply(A,B)
print(C)
Output :-
[[1,2],
[3,4]]
To get transpose of matrix
from enumerator import matrix
A=[[1,2],
[3,4]]
C = matrix.transpose(A)
print(C)
Output :-
[[1,3],
[2,4]]
To substract particular number with all the elements of determinant
from enumerator import determinant
A = [[2,4],
[6,7]]
B = determinant.substractNum(2)
print(B)
Output :-
[[0,2],
[4,5]]
To add particular number with all the elements of determinant
from enumerator import determinant
A = [[2,4],
[6,7]]
B = determinant.addNum(1)
print(B)
Output :-
[[3,5],
[7,8]]
To divide particular number with all the elements of determinant
from enumerator import determinant
A = [[3,9],
[6,12]]
B = determinant.divideNum(2)
print(B)
Output :-
[[1,3],
[2,4]]
To multiply particular number with all the elements of determinant
from enumerator import determinant
A = [[2,4],
[6,7]]
B = determinant.substractNum(5)
print(B)
Output :-
[[10,20],
[30,35]]
Graphical equation handling
x_data = [1, 2, 3, 4, 5]
y_data = [2, 4, 6, 8, 10]
graph_fitter = graphEQ(x_data, y_data)
graph_fitter.fit_linear()
print(graph_fitter.get_equation()) # Output: y = 2.00x
graph_fitter.fit_polynomial(2)
print(graph_fitter.get_equation()) # Output: y = 0.00x^2 + 2.00x
Languages used:
Developer
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 num-enumerator-0.0.4.tar.gz.
File metadata
- Download URL: num-enumerator-0.0.4.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e6487ef14f441d21b4e2eaeb15daadb34558e802f8edd0549a7976a6169b3b
|
|
| MD5 |
b735d65910664d1893e60bdce3f0f1e1
|
|
| BLAKE2b-256 |
dade59e10d044c0b4d0bc45b8155e9e5472f8e99e28d007ead17ff22e48653fe
|
File details
Details for the file num_enumerator-0.0.4-py3-none-any.whl.
File metadata
- Download URL: num_enumerator-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
0a7f39edc25a5fa94117d91a65dc7121eb94648175ff1674c76f1d64ed4044e5
|
|
| MD5 |
dc910c640cc5f099ed2a1827b9c94077
|
|
| BLAKE2b-256 |
e8ffbf93df6d8856313bc7d1852c733508f4cf45091a6c6bc4dffc6046241c19
|