Skip to main content

ffnet: feed-forward neural network for python

Basic usage of the package:

>>> from ffnet import ffnet, mlgraph, savenet, loadnet, exportnet
>>> conec = mlgraph( (2,2,1) )
>>> net = ffnet(conec)
>>> input = [ [0.,0.], [0.,1.], [1.,0.], [1.,1.] ]
>>> target  = [ [1.], [0.], [0.], [1.] ]
>>> net.train_tnc(input, target, maxfun = 1000)
>>> net.test(input, target, iprint = 2)
>>> savenet(net, "xor.net")
>>> exportnet(net, "xor.f")
>>> net = loadnet("xor.net")
>>> answer = net( [ 0., 0. ] )
>>> partial_derivatives = net.derivative( [ 0., 0. ] )

For instalation instructions and documentation go to http://ffnet.sourceforge.net.

Metadata

Release files for ffnet 0.8.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffnet 0.8.6
File Size Uploaded Provenance Actions
ffnet-0.8.6.tar.gz 60.1 kB Without provenance Details for ffnet-0.8.6.tar.gz

Release files / ffnet-0.8.6.tar.gz

Download URL ffnet-0.8.6.tar.gz
Size 60.1 kB
Tags Source
SHA-256 checksum
How to use checksums
38cc3a8dd15fcc1d84f7f883f3b2f270e2a8a0cd00cbdfe8a56bfea0a9794074
BLAKE2b-256 checksum
How to use checksums
7fa56bd13ed62c4dfbc60c055ca747a72c68a1711ff6e5dfd7b685414b3e084c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for ffnet 0.8.6

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.

Release history Release notifications | RSS feed

This release

0.8.6 This release

1 release file No provenance

0.6.2

0.6.1

0.6

0.5

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page