EasyNN is a python package designed to provide an easy-to-use neural network. The package is designed to work right out of the box, while also allowing the user to customize features as they see fit.
Project description
EasyNN - Neural Networks made Easy
EasyNN is a python package designed to provide an easy-to-use Neural Network. The package is designed to work right out of the box with multiple datasets, while also allowing the user to customize features as they see fit.
EasyNN requires Python version 3.9.7 or greater.
See our wiki for more information and Datasets.
Installation:
Run python's pip3 to install:
pip3 install EasyNN
Minimum Required
from EasyNN.examples.mnist.fashion.trained import model
# Classify the an image in the dataset
print(model.classify(image))
Getting started with EasyNN(Basic Example):
To see more documention please see our wiki's infomation on the number mnist dataset.
from EasyNN.examples.mnist.number.trained import model
from EasyNN.utilities.image.preprocess import image
from EasyNN.utilities.download import download
# Download an example image.
download("four.jpg","https://bit.ly/3lAJrMe")
format_options = dict(
grayscale=True,
invert=True,
process=True,
contrast=30,
resize=(28, 28),
rotate=3,
)
# Converting your image into the correct format for the mnist number dataset.
image = image("four.jpg").format(**format_options)
print(model.classify(image))
model.show(image)
Output:
Downloading - number_parameters.npz:
[################################] 1769/1769 - 00:00:00
Downloading - number_structure.pkl:
[################################] 10700/10700 - 00:00:00
Downloading - four.jpg:
[################################] 1371/1371 - 00:00:00
4
Image output:
To see more examples with many other datasets. Please visit our wiki.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file EasyNN-0.0.22.tar.gz
.
File metadata
- Download URL: EasyNN-0.0.22.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b844d3a1a8d36dfce68ab225a993bdc2ff2914adbf71a22fd854bdbc8e2c60d |
|
MD5 | 69a42111579193154f7e275f3835cd15 |
|
BLAKE2b-256 | 6f68f61bf211f35d2d37a271874939f7cc5dbdcef729403ea9ee8a5112078b28 |
File details
Details for the file EasyNN-0.0.22-py3-none-any.whl
.
File metadata
- Download URL: EasyNN-0.0.22-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18802a34e82f0ceee51ad17696ac4cdcccacfdfe0fd750a31ecce4393704cd56 |
|
MD5 | 6ee20c6ceffdc1741860d3042a4e1302 |
|
BLAKE2b-256 | ad6ce64fcb83066cf77825919ea2d7f41bc20bab4c58d54991aeb794c10f6d65 |