A machine learning engine designed and developed to be both easy to use and source code readable. It is a straightforward implementation of different algorithms and techniques of machine learning in Python. You can use it for small projects and/or educational purposes.
Backpropagation is implemented in boring detail such that derivative steps is taken carefully and without any implicit or hidden details
Natasy is Arabic word means the skilled scientist, or the clever doctor.
Natasy is intended to be easy to use and intuitive to build your neural network with. To build you network to classify the will known MNIST dataset:
- Define your network
my_NN = NeuralNetwork(n_features=400, n_classes=10)
- Build up the layers as you want
my_NN.add_layer(100, activation=Activation.leaky_relu, dropout_keep_prob=1)
my_NN.add_layer(12, activation=Activation.softmax_stable, output_layer=True)
- Finally, call the optimizer
gd_optimizer = Optimizer(loss='multinomial_cross_entropy', method='adam') # gd-with-momentum gradient-descent rmsprop adam
gd_optimizer.minimize(nn01, epochs=100, mini_batch_size=5000, learning_rate=.1, regularization_parameter=0, dataset=mnist)
The following is the complete source code for the example. More examples can be found under Natasy/examples.
Metadata
Release files for Natasy 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Natasy-0.0.1.tar.gz | 16.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Natasy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / Natasy-0.0.1.tar.gz
| Download URL | Natasy-0.0.1.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32139d4d53ec95193d4d0d03ee4a653ea647a887890280f5a34170282dd0060d
|
|
BLAKE2b-256 checksum How to use checksums |
b84adb27a78937a98f3b55f2a8ee0e11c579f95c328b9ce7af7ec8fd74eeaabc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
|
Release files / Natasy-0.0.1-py3-none-any.whl
| Download URL | Natasy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e758f4920476a8358efb8ed5a3de5cb5b942196e395fe935b42be5f9efea0e31
|
|
BLAKE2b-256 checksum How to use checksums |
f536281e7f25ba7a041950541d6c46bb7cb02cf131faddc1fa9320e2c7a7617b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
|
Security for Natasy 0.0.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.