Skip to main content

PyAiNetwork

PyAiNetork - this is a lightweight library to create small to medium-sized LM's.


Main functions

  • Creating neural networks
  • neural network training
  • learning and counting through numpy tables

Installation

pip install PyAiNetwork

examples of use normal

from PyAiNetwork import Network

net = Network(
    4, #input 
    1, #layers
    1, #neorons on layer
    4 #output
    'gelu' #activition function
)

input = [0.2,0.4,0.6,0.8]

output = net.forward(input)
print(output)

for i in range(1000):
    net.train(
        input, #input
        input, #output
        0.01 #learing rate
    )

output = net.forward(input)
print(output)

examples of use profi

from PyAiNetwork import ProfNetwork

layers_neorons = [1]

net = ProfNetwork(
    4, #input 
    layers_neorons, #layers
    4, #output
    'gelu', #activition function
    'matrix' # math type (or every)
)

input = [0.2,0.4,0.6,0.8]

output = net.forward(input)
print(output)

for i in range(1000):
    net.train(
        input, #input
        input, #output
        0.01 #learing rate
    )

output = net.forward(input)
print(output)

net.save("save.json") #json file name

net2 = ProfNetwork(
    4, #input 
    layers_neorons, #layers
    4, #output
    'gelu', #activition function
    'matrix' # math type (or every)
)

net2.load("save.json") #json file name

output = net2.forward(input)
print(output)

GitHub

https://github.com/eyes-studio/PyAiNetwork


Metadata

Release files for PyAiNetwork 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyAiNetwork 0.3.1
File Size Uploaded Provenance Actions
pyainetwork-0.3.1.tar.gz 2.6 kB Without provenance Details for pyainetwork-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyAiNetwork 0.3.1
File Interpreter ABI Platform Actions
pyainetwork-0.3.1-py3-none-any.whl Python 3 none any Details for pyainetwork-0.3.1-py3-none-any.whl

Total release size: 5.2 kB

Release files / pyainetwork-0.3.1.tar.gz

Download URL pyainetwork-0.3.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1db0e945601c3cc9698c69eaa04a9b438040692cf467ff7086c15083c1e0da90
BLAKE2b-256 checksum
How to use checksums
b52d3366c6e79c560876d6795aba6776d71f56d6037b0340f57d6657860dc5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / pyainetwork-0.3.1-py3-none-any.whl

Download URL pyainetwork-0.3.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
489f1a435aaf95d422f09c8506347a31d192e7d3f8503fce05e62869938cc8df
BLAKE2b-256 checksum
How to use checksums
bd85a9b3d5bb2049dd82bbbb0d661493fddf9a26891bc4b37492d28cbc279d7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for PyAiNetwork 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page