PyAiNetwork 0.0.2__tar.gz → 0.1.0__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.1.0/PKG-INFO +241 -0
- pyainetwork-0.1.0/PyAiNetwork/PyAiNetwork.egg-info/PKG-INFO +241 -0
- pyainetwork-0.1.0/README.md +230 -0
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/pyproject.toml +2 -2
- pyainetwork-0.0.2/PKG-INFO +0 -45
- pyainetwork-0.0.2/PyAiNetwork/PyAiNetwork.egg-info/PKG-INFO +0 -45
- pyainetwork-0.0.2/README.md +0 -34
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/LICENSE +0 -0
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/PyAiNetwork/PyAiNetwork.egg-info/SOURCES.txt +0 -0
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/PyAiNetwork/PyAiNetwork.egg-info/dependency_links.txt +0 -0
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/PyAiNetwork/PyAiNetwork.egg-info/top_level.txt +0 -0
- {pyainetwork-0.0.2 → pyainetwork-0.1.0}/setup.cfg +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyAiNetwork
|
|
3
|
+
Version: 0.1.0
|
|
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
|
+
Dynamic: license-file
|
|
11
|
+
|
|
12
|
+
# PyAiNetwork
|
|
13
|
+
|
|
14
|
+
PyAiNetwork is an open-source Python library for creating and training neural networks with simple and beginner-friendly code.
|
|
15
|
+
|
|
16
|
+
Install:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install PyAiNetwork
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# About
|
|
25
|
+
|
|
26
|
+
PyAiNetwork is designed to make neural network development simple.
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
The library is suitable for:
|
|
31
|
+
|
|
32
|
+
- Learning how neural networks work
|
|
33
|
+
- Creating simple AI projects
|
|
34
|
+
- Experimenting with custom network architectures
|
|
35
|
+
- Building your own AI systems
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# Developers
|
|
40
|
+
|
|
41
|
+
**Eyes Studio**
|
|
42
|
+
|
|
43
|
+
Eyes Studio is an independent software developer focused on AI tools and open-source projects.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# Features
|
|
48
|
+
|
|
49
|
+
- ✅ Simple neural network API
|
|
50
|
+
- ✅ Multiple hidden layers
|
|
51
|
+
- ✅ GELU activation
|
|
52
|
+
- ✅ ReLU activation
|
|
53
|
+
- ✅ Sigmoid activation
|
|
54
|
+
- ✅ Built-in training
|
|
55
|
+
- ✅ Lightweight implementation
|
|
56
|
+
- ✅ Pure Python
|
|
57
|
+
- ✅ Open Source
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
# Installation
|
|
62
|
+
|
|
63
|
+
Install from PyPI:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
pip install PyAiNetwork
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Import:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from PyAiNetwork import Network
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
# Quick Start
|
|
78
|
+
|
|
79
|
+
Create your first neural network.
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from PyAiNetwork import Network
|
|
83
|
+
|
|
84
|
+
net = Network(
|
|
85
|
+
2, # input neurons
|
|
86
|
+
2, # hidden layers
|
|
87
|
+
4, # neurons in every hidden layer
|
|
88
|
+
1 # output neurons
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
result = net.forward([0.5, 1.0])
|
|
92
|
+
|
|
93
|
+
print(result)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
# Training
|
|
99
|
+
|
|
100
|
+
Example:
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
from PyAiNetwork import Network
|
|
104
|
+
|
|
105
|
+
net = Network(2,1,4,1)
|
|
106
|
+
|
|
107
|
+
for i in range(100):
|
|
108
|
+
net.train(
|
|
109
|
+
[1,0],
|
|
110
|
+
[1]
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
print(net.forward([1,0]))
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
# Activation Functions
|
|
119
|
+
|
|
120
|
+
PyAiNetwork currently supports:
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
activition="gelu"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
activition="relu"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
activition="sigmoid"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Example:
|
|
135
|
+
|
|
136
|
+
```python
|
|
137
|
+
net = Network(
|
|
138
|
+
2,
|
|
139
|
+
2,
|
|
140
|
+
8,
|
|
141
|
+
1,
|
|
142
|
+
activition="relu"
|
|
143
|
+
)
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
# Network
|
|
149
|
+
|
|
150
|
+
Simple neural network.
|
|
151
|
+
|
|
152
|
+
Constructor:
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
Network(
|
|
156
|
+
input_neorons,
|
|
157
|
+
layers,
|
|
158
|
+
neorons_on_layer,
|
|
159
|
+
output_neorons,
|
|
160
|
+
activition="gelu"
|
|
161
|
+
)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Parameters:
|
|
165
|
+
|
|
166
|
+
| Parameter | Description |
|
|
167
|
+
|-----------|-------------|
|
|
168
|
+
| input_neorons | Number of input neurons |
|
|
169
|
+
| layers | Number of hidden layers |
|
|
170
|
+
| neorons_on_layer | Neurons in every hidden layer |
|
|
171
|
+
| output_neorons | Number of output neurons |
|
|
172
|
+
| activition | Activation function |
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
# ProfNetwork
|
|
177
|
+
|
|
178
|
+
Advanced neural network.
|
|
179
|
+
|
|
180
|
+
Unlike `Network`, every hidden layer can have a different number of neurons.
|
|
181
|
+
|
|
182
|
+
Example:
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
from PyAiNetwork import ProfNetwork
|
|
186
|
+
|
|
187
|
+
net = ProfNetwork(
|
|
188
|
+
2,
|
|
189
|
+
[8,16,8],
|
|
190
|
+
1
|
|
191
|
+
)
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Architecture:
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
2 → 8 → 16 → 8 → 1
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Constructor:
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
ProfNetwork(
|
|
204
|
+
input_neorons,
|
|
205
|
+
layers_neorons,
|
|
206
|
+
output_neorons,
|
|
207
|
+
activition="gelu"
|
|
208
|
+
)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Example:
|
|
212
|
+
|
|
213
|
+
```python
|
|
214
|
+
net = ProfNetwork(
|
|
215
|
+
3,
|
|
216
|
+
[32,64,64,32],
|
|
217
|
+
5
|
|
218
|
+
)
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
# Roadmap
|
|
224
|
+
|
|
225
|
+
Future versions may include:
|
|
226
|
+
|
|
227
|
+
- Adam optimizer
|
|
228
|
+
- Model saving/loading
|
|
229
|
+
- Batch training
|
|
230
|
+
- More activation functions
|
|
231
|
+
- Loss functions
|
|
232
|
+
- Better performance
|
|
233
|
+
- More neural network types
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
# License
|
|
238
|
+
|
|
239
|
+
MIT License
|
|
240
|
+
|
|
241
|
+
Copyright (c) 2026 Eyes Studio
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: PyAiNetwork
|
|
3
|
+
Version: 0.1.0
|
|
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
|
+
Dynamic: license-file
|
|
11
|
+
|
|
12
|
+
# PyAiNetwork
|
|
13
|
+
|
|
14
|
+
PyAiNetwork is an open-source Python library for creating and training neural networks with simple and beginner-friendly code.
|
|
15
|
+
|
|
16
|
+
Install:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
pip install PyAiNetwork
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
# About
|
|
25
|
+
|
|
26
|
+
PyAiNetwork is designed to make neural network development simple.
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
The library is suitable for:
|
|
31
|
+
|
|
32
|
+
- Learning how neural networks work
|
|
33
|
+
- Creating simple AI projects
|
|
34
|
+
- Experimenting with custom network architectures
|
|
35
|
+
- Building your own AI systems
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
# Developers
|
|
40
|
+
|
|
41
|
+
**Eyes Studio**
|
|
42
|
+
|
|
43
|
+
Eyes Studio is an independent software developer focused on AI tools and open-source projects.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# Features
|
|
48
|
+
|
|
49
|
+
- ✅ Simple neural network API
|
|
50
|
+
- ✅ Multiple hidden layers
|
|
51
|
+
- ✅ GELU activation
|
|
52
|
+
- ✅ ReLU activation
|
|
53
|
+
- ✅ Sigmoid activation
|
|
54
|
+
- ✅ Built-in training
|
|
55
|
+
- ✅ Lightweight implementation
|
|
56
|
+
- ✅ Pure Python
|
|
57
|
+
- ✅ Open Source
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
# Installation
|
|
62
|
+
|
|
63
|
+
Install from PyPI:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
pip install PyAiNetwork
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Import:
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from PyAiNetwork import Network
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
# Quick Start
|
|
78
|
+
|
|
79
|
+
Create your first neural network.
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from PyAiNetwork import Network
|
|
83
|
+
|
|
84
|
+
net = Network(
|
|
85
|
+
2, # input neurons
|
|
86
|
+
2, # hidden layers
|
|
87
|
+
4, # neurons in every hidden layer
|
|
88
|
+
1 # output neurons
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
result = net.forward([0.5, 1.0])
|
|
92
|
+
|
|
93
|
+
print(result)
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
# Training
|
|
99
|
+
|
|
100
|
+
Example:
|
|
101
|
+
|
|
102
|
+
```python
|
|
103
|
+
from PyAiNetwork import Network
|
|
104
|
+
|
|
105
|
+
net = Network(2,1,4,1)
|
|
106
|
+
|
|
107
|
+
for i in range(100):
|
|
108
|
+
net.train(
|
|
109
|
+
[1,0],
|
|
110
|
+
[1]
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
print(net.forward([1,0]))
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
# Activation Functions
|
|
119
|
+
|
|
120
|
+
PyAiNetwork currently supports:
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
activition="gelu"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
activition="relu"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
```python
|
|
131
|
+
activition="sigmoid"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Example:
|
|
135
|
+
|
|
136
|
+
```python
|
|
137
|
+
net = Network(
|
|
138
|
+
2,
|
|
139
|
+
2,
|
|
140
|
+
8,
|
|
141
|
+
1,
|
|
142
|
+
activition="relu"
|
|
143
|
+
)
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
# Network
|
|
149
|
+
|
|
150
|
+
Simple neural network.
|
|
151
|
+
|
|
152
|
+
Constructor:
|
|
153
|
+
|
|
154
|
+
```python
|
|
155
|
+
Network(
|
|
156
|
+
input_neorons,
|
|
157
|
+
layers,
|
|
158
|
+
neorons_on_layer,
|
|
159
|
+
output_neorons,
|
|
160
|
+
activition="gelu"
|
|
161
|
+
)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
Parameters:
|
|
165
|
+
|
|
166
|
+
| Parameter | Description |
|
|
167
|
+
|-----------|-------------|
|
|
168
|
+
| input_neorons | Number of input neurons |
|
|
169
|
+
| layers | Number of hidden layers |
|
|
170
|
+
| neorons_on_layer | Neurons in every hidden layer |
|
|
171
|
+
| output_neorons | Number of output neurons |
|
|
172
|
+
| activition | Activation function |
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
# ProfNetwork
|
|
177
|
+
|
|
178
|
+
Advanced neural network.
|
|
179
|
+
|
|
180
|
+
Unlike `Network`, every hidden layer can have a different number of neurons.
|
|
181
|
+
|
|
182
|
+
Example:
|
|
183
|
+
|
|
184
|
+
```python
|
|
185
|
+
from PyAiNetwork import ProfNetwork
|
|
186
|
+
|
|
187
|
+
net = ProfNetwork(
|
|
188
|
+
2,
|
|
189
|
+
[8,16,8],
|
|
190
|
+
1
|
|
191
|
+
)
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Architecture:
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
2 → 8 → 16 → 8 → 1
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
Constructor:
|
|
201
|
+
|
|
202
|
+
```python
|
|
203
|
+
ProfNetwork(
|
|
204
|
+
input_neorons,
|
|
205
|
+
layers_neorons,
|
|
206
|
+
output_neorons,
|
|
207
|
+
activition="gelu"
|
|
208
|
+
)
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Example:
|
|
212
|
+
|
|
213
|
+
```python
|
|
214
|
+
net = ProfNetwork(
|
|
215
|
+
3,
|
|
216
|
+
[32,64,64,32],
|
|
217
|
+
5
|
|
218
|
+
)
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
# Roadmap
|
|
224
|
+
|
|
225
|
+
Future versions may include:
|
|
226
|
+
|
|
227
|
+
- Adam optimizer
|
|
228
|
+
- Model saving/loading
|
|
229
|
+
- Batch training
|
|
230
|
+
- More activation functions
|
|
231
|
+
- Loss functions
|
|
232
|
+
- Better performance
|
|
233
|
+
- More neural network types
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
# License
|
|
238
|
+
|
|
239
|
+
MIT License
|
|
240
|
+
|
|
241
|
+
Copyright (c) 2026 Eyes Studio
|
|
@@ -0,0 +1,230 @@
|
|
|
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
|
|
@@ -5,10 +5,10 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "PyAiNetwork"
|
|
8
|
-
version = "0.0
|
|
8
|
+
version = "0.1.0"
|
|
9
9
|
description = "A simple Python library for creating neural networks"
|
|
10
10
|
readme = "README.md"
|
|
11
|
-
requires-python = ">=3.
|
|
11
|
+
requires-python = ">=3.8"
|
|
12
12
|
license = {text = "MIT"}
|
|
13
13
|
|
|
14
14
|
authors = [
|
pyainetwork-0.0.2/PKG-INFO
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: PyAiNetwork
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: A simple Python library for creating neural networks
|
|
5
|
-
Author: eyes-studio
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: >=3.12
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Dynamic: license-file
|
|
11
|
-
|
|
12
|
-
# PyAi
|
|
13
|
-
|
|
14
|
-
PyAi is a Python library for creating AI systems and neural networks using simple commands.
|
|
15
|
-
|
|
16
|
-
## About
|
|
17
|
-
|
|
18
|
-
PyAi is a library designed to make AI development easier and more accessible. It allows users to create, train, and experiment with neural networks without writing complex code.
|
|
19
|
-
|
|
20
|
-
With PyAi, you can build everything from small AI models to large-scale LLMs. The library provides simple tools for creating neural networks, processing data, and training AI models.
|
|
21
|
-
|
|
22
|
-
## Developers
|
|
23
|
-
|
|
24
|
-
***Eyes Studio***
|
|
25
|
-
|
|
26
|
-
Eyes Studio is an independent, unofficial company with a small team of developers focused on creating AI tools and open-source projects.
|
|
27
|
-
|
|
28
|
-
## Features
|
|
29
|
-
|
|
30
|
-
- Create neural networks with just a few commands
|
|
31
|
-
- Fast and simple tokenizer for AI models
|
|
32
|
-
- Train neural networks on custom information
|
|
33
|
-
- Build and experiment with different AI architectures
|
|
34
|
-
- Easy-to-use tools for AI development
|
|
35
|
-
|
|
36
|
-
## example of ai
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
from PyAi import Network
|
|
40
|
-
|
|
41
|
-
Net = Network(2,1,1,2)#input neoron,layers,neoron on 1 layer,output neoron
|
|
42
|
-
test_list=[1,2]
|
|
43
|
-
answer = Net.forward(test_list)
|
|
44
|
-
|
|
45
|
-
print(answer)
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: PyAiNetwork
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: A simple Python library for creating neural networks
|
|
5
|
-
Author: eyes-studio
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: >=3.12
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Dynamic: license-file
|
|
11
|
-
|
|
12
|
-
# PyAi
|
|
13
|
-
|
|
14
|
-
PyAi is a Python library for creating AI systems and neural networks using simple commands.
|
|
15
|
-
|
|
16
|
-
## About
|
|
17
|
-
|
|
18
|
-
PyAi is a library designed to make AI development easier and more accessible. It allows users to create, train, and experiment with neural networks without writing complex code.
|
|
19
|
-
|
|
20
|
-
With PyAi, you can build everything from small AI models to large-scale LLMs. The library provides simple tools for creating neural networks, processing data, and training AI models.
|
|
21
|
-
|
|
22
|
-
## Developers
|
|
23
|
-
|
|
24
|
-
***Eyes Studio***
|
|
25
|
-
|
|
26
|
-
Eyes Studio is an independent, unofficial company with a small team of developers focused on creating AI tools and open-source projects.
|
|
27
|
-
|
|
28
|
-
## Features
|
|
29
|
-
|
|
30
|
-
- Create neural networks with just a few commands
|
|
31
|
-
- Fast and simple tokenizer for AI models
|
|
32
|
-
- Train neural networks on custom information
|
|
33
|
-
- Build and experiment with different AI architectures
|
|
34
|
-
- Easy-to-use tools for AI development
|
|
35
|
-
|
|
36
|
-
## example of ai
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
from PyAi import Network
|
|
40
|
-
|
|
41
|
-
Net = Network(2,1,1,2)#input neoron,layers,neoron on 1 layer,output neoron
|
|
42
|
-
test_list=[1,2]
|
|
43
|
-
answer = Net.forward(test_list)
|
|
44
|
-
|
|
45
|
-
print(answer)
|
pyainetwork-0.0.2/README.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# PyAi
|
|
2
|
-
|
|
3
|
-
PyAi is a Python library for creating AI systems and neural networks using simple commands.
|
|
4
|
-
|
|
5
|
-
## About
|
|
6
|
-
|
|
7
|
-
PyAi is a library designed to make AI development easier and more accessible. It allows users to create, train, and experiment with neural networks without writing complex code.
|
|
8
|
-
|
|
9
|
-
With PyAi, you can build everything from small AI models to large-scale LLMs. The library provides simple tools for creating neural networks, processing data, and training AI models.
|
|
10
|
-
|
|
11
|
-
## Developers
|
|
12
|
-
|
|
13
|
-
***Eyes Studio***
|
|
14
|
-
|
|
15
|
-
Eyes Studio is an independent, unofficial company with a small team of developers focused on creating AI tools and open-source projects.
|
|
16
|
-
|
|
17
|
-
## Features
|
|
18
|
-
|
|
19
|
-
- Create neural networks with just a few commands
|
|
20
|
-
- Fast and simple tokenizer for AI models
|
|
21
|
-
- Train neural networks on custom information
|
|
22
|
-
- Build and experiment with different AI architectures
|
|
23
|
-
- Easy-to-use tools for AI development
|
|
24
|
-
|
|
25
|
-
## example of ai
|
|
26
|
-
|
|
27
|
-
```bash
|
|
28
|
-
from PyAi import Network
|
|
29
|
-
|
|
30
|
-
Net = Network(2,1,1,2)#input neoron,layers,neoron on 1 layer,output neoron
|
|
31
|
-
test_list=[1,2]
|
|
32
|
-
answer = Net.forward(test_list)
|
|
33
|
-
|
|
34
|
-
print(answer)
|
|
File without changes
|
|
File without changes
|
{pyainetwork-0.0.2 → pyainetwork-0.1.0}/PyAiNetwork/PyAiNetwork.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|