PyAiNetwork 0.2.1__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyainetwork-0.2.3/PKG-INFO +96 -0
- pyainetwork-0.2.3/PyAiNetwork/PyAiNetwork.egg-info/PKG-INFO +96 -0
- pyainetwork-0.2.3/README.md +84 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/pyproject.toml +1 -1
- pyainetwork-0.2.1/PKG-INFO +0 -246
- pyainetwork-0.2.1/PyAiNetwork/PyAiNetwork.egg-info/PKG-INFO +0 -246
- pyainetwork-0.2.1/README.md +0 -234
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/LICENSE +0 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/PyAiNetwork/PyAiNetwork.egg-info/SOURCES.txt +0 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/PyAiNetwork/PyAiNetwork.egg-info/dependency_links.txt +0 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/PyAiNetwork/PyAiNetwork.egg-info/requires.txt +0 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/PyAiNetwork/PyAiNetwork.egg-info/top_level.txt +0 -0
- {pyainetwork-0.2.1 → pyainetwork-0.2.3}/setup.cfg +0 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyAiNetwork
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Summary: A simple Python library for creating neural networks
|
|
5
|
+
Author: eyes-studio
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
|
|
13
|
+
# PyAiNetwork
|
|
14
|
+
|
|
15
|
+
PyAiNetork - this is a lightweight library to create small to medium-sized LM's.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Main functions
|
|
20
|
+
|
|
21
|
+
- Creating neural networks
|
|
22
|
+
- neural network training
|
|
23
|
+
- learning and counting through numpy tables
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install PyAiNetwork
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## examples of use normal
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
from PyAiNetwork import Network
|
|
37
|
+
|
|
38
|
+
net = Network(
|
|
39
|
+
4, #input
|
|
40
|
+
1, #layers
|
|
41
|
+
1, #neorons on layer
|
|
42
|
+
4 #output
|
|
43
|
+
'gelu' #activition function
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
input = [0.2,0.4,0.6,0.8]
|
|
47
|
+
|
|
48
|
+
output = net.forward(input)
|
|
49
|
+
print(output)
|
|
50
|
+
|
|
51
|
+
for i in range(1000):
|
|
52
|
+
net.train(
|
|
53
|
+
input, #input
|
|
54
|
+
input, #output
|
|
55
|
+
0.01 #learing rate
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
output = net.forward(input)
|
|
59
|
+
print(output)
|
|
60
|
+
```
|
|
61
|
+
## examples of use profi
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
from PyAiNetwork import ProfNetwork
|
|
65
|
+
|
|
66
|
+
layers_neorons = [1]
|
|
67
|
+
|
|
68
|
+
net = ProfNetwork(
|
|
69
|
+
4, #input
|
|
70
|
+
layers_neorons, #layers
|
|
71
|
+
4 #output
|
|
72
|
+
'gelu' #activition function
|
|
73
|
+
'matrix' # math type (or every)
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
input = [0.2,0.4,0.6,0.8]
|
|
77
|
+
|
|
78
|
+
output = net.forward(input)
|
|
79
|
+
print(output)
|
|
80
|
+
|
|
81
|
+
for i in range(1000):
|
|
82
|
+
net.train(
|
|
83
|
+
input, #input
|
|
84
|
+
input, #output
|
|
85
|
+
0.01 #learing rate
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
output = net.forward(input)
|
|
89
|
+
print(output)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
# GitHub
|
|
93
|
+
|
|
94
|
+
https://github.com/eyes-studio/PyAiNetwork
|
|
95
|
+
|
|
96
|
+
---
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyAiNetwork
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Summary: A simple Python library for creating neural networks
|
|
5
|
+
Author: eyes-studio
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: numpy
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
|
|
13
|
+
# PyAiNetwork
|
|
14
|
+
|
|
15
|
+
PyAiNetork - this is a lightweight library to create small to medium-sized LM's.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Main functions
|
|
20
|
+
|
|
21
|
+
- Creating neural networks
|
|
22
|
+
- neural network training
|
|
23
|
+
- learning and counting through numpy tables
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install PyAiNetwork
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## examples of use normal
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
from PyAiNetwork import Network
|
|
37
|
+
|
|
38
|
+
net = Network(
|
|
39
|
+
4, #input
|
|
40
|
+
1, #layers
|
|
41
|
+
1, #neorons on layer
|
|
42
|
+
4 #output
|
|
43
|
+
'gelu' #activition function
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
input = [0.2,0.4,0.6,0.8]
|
|
47
|
+
|
|
48
|
+
output = net.forward(input)
|
|
49
|
+
print(output)
|
|
50
|
+
|
|
51
|
+
for i in range(1000):
|
|
52
|
+
net.train(
|
|
53
|
+
input, #input
|
|
54
|
+
input, #output
|
|
55
|
+
0.01 #learing rate
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
output = net.forward(input)
|
|
59
|
+
print(output)
|
|
60
|
+
```
|
|
61
|
+
## examples of use profi
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
from PyAiNetwork import ProfNetwork
|
|
65
|
+
|
|
66
|
+
layers_neorons = [1]
|
|
67
|
+
|
|
68
|
+
net = ProfNetwork(
|
|
69
|
+
4, #input
|
|
70
|
+
layers_neorons, #layers
|
|
71
|
+
4 #output
|
|
72
|
+
'gelu' #activition function
|
|
73
|
+
'matrix' # math type (or every)
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
input = [0.2,0.4,0.6,0.8]
|
|
77
|
+
|
|
78
|
+
output = net.forward(input)
|
|
79
|
+
print(output)
|
|
80
|
+
|
|
81
|
+
for i in range(1000):
|
|
82
|
+
net.train(
|
|
83
|
+
input, #input
|
|
84
|
+
input, #output
|
|
85
|
+
0.01 #learing rate
|
|
86
|
+
)
|
|
87
|
+
|
|
88
|
+
output = net.forward(input)
|
|
89
|
+
print(output)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
# GitHub
|
|
93
|
+
|
|
94
|
+
https://github.com/eyes-studio/PyAiNetwork
|
|
95
|
+
|
|
96
|
+
---
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# PyAiNetwork
|
|
2
|
+
|
|
3
|
+
PyAiNetork - this is a lightweight library to create small to medium-sized LM's.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Main functions
|
|
8
|
+
|
|
9
|
+
- Creating neural networks
|
|
10
|
+
- neural network training
|
|
11
|
+
- learning and counting through numpy tables
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pip install PyAiNetwork
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## examples of use normal
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
from PyAiNetwork import Network
|
|
25
|
+
|
|
26
|
+
net = Network(
|
|
27
|
+
4, #input
|
|
28
|
+
1, #layers
|
|
29
|
+
1, #neorons on layer
|
|
30
|
+
4 #output
|
|
31
|
+
'gelu' #activition function
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
input = [0.2,0.4,0.6,0.8]
|
|
35
|
+
|
|
36
|
+
output = net.forward(input)
|
|
37
|
+
print(output)
|
|
38
|
+
|
|
39
|
+
for i in range(1000):
|
|
40
|
+
net.train(
|
|
41
|
+
input, #input
|
|
42
|
+
input, #output
|
|
43
|
+
0.01 #learing rate
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
output = net.forward(input)
|
|
47
|
+
print(output)
|
|
48
|
+
```
|
|
49
|
+
## examples of use profi
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
from PyAiNetwork import ProfNetwork
|
|
53
|
+
|
|
54
|
+
layers_neorons = [1]
|
|
55
|
+
|
|
56
|
+
net = ProfNetwork(
|
|
57
|
+
4, #input
|
|
58
|
+
layers_neorons, #layers
|
|
59
|
+
4 #output
|
|
60
|
+
'gelu' #activition function
|
|
61
|
+
'matrix' # math type (or every)
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
input = [0.2,0.4,0.6,0.8]
|
|
65
|
+
|
|
66
|
+
output = net.forward(input)
|
|
67
|
+
print(output)
|
|
68
|
+
|
|
69
|
+
for i in range(1000):
|
|
70
|
+
net.train(
|
|
71
|
+
input, #input
|
|
72
|
+
input, #output
|
|
73
|
+
0.01 #learing rate
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
output = net.forward(input)
|
|
77
|
+
print(output)
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
# GitHub
|
|
81
|
+
|
|
82
|
+
https://github.com/eyes-studio/PyAiNetwork
|
|
83
|
+
|
|
84
|
+
---
|
pyainetwork-0.2.1/PKG-INFO
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: PyAiNetwork
|
|
3
|
-
Version: 0.2.1
|
|
4
|
-
Summary: A simple Python library for creating neural networks
|
|
5
|
-
Author: eyes-studio
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: >=3.8
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Requires-Dist: numpy
|
|
11
|
-
Dynamic: license-file
|
|
12
|
-
|
|
13
|
-
# PyAiNetwork
|
|
14
|
-
|
|
15
|
-
PyAiNetwork is an open-source Python library for creating and training neural networks with simple and beginner-friendly code.
|
|
16
|
-
|
|
17
|
-
Install:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
pip install PyAiNetwork
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
# About
|
|
26
|
-
|
|
27
|
-
PyAiNetwork is designed to make neural network development simple.
|
|
28
|
-
|
|
29
|
-
Instead of writing hundreds of lines of code for neurons, layers, weights, and training, you can create a neural network with just a few commands.
|
|
30
|
-
|
|
31
|
-
The library is suitable for:
|
|
32
|
-
|
|
33
|
-
- Learning how neural networks work
|
|
34
|
-
- Creating simple AI projects
|
|
35
|
-
- Experimenting with custom network architectures
|
|
36
|
-
- Building your own AI systems
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
# Developers
|
|
41
|
-
|
|
42
|
-
**Eyes Studio**
|
|
43
|
-
|
|
44
|
-
Eyes Studio is an independent software developer focused on AI tools and open-source projects.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
# Features
|
|
49
|
-
|
|
50
|
-
- ✅ Simple neural network API
|
|
51
|
-
- ✅ Multiple hidden layers
|
|
52
|
-
- ✅ GELU activation
|
|
53
|
-
- ✅ ReLU activation
|
|
54
|
-
- ✅ Sigmoid activation
|
|
55
|
-
- ✅ Built-in training
|
|
56
|
-
- ✅ Lightweight implementation
|
|
57
|
-
- ✅ Pure Python
|
|
58
|
-
- ✅ Open Source
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
# Installation
|
|
63
|
-
|
|
64
|
-
Install from PyPI:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
pip install PyAiNetwork
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Import:
|
|
71
|
-
|
|
72
|
-
```python
|
|
73
|
-
from PyAiNetwork import Network
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
# Quick Start
|
|
79
|
-
|
|
80
|
-
Create your first neural network.
|
|
81
|
-
|
|
82
|
-
```python
|
|
83
|
-
from PyAiNetwork import Network
|
|
84
|
-
|
|
85
|
-
net = Network(
|
|
86
|
-
2, # input neurons
|
|
87
|
-
2, # hidden layers
|
|
88
|
-
4, # neurons in every hidden layer
|
|
89
|
-
1 # output neurons
|
|
90
|
-
)
|
|
91
|
-
|
|
92
|
-
result = net.forward([0.5, 1.0])
|
|
93
|
-
|
|
94
|
-
print(result)
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
# Training
|
|
100
|
-
|
|
101
|
-
Example:
|
|
102
|
-
|
|
103
|
-
```python
|
|
104
|
-
from PyAiNetwork import Network
|
|
105
|
-
|
|
106
|
-
net = Network(2,1,4,1)
|
|
107
|
-
|
|
108
|
-
for i in range(100):
|
|
109
|
-
net.train(
|
|
110
|
-
[1,0],
|
|
111
|
-
[1]
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
print(net.forward([1,0]))
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
# Activation Functions
|
|
120
|
-
|
|
121
|
-
PyAiNetwork currently supports:
|
|
122
|
-
|
|
123
|
-
```python
|
|
124
|
-
activition="gelu"
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
```python
|
|
128
|
-
activition="relu"
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
```python
|
|
132
|
-
activition="sigmoid"
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Example:
|
|
136
|
-
|
|
137
|
-
```python
|
|
138
|
-
net = Network(
|
|
139
|
-
2,
|
|
140
|
-
2,
|
|
141
|
-
8,
|
|
142
|
-
1,
|
|
143
|
-
activition="relu"
|
|
144
|
-
)
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
# Network
|
|
150
|
-
|
|
151
|
-
Simple neural network.
|
|
152
|
-
|
|
153
|
-
Constructor:
|
|
154
|
-
|
|
155
|
-
```python
|
|
156
|
-
Network(
|
|
157
|
-
input_neorons,
|
|
158
|
-
layers,
|
|
159
|
-
neorons_on_layer,
|
|
160
|
-
output_neorons,
|
|
161
|
-
activition="gelu"
|
|
162
|
-
)
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Parameters:
|
|
166
|
-
|
|
167
|
-
| Parameter | Description |
|
|
168
|
-
|-----------|-------------|
|
|
169
|
-
| input_neorons | Number of input neurons |
|
|
170
|
-
| layers | Number of hidden layers |
|
|
171
|
-
| neorons_on_layer | Neurons in every hidden layer |
|
|
172
|
-
| output_neorons | Number of output neurons |
|
|
173
|
-
| activition | Activation function |
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
# ProfNetwork
|
|
178
|
-
|
|
179
|
-
Advanced neural network.
|
|
180
|
-
|
|
181
|
-
Unlike `Network`, every hidden layer can have a different number of neurons.
|
|
182
|
-
|
|
183
|
-
Example:
|
|
184
|
-
|
|
185
|
-
```python
|
|
186
|
-
from PyAiNetwork import ProfNetwork
|
|
187
|
-
|
|
188
|
-
net = ProfNetwork(
|
|
189
|
-
2,
|
|
190
|
-
[8,16,8],
|
|
191
|
-
1
|
|
192
|
-
)
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
Architecture:
|
|
196
|
-
|
|
197
|
-
```
|
|
198
|
-
2 → 8 → 16 → 8 → 1
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
Constructor:
|
|
202
|
-
|
|
203
|
-
```python
|
|
204
|
-
ProfNetwork(
|
|
205
|
-
input_neorons,
|
|
206
|
-
layers_neorons,
|
|
207
|
-
output_neorons,
|
|
208
|
-
activition="gelu"
|
|
209
|
-
)
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
Example:
|
|
213
|
-
|
|
214
|
-
```python
|
|
215
|
-
net = ProfNetwork(
|
|
216
|
-
3,
|
|
217
|
-
[32,64,64,32],
|
|
218
|
-
5
|
|
219
|
-
)
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
# Roadmap
|
|
225
|
-
|
|
226
|
-
Future versions may include:
|
|
227
|
-
|
|
228
|
-
- Adam optimizer
|
|
229
|
-
- Model saving/loading
|
|
230
|
-
- Batch training
|
|
231
|
-
- More activation functions
|
|
232
|
-
- Loss functions
|
|
233
|
-
- Better performance
|
|
234
|
-
- More neural network types
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
# License
|
|
239
|
-
|
|
240
|
-
MIT License
|
|
241
|
-
|
|
242
|
-
Copyright (c) 2026 Eyes Studio
|
|
243
|
-
|
|
244
|
-
# GitHub
|
|
245
|
-
|
|
246
|
-
https://github.com/eyes-studio/PyAiNetwork
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: PyAiNetwork
|
|
3
|
-
Version: 0.2.1
|
|
4
|
-
Summary: A simple Python library for creating neural networks
|
|
5
|
-
Author: eyes-studio
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: >=3.8
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Requires-Dist: numpy
|
|
11
|
-
Dynamic: license-file
|
|
12
|
-
|
|
13
|
-
# PyAiNetwork
|
|
14
|
-
|
|
15
|
-
PyAiNetwork is an open-source Python library for creating and training neural networks with simple and beginner-friendly code.
|
|
16
|
-
|
|
17
|
-
Install:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
pip install PyAiNetwork
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
# About
|
|
26
|
-
|
|
27
|
-
PyAiNetwork is designed to make neural network development simple.
|
|
28
|
-
|
|
29
|
-
Instead of writing hundreds of lines of code for neurons, layers, weights, and training, you can create a neural network with just a few commands.
|
|
30
|
-
|
|
31
|
-
The library is suitable for:
|
|
32
|
-
|
|
33
|
-
- Learning how neural networks work
|
|
34
|
-
- Creating simple AI projects
|
|
35
|
-
- Experimenting with custom network architectures
|
|
36
|
-
- Building your own AI systems
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
# Developers
|
|
41
|
-
|
|
42
|
-
**Eyes Studio**
|
|
43
|
-
|
|
44
|
-
Eyes Studio is an independent software developer focused on AI tools and open-source projects.
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
# Features
|
|
49
|
-
|
|
50
|
-
- ✅ Simple neural network API
|
|
51
|
-
- ✅ Multiple hidden layers
|
|
52
|
-
- ✅ GELU activation
|
|
53
|
-
- ✅ ReLU activation
|
|
54
|
-
- ✅ Sigmoid activation
|
|
55
|
-
- ✅ Built-in training
|
|
56
|
-
- ✅ Lightweight implementation
|
|
57
|
-
- ✅ Pure Python
|
|
58
|
-
- ✅ Open Source
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
# Installation
|
|
63
|
-
|
|
64
|
-
Install from PyPI:
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
pip install PyAiNetwork
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Import:
|
|
71
|
-
|
|
72
|
-
```python
|
|
73
|
-
from PyAiNetwork import Network
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
# Quick Start
|
|
79
|
-
|
|
80
|
-
Create your first neural network.
|
|
81
|
-
|
|
82
|
-
```python
|
|
83
|
-
from PyAiNetwork import Network
|
|
84
|
-
|
|
85
|
-
net = Network(
|
|
86
|
-
2, # input neurons
|
|
87
|
-
2, # hidden layers
|
|
88
|
-
4, # neurons in every hidden layer
|
|
89
|
-
1 # output neurons
|
|
90
|
-
)
|
|
91
|
-
|
|
92
|
-
result = net.forward([0.5, 1.0])
|
|
93
|
-
|
|
94
|
-
print(result)
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
# Training
|
|
100
|
-
|
|
101
|
-
Example:
|
|
102
|
-
|
|
103
|
-
```python
|
|
104
|
-
from PyAiNetwork import Network
|
|
105
|
-
|
|
106
|
-
net = Network(2,1,4,1)
|
|
107
|
-
|
|
108
|
-
for i in range(100):
|
|
109
|
-
net.train(
|
|
110
|
-
[1,0],
|
|
111
|
-
[1]
|
|
112
|
-
)
|
|
113
|
-
|
|
114
|
-
print(net.forward([1,0]))
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
# Activation Functions
|
|
120
|
-
|
|
121
|
-
PyAiNetwork currently supports:
|
|
122
|
-
|
|
123
|
-
```python
|
|
124
|
-
activition="gelu"
|
|
125
|
-
```
|
|
126
|
-
|
|
127
|
-
```python
|
|
128
|
-
activition="relu"
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
```python
|
|
132
|
-
activition="sigmoid"
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Example:
|
|
136
|
-
|
|
137
|
-
```python
|
|
138
|
-
net = Network(
|
|
139
|
-
2,
|
|
140
|
-
2,
|
|
141
|
-
8,
|
|
142
|
-
1,
|
|
143
|
-
activition="relu"
|
|
144
|
-
)
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
# Network
|
|
150
|
-
|
|
151
|
-
Simple neural network.
|
|
152
|
-
|
|
153
|
-
Constructor:
|
|
154
|
-
|
|
155
|
-
```python
|
|
156
|
-
Network(
|
|
157
|
-
input_neorons,
|
|
158
|
-
layers,
|
|
159
|
-
neorons_on_layer,
|
|
160
|
-
output_neorons,
|
|
161
|
-
activition="gelu"
|
|
162
|
-
)
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
Parameters:
|
|
166
|
-
|
|
167
|
-
| Parameter | Description |
|
|
168
|
-
|-----------|-------------|
|
|
169
|
-
| input_neorons | Number of input neurons |
|
|
170
|
-
| layers | Number of hidden layers |
|
|
171
|
-
| neorons_on_layer | Neurons in every hidden layer |
|
|
172
|
-
| output_neorons | Number of output neurons |
|
|
173
|
-
| activition | Activation function |
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
# ProfNetwork
|
|
178
|
-
|
|
179
|
-
Advanced neural network.
|
|
180
|
-
|
|
181
|
-
Unlike `Network`, every hidden layer can have a different number of neurons.
|
|
182
|
-
|
|
183
|
-
Example:
|
|
184
|
-
|
|
185
|
-
```python
|
|
186
|
-
from PyAiNetwork import ProfNetwork
|
|
187
|
-
|
|
188
|
-
net = ProfNetwork(
|
|
189
|
-
2,
|
|
190
|
-
[8,16,8],
|
|
191
|
-
1
|
|
192
|
-
)
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
Architecture:
|
|
196
|
-
|
|
197
|
-
```
|
|
198
|
-
2 → 8 → 16 → 8 → 1
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
Constructor:
|
|
202
|
-
|
|
203
|
-
```python
|
|
204
|
-
ProfNetwork(
|
|
205
|
-
input_neorons,
|
|
206
|
-
layers_neorons,
|
|
207
|
-
output_neorons,
|
|
208
|
-
activition="gelu"
|
|
209
|
-
)
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
Example:
|
|
213
|
-
|
|
214
|
-
```python
|
|
215
|
-
net = ProfNetwork(
|
|
216
|
-
3,
|
|
217
|
-
[32,64,64,32],
|
|
218
|
-
5
|
|
219
|
-
)
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
# Roadmap
|
|
225
|
-
|
|
226
|
-
Future versions may include:
|
|
227
|
-
|
|
228
|
-
- Adam optimizer
|
|
229
|
-
- Model saving/loading
|
|
230
|
-
- Batch training
|
|
231
|
-
- More activation functions
|
|
232
|
-
- Loss functions
|
|
233
|
-
- Better performance
|
|
234
|
-
- More neural network types
|
|
235
|
-
|
|
236
|
-
---
|
|
237
|
-
|
|
238
|
-
# License
|
|
239
|
-
|
|
240
|
-
MIT License
|
|
241
|
-
|
|
242
|
-
Copyright (c) 2026 Eyes Studio
|
|
243
|
-
|
|
244
|
-
# GitHub
|
|
245
|
-
|
|
246
|
-
https://github.com/eyes-studio/PyAiNetwork
|
pyainetwork-0.2.1/README.md
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
# PyAiNetwork
|
|
2
|
-
|
|
3
|
-
PyAiNetwork is an open-source Python library for creating and training neural networks with simple and beginner-friendly code.
|
|
4
|
-
|
|
5
|
-
Install:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
pip install PyAiNetwork
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
# About
|
|
14
|
-
|
|
15
|
-
PyAiNetwork is designed to make neural network development simple.
|
|
16
|
-
|
|
17
|
-
Instead of writing hundreds of lines of code for neurons, layers, weights, and training, you can create a neural network with just a few commands.
|
|
18
|
-
|
|
19
|
-
The library is suitable for:
|
|
20
|
-
|
|
21
|
-
- Learning how neural networks work
|
|
22
|
-
- Creating simple AI projects
|
|
23
|
-
- Experimenting with custom network architectures
|
|
24
|
-
- Building your own AI systems
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
# Developers
|
|
29
|
-
|
|
30
|
-
**Eyes Studio**
|
|
31
|
-
|
|
32
|
-
Eyes Studio is an independent software developer focused on AI tools and open-source projects.
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
# Features
|
|
37
|
-
|
|
38
|
-
- ✅ Simple neural network API
|
|
39
|
-
- ✅ Multiple hidden layers
|
|
40
|
-
- ✅ GELU activation
|
|
41
|
-
- ✅ ReLU activation
|
|
42
|
-
- ✅ Sigmoid activation
|
|
43
|
-
- ✅ Built-in training
|
|
44
|
-
- ✅ Lightweight implementation
|
|
45
|
-
- ✅ Pure Python
|
|
46
|
-
- ✅ Open Source
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
# Installation
|
|
51
|
-
|
|
52
|
-
Install from PyPI:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
pip install PyAiNetwork
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Import:
|
|
59
|
-
|
|
60
|
-
```python
|
|
61
|
-
from PyAiNetwork import Network
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
---
|
|
65
|
-
|
|
66
|
-
# Quick Start
|
|
67
|
-
|
|
68
|
-
Create your first neural network.
|
|
69
|
-
|
|
70
|
-
```python
|
|
71
|
-
from PyAiNetwork import Network
|
|
72
|
-
|
|
73
|
-
net = Network(
|
|
74
|
-
2, # input neurons
|
|
75
|
-
2, # hidden layers
|
|
76
|
-
4, # neurons in every hidden layer
|
|
77
|
-
1 # output neurons
|
|
78
|
-
)
|
|
79
|
-
|
|
80
|
-
result = net.forward([0.5, 1.0])
|
|
81
|
-
|
|
82
|
-
print(result)
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
# Training
|
|
88
|
-
|
|
89
|
-
Example:
|
|
90
|
-
|
|
91
|
-
```python
|
|
92
|
-
from PyAiNetwork import Network
|
|
93
|
-
|
|
94
|
-
net = Network(2,1,4,1)
|
|
95
|
-
|
|
96
|
-
for i in range(100):
|
|
97
|
-
net.train(
|
|
98
|
-
[1,0],
|
|
99
|
-
[1]
|
|
100
|
-
)
|
|
101
|
-
|
|
102
|
-
print(net.forward([1,0]))
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
# Activation Functions
|
|
108
|
-
|
|
109
|
-
PyAiNetwork currently supports:
|
|
110
|
-
|
|
111
|
-
```python
|
|
112
|
-
activition="gelu"
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
```python
|
|
116
|
-
activition="relu"
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
```python
|
|
120
|
-
activition="sigmoid"
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
Example:
|
|
124
|
-
|
|
125
|
-
```python
|
|
126
|
-
net = Network(
|
|
127
|
-
2,
|
|
128
|
-
2,
|
|
129
|
-
8,
|
|
130
|
-
1,
|
|
131
|
-
activition="relu"
|
|
132
|
-
)
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
# Network
|
|
138
|
-
|
|
139
|
-
Simple neural network.
|
|
140
|
-
|
|
141
|
-
Constructor:
|
|
142
|
-
|
|
143
|
-
```python
|
|
144
|
-
Network(
|
|
145
|
-
input_neorons,
|
|
146
|
-
layers,
|
|
147
|
-
neorons_on_layer,
|
|
148
|
-
output_neorons,
|
|
149
|
-
activition="gelu"
|
|
150
|
-
)
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
Parameters:
|
|
154
|
-
|
|
155
|
-
| Parameter | Description |
|
|
156
|
-
|-----------|-------------|
|
|
157
|
-
| input_neorons | Number of input neurons |
|
|
158
|
-
| layers | Number of hidden layers |
|
|
159
|
-
| neorons_on_layer | Neurons in every hidden layer |
|
|
160
|
-
| output_neorons | Number of output neurons |
|
|
161
|
-
| activition | Activation function |
|
|
162
|
-
|
|
163
|
-
---
|
|
164
|
-
|
|
165
|
-
# ProfNetwork
|
|
166
|
-
|
|
167
|
-
Advanced neural network.
|
|
168
|
-
|
|
169
|
-
Unlike `Network`, every hidden layer can have a different number of neurons.
|
|
170
|
-
|
|
171
|
-
Example:
|
|
172
|
-
|
|
173
|
-
```python
|
|
174
|
-
from PyAiNetwork import ProfNetwork
|
|
175
|
-
|
|
176
|
-
net = ProfNetwork(
|
|
177
|
-
2,
|
|
178
|
-
[8,16,8],
|
|
179
|
-
1
|
|
180
|
-
)
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
Architecture:
|
|
184
|
-
|
|
185
|
-
```
|
|
186
|
-
2 → 8 → 16 → 8 → 1
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
Constructor:
|
|
190
|
-
|
|
191
|
-
```python
|
|
192
|
-
ProfNetwork(
|
|
193
|
-
input_neorons,
|
|
194
|
-
layers_neorons,
|
|
195
|
-
output_neorons,
|
|
196
|
-
activition="gelu"
|
|
197
|
-
)
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
Example:
|
|
201
|
-
|
|
202
|
-
```python
|
|
203
|
-
net = ProfNetwork(
|
|
204
|
-
3,
|
|
205
|
-
[32,64,64,32],
|
|
206
|
-
5
|
|
207
|
-
)
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
---
|
|
211
|
-
|
|
212
|
-
# Roadmap
|
|
213
|
-
|
|
214
|
-
Future versions may include:
|
|
215
|
-
|
|
216
|
-
- Adam optimizer
|
|
217
|
-
- Model saving/loading
|
|
218
|
-
- Batch training
|
|
219
|
-
- More activation functions
|
|
220
|
-
- Loss functions
|
|
221
|
-
- Better performance
|
|
222
|
-
- More neural network types
|
|
223
|
-
|
|
224
|
-
---
|
|
225
|
-
|
|
226
|
-
# License
|
|
227
|
-
|
|
228
|
-
MIT License
|
|
229
|
-
|
|
230
|
-
Copyright (c) 2026 Eyes Studio
|
|
231
|
-
|
|
232
|
-
# GitHub
|
|
233
|
-
|
|
234
|
-
https://github.com/eyes-studio/PyAiNetwork
|
|
File without changes
|
|
File without changes
|
{pyainetwork-0.2.1 → pyainetwork-0.2.3}/PyAiNetwork/PyAiNetwork.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|