rb-deeplearning-lib 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
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.
- rb_deeplearning_lib/__init__.py +1 -0
- {rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/METADATA +7 -6
- {rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/RECORD +6 -6
- {rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/WHEEL +0 -0
- {rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/licenses/LICENSE +0 -0
- {rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/top_level.txt +0 -0
rb_deeplearning_lib/__init__.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rb-deeplearning-lib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: This is a machine learning--more specifically deep learning--library from my independent study on deep learning. This library is both a result of my learning and a tool for AI development.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/rylan-berry/DeepLearningIndependentStudy/tree/main/deeplearning_package
|
|
@@ -18,10 +18,11 @@ This package is designed to be similar to the PyTorch system of a building block
|
|
|
18
18
|
|
|
19
19
|
## Modules
|
|
20
20
|
|
|
21
|
-
This project has
|
|
21
|
+
This project has four main modules:
|
|
22
22
|
|
|
23
23
|
* `autogradient.py`
|
|
24
|
-
* `sequence.py`
|
|
24
|
+
* `sequence.py`
|
|
25
|
+
* `optimizer.py`
|
|
25
26
|
* `neural_net.py`
|
|
26
27
|
|
|
27
28
|
All of which are automatically part of the initial import of the package.
|
|
@@ -29,9 +30,9 @@ All of which are automatically part of the initial import of the package.
|
|
|
29
30
|
## Making and Running a Model
|
|
30
31
|
|
|
31
32
|
When creating a model, use the Model class, which runs most of the functions included in the package itself. The first argument is a list of layers or blocks, each element is the steps in the network. These steps can be a Dense, Layer, or Dropout blocks (more will be made), a Dense is just multiple layers stacked back to back.
|
|
32
|
-
Training a model is done through: def train(epochs,
|
|
33
|
-
Where epochs is the number of times you train through the data, the
|
|
33
|
+
Training a model is done through: `def train(epochs, x_t, y_t, x_v, y_v, val_run=1, l_rate=0.01, _lambda=0.1, batch_size = None) `
|
|
34
|
+
Where epochs is the number of times you train through the data, the `#_t` means training data and `#_v` means validation data, `x` means input, `y` means output, `val_run` is the epochs between when you want to test the validation data, `l_rate` is the learn rate, `_lambda` is a hyperparameter that determines the strength of the penalty functions, and `batch_size` determines how large batches will be (if the batch size isn’t a multiple of the data size then it will still run, there is just a smaller batch then the others).
|
|
34
35
|
|
|
35
36
|
## Dependencies
|
|
36
37
|
|
|
37
|
-
The auto gradient–which is used for back propagation–relies heavily on
|
|
38
|
+
The auto gradient–which is used for back propagation–relies heavily on `numpy`.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
rb_deeplearning_lib/__init__.py,sha256=
|
|
1
|
+
rb_deeplearning_lib/__init__.py,sha256=AcFuV_PoQCmRt8Ag7BW0TXGCQuqBNHrw6iYwYmd3AaY,71
|
|
2
2
|
rb_deeplearning_lib/autogradient.py,sha256=woXGKi1EZ1QobvRbPMtj4WQqdkOCr7Xk_KeG8WE1d6k,9388
|
|
3
3
|
rb_deeplearning_lib/neural_net.py,sha256=nwC4bdEYSYRtylqe7p68SFlRJKc1htBB-sMJGiFl8fk,6478
|
|
4
4
|
rb_deeplearning_lib/optimizer.py,sha256=OI2x7xrna4ksbaprNgIx25jogVM10OGfNYKpwetRc7o,2690
|
|
5
5
|
rb_deeplearning_lib/sequence.py,sha256=As8FiHVrcN2w0xXV8Vt_eHhNh1vDWDM3oIfrZMUkZ5g,417
|
|
6
|
-
rb_deeplearning_lib-0.1.
|
|
7
|
-
rb_deeplearning_lib-0.1.
|
|
8
|
-
rb_deeplearning_lib-0.1.
|
|
9
|
-
rb_deeplearning_lib-0.1.
|
|
10
|
-
rb_deeplearning_lib-0.1.
|
|
6
|
+
rb_deeplearning_lib-0.1.1.dist-info/licenses/LICENSE,sha256=RGN7cN89q7JPnZj-z1KSZT9M3zcJPwjzb-gEOt6SCCA,1069
|
|
7
|
+
rb_deeplearning_lib-0.1.1.dist-info/METADATA,sha256=BmS_hqF2-rcQgBE9iKrjGR0iDnjsi7quXNYrkstYCRM,2286
|
|
8
|
+
rb_deeplearning_lib-0.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
9
|
+
rb_deeplearning_lib-0.1.1.dist-info/top_level.txt,sha256=oK1ClPmIXDzAbwPHl69BE88PFjpsYta_a5vNEa5WJoA,20
|
|
10
|
+
rb_deeplearning_lib-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
{rb_deeplearning_lib-0.1.0.dist-info → rb_deeplearning_lib-0.1.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|