nn-wtf - Neural Networks Wrapper for TensorFlow
nn-wtf aims at providing a convenience wrapper to Google’s TensorFlow machine learning library. Its focus is on making neural networks easy to set up, train and use.
The library is in pre-alpha right now and does not do anything useful yet.
If you want to try it on MNIST data though, try this sample program:
from nn_wtf.input_data import read_data_sets, read_one_image_from_url
from nn_wtf.mnist_graph import MNISTGraph
import tensorflow as tf
data_sets = read_data_sets('.')
graph = MNISTGraph(
learning_rate=0.1, hidden1=64, hidden2=64, hidden3=16, train_dir='.'
)
graph.train(data_sets, max_steps=5000, precision=0.95)
image_data = read_one_image_from_url(
'http://github.com/lene/nn-wtf/blob/master/nn_wtf/data/7_from_test_set.raw?raw=true'
)
prediction = graph.predict(image_data)
assert prediction == 7
From there on, you are on your own for now. More functionality and documentation to come.
Metadata
Release files for nn_wtf 0.1.5
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 | |
|---|---|---|---|---|
| nn_wtf-0.1.5.tar.gz | 89.4 kB | Without provenance | Details |
Release files / nn_wtf-0.1.5.tar.gz
| Download URL | nn_wtf-0.1.5.tar.gz |
|---|---|
| Size | 89.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
688d0b5457c073e9c663fe69ef5d8645e2f1bdacc04f6870cd4d510d96a668d4
|
|
BLAKE2b-256 checksum How to use checksums |
4ec867b765689bb4de10a1d9a2dc09adcd7bd6fd45c924b462c51d3f10ee58e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nn_wtf 0.1.5
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.