PyAiNetwork 0.2.1__tar.gz → 0.2.2__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.
@@ -0,0 +1,211 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyAiNetwork
3
+ Version: 0.2.2
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
+ A lightweight, open-source Python library for building and training neural networks with only a few lines of code.
16
+
17
+ > Create AI models without writing hundreds of lines for neurons, layers, and weights.
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ pip install PyAiNetwork
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Features
30
+
31
+ - 🚀 Beginner-friendly API
32
+ - 🧠 Standard `Network`
33
+ - ⚡ Advanced `ProfNetwork`
34
+ - 🔥 GELU activation
35
+ - 🔥 ReLU activation
36
+ - 🔥 Sigmoid activation
37
+ - 📈 Built-in training
38
+ - 🎯 Custom network architectures
39
+ - 🪶 Lightweight & fast
40
+ - 🐍 Pure Python
41
+ - 💚 Open Source
42
+
43
+ ---
44
+
45
+ # Quick Start
46
+
47
+ ```python
48
+ from PyAiNetwork import Network
49
+
50
+ net = Network(
51
+ 2, # Input neurons
52
+ 2, # Hidden layers
53
+ 4, # Neurons per hidden layer
54
+ 1 # Output neurons
55
+ )
56
+
57
+ result = net.forward([0.5, 1.0])
58
+
59
+ print(result)
60
+ ```
61
+
62
+ ---
63
+
64
+ # Training
65
+
66
+ ```python
67
+ from PyAiNetwork import Network
68
+
69
+ net = Network(2, 1, 4, 1)
70
+
71
+ for _ in range(100):
72
+ net.train(
73
+ [1, 0],
74
+ [1]
75
+ )
76
+
77
+ print(net.forward([1, 0]))
78
+ ```
79
+
80
+ ---
81
+
82
+ # Activation Functions
83
+
84
+ PyAiNetwork supports multiple activation functions.
85
+
86
+ ### GELU
87
+
88
+ ```python
89
+ Network(..., activition="gelu")
90
+ ```
91
+
92
+ ### ReLU
93
+
94
+ ```python
95
+ Network(..., activition="relu")
96
+ ```
97
+
98
+ ### Sigmoid
99
+
100
+ ```python
101
+ Network(..., activition="sigmoid")
102
+ ```
103
+
104
+ ---
105
+
106
+ # Network
107
+
108
+ `Network` creates a neural network where every hidden layer contains the same number of neurons.
109
+
110
+ ```python
111
+ Network(
112
+ input_neurons,
113
+ hidden_layers,
114
+ neurons_per_layer,
115
+ output_neurons,
116
+ activition="gelu"
117
+ )
118
+ ```
119
+
120
+ Example
121
+
122
+ ```python
123
+ net = Network(
124
+ 4,
125
+ 3,
126
+ 16,
127
+ 2
128
+ )
129
+ ```
130
+
131
+ Architecture
132
+
133
+ ```
134
+ 4 → 16 → 16 → 16 → 2
135
+ ```
136
+
137
+ ---
138
+
139
+ # ProfNetwork
140
+
141
+ `ProfNetwork` allows every hidden layer to have a different number of neurons.
142
+
143
+ ```python
144
+ from PyAiNetwork import ProfNetwork
145
+
146
+ net = ProfNetwork(
147
+ 2,
148
+ [8, 16, 8],
149
+ 1
150
+ )
151
+ ```
152
+
153
+ Architecture
154
+
155
+ ```
156
+ 2 → 8 → 16 → 8 → 1
157
+ ```
158
+
159
+ Another example
160
+
161
+ ```python
162
+ net = ProfNetwork(
163
+ 3,
164
+ [32, 64, 64, 32],
165
+ 5
166
+ )
167
+ ```
168
+
169
+ ---
170
+
171
+ # Which one should I use?
172
+
173
+ | Class | Best for |
174
+ |--------|----------|
175
+ | Network | Simple projects and learning |
176
+ | ProfNetwork | Custom architectures and larger AI models |
177
+
178
+ ---
179
+
180
+ # Roadmap
181
+
182
+ Planned features for future releases
183
+
184
+ - Adam Optimizer
185
+ - Save / Load models
186
+ - Batch training
187
+ - More activation functions
188
+ - More loss functions
189
+ - Better performance
190
+ - More neural network types
191
+ - GPU support (planned)
192
+
193
+ ---
194
+
195
+ # About Eyes Studio
196
+
197
+ PyAiNetwork is developed by **Eyes Studio**, an independent software developer focused on AI technologies, developer tools, and open-source software.
198
+
199
+ ---
200
+
201
+ # License
202
+
203
+ MIT License
204
+
205
+ Copyright © 2026 Eyes Studio
206
+
207
+ ---
208
+
209
+ # GitHub
210
+
211
+ https://github.com/eyes-studio/PyAiNetwork
@@ -0,0 +1,211 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyAiNetwork
3
+ Version: 0.2.2
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
+ A lightweight, open-source Python library for building and training neural networks with only a few lines of code.
16
+
17
+ > Create AI models without writing hundreds of lines for neurons, layers, and weights.
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ ```bash
24
+ pip install PyAiNetwork
25
+ ```
26
+
27
+ ---
28
+
29
+ ## Features
30
+
31
+ - 🚀 Beginner-friendly API
32
+ - 🧠 Standard `Network`
33
+ - ⚡ Advanced `ProfNetwork`
34
+ - 🔥 GELU activation
35
+ - 🔥 ReLU activation
36
+ - 🔥 Sigmoid activation
37
+ - 📈 Built-in training
38
+ - 🎯 Custom network architectures
39
+ - 🪶 Lightweight & fast
40
+ - 🐍 Pure Python
41
+ - 💚 Open Source
42
+
43
+ ---
44
+
45
+ # Quick Start
46
+
47
+ ```python
48
+ from PyAiNetwork import Network
49
+
50
+ net = Network(
51
+ 2, # Input neurons
52
+ 2, # Hidden layers
53
+ 4, # Neurons per hidden layer
54
+ 1 # Output neurons
55
+ )
56
+
57
+ result = net.forward([0.5, 1.0])
58
+
59
+ print(result)
60
+ ```
61
+
62
+ ---
63
+
64
+ # Training
65
+
66
+ ```python
67
+ from PyAiNetwork import Network
68
+
69
+ net = Network(2, 1, 4, 1)
70
+
71
+ for _ in range(100):
72
+ net.train(
73
+ [1, 0],
74
+ [1]
75
+ )
76
+
77
+ print(net.forward([1, 0]))
78
+ ```
79
+
80
+ ---
81
+
82
+ # Activation Functions
83
+
84
+ PyAiNetwork supports multiple activation functions.
85
+
86
+ ### GELU
87
+
88
+ ```python
89
+ Network(..., activition="gelu")
90
+ ```
91
+
92
+ ### ReLU
93
+
94
+ ```python
95
+ Network(..., activition="relu")
96
+ ```
97
+
98
+ ### Sigmoid
99
+
100
+ ```python
101
+ Network(..., activition="sigmoid")
102
+ ```
103
+
104
+ ---
105
+
106
+ # Network
107
+
108
+ `Network` creates a neural network where every hidden layer contains the same number of neurons.
109
+
110
+ ```python
111
+ Network(
112
+ input_neurons,
113
+ hidden_layers,
114
+ neurons_per_layer,
115
+ output_neurons,
116
+ activition="gelu"
117
+ )
118
+ ```
119
+
120
+ Example
121
+
122
+ ```python
123
+ net = Network(
124
+ 4,
125
+ 3,
126
+ 16,
127
+ 2
128
+ )
129
+ ```
130
+
131
+ Architecture
132
+
133
+ ```
134
+ 4 → 16 → 16 → 16 → 2
135
+ ```
136
+
137
+ ---
138
+
139
+ # ProfNetwork
140
+
141
+ `ProfNetwork` allows every hidden layer to have a different number of neurons.
142
+
143
+ ```python
144
+ from PyAiNetwork import ProfNetwork
145
+
146
+ net = ProfNetwork(
147
+ 2,
148
+ [8, 16, 8],
149
+ 1
150
+ )
151
+ ```
152
+
153
+ Architecture
154
+
155
+ ```
156
+ 2 → 8 → 16 → 8 → 1
157
+ ```
158
+
159
+ Another example
160
+
161
+ ```python
162
+ net = ProfNetwork(
163
+ 3,
164
+ [32, 64, 64, 32],
165
+ 5
166
+ )
167
+ ```
168
+
169
+ ---
170
+
171
+ # Which one should I use?
172
+
173
+ | Class | Best for |
174
+ |--------|----------|
175
+ | Network | Simple projects and learning |
176
+ | ProfNetwork | Custom architectures and larger AI models |
177
+
178
+ ---
179
+
180
+ # Roadmap
181
+
182
+ Planned features for future releases
183
+
184
+ - Adam Optimizer
185
+ - Save / Load models
186
+ - Batch training
187
+ - More activation functions
188
+ - More loss functions
189
+ - Better performance
190
+ - More neural network types
191
+ - GPU support (planned)
192
+
193
+ ---
194
+
195
+ # About Eyes Studio
196
+
197
+ PyAiNetwork is developed by **Eyes Studio**, an independent software developer focused on AI technologies, developer tools, and open-source software.
198
+
199
+ ---
200
+
201
+ # License
202
+
203
+ MIT License
204
+
205
+ Copyright © 2026 Eyes Studio
206
+
207
+ ---
208
+
209
+ # GitHub
210
+
211
+ https://github.com/eyes-studio/PyAiNetwork
@@ -0,0 +1,199 @@
1
+ # PyAiNetwork
2
+
3
+ A lightweight, open-source Python library for building and training neural networks with only a few lines of code.
4
+
5
+ > Create AI models without writing hundreds of lines for neurons, layers, and weights.
6
+
7
+ ---
8
+
9
+ ## Installation
10
+
11
+ ```bash
12
+ pip install PyAiNetwork
13
+ ```
14
+
15
+ ---
16
+
17
+ ## Features
18
+
19
+ - 🚀 Beginner-friendly API
20
+ - 🧠 Standard `Network`
21
+ - ⚡ Advanced `ProfNetwork`
22
+ - 🔥 GELU activation
23
+ - 🔥 ReLU activation
24
+ - 🔥 Sigmoid activation
25
+ - 📈 Built-in training
26
+ - 🎯 Custom network architectures
27
+ - 🪶 Lightweight & fast
28
+ - 🐍 Pure Python
29
+ - 💚 Open Source
30
+
31
+ ---
32
+
33
+ # Quick Start
34
+
35
+ ```python
36
+ from PyAiNetwork import Network
37
+
38
+ net = Network(
39
+ 2, # Input neurons
40
+ 2, # Hidden layers
41
+ 4, # Neurons per hidden layer
42
+ 1 # Output neurons
43
+ )
44
+
45
+ result = net.forward([0.5, 1.0])
46
+
47
+ print(result)
48
+ ```
49
+
50
+ ---
51
+
52
+ # Training
53
+
54
+ ```python
55
+ from PyAiNetwork import Network
56
+
57
+ net = Network(2, 1, 4, 1)
58
+
59
+ for _ in range(100):
60
+ net.train(
61
+ [1, 0],
62
+ [1]
63
+ )
64
+
65
+ print(net.forward([1, 0]))
66
+ ```
67
+
68
+ ---
69
+
70
+ # Activation Functions
71
+
72
+ PyAiNetwork supports multiple activation functions.
73
+
74
+ ### GELU
75
+
76
+ ```python
77
+ Network(..., activition="gelu")
78
+ ```
79
+
80
+ ### ReLU
81
+
82
+ ```python
83
+ Network(..., activition="relu")
84
+ ```
85
+
86
+ ### Sigmoid
87
+
88
+ ```python
89
+ Network(..., activition="sigmoid")
90
+ ```
91
+
92
+ ---
93
+
94
+ # Network
95
+
96
+ `Network` creates a neural network where every hidden layer contains the same number of neurons.
97
+
98
+ ```python
99
+ Network(
100
+ input_neurons,
101
+ hidden_layers,
102
+ neurons_per_layer,
103
+ output_neurons,
104
+ activition="gelu"
105
+ )
106
+ ```
107
+
108
+ Example
109
+
110
+ ```python
111
+ net = Network(
112
+ 4,
113
+ 3,
114
+ 16,
115
+ 2
116
+ )
117
+ ```
118
+
119
+ Architecture
120
+
121
+ ```
122
+ 4 → 16 → 16 → 16 → 2
123
+ ```
124
+
125
+ ---
126
+
127
+ # ProfNetwork
128
+
129
+ `ProfNetwork` allows every hidden layer to have a different number of neurons.
130
+
131
+ ```python
132
+ from PyAiNetwork import ProfNetwork
133
+
134
+ net = ProfNetwork(
135
+ 2,
136
+ [8, 16, 8],
137
+ 1
138
+ )
139
+ ```
140
+
141
+ Architecture
142
+
143
+ ```
144
+ 2 → 8 → 16 → 8 → 1
145
+ ```
146
+
147
+ Another example
148
+
149
+ ```python
150
+ net = ProfNetwork(
151
+ 3,
152
+ [32, 64, 64, 32],
153
+ 5
154
+ )
155
+ ```
156
+
157
+ ---
158
+
159
+ # Which one should I use?
160
+
161
+ | Class | Best for |
162
+ |--------|----------|
163
+ | Network | Simple projects and learning |
164
+ | ProfNetwork | Custom architectures and larger AI models |
165
+
166
+ ---
167
+
168
+ # Roadmap
169
+
170
+ Planned features for future releases
171
+
172
+ - Adam Optimizer
173
+ - Save / Load models
174
+ - Batch training
175
+ - More activation functions
176
+ - More loss functions
177
+ - Better performance
178
+ - More neural network types
179
+ - GPU support (planned)
180
+
181
+ ---
182
+
183
+ # About Eyes Studio
184
+
185
+ PyAiNetwork is developed by **Eyes Studio**, an independent software developer focused on AI technologies, developer tools, and open-source software.
186
+
187
+ ---
188
+
189
+ # License
190
+
191
+ MIT License
192
+
193
+ Copyright © 2026 Eyes Studio
194
+
195
+ ---
196
+
197
+ # GitHub
198
+
199
+ https://github.com/eyes-studio/PyAiNetwork
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "PyAiNetwork"
8
- version = "0.2.1"
8
+ version = "0.2.2"
9
9
  description = "A simple Python library for creating neural networks"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.8"
@@ -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
@@ -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