Skip to main content

Multilayer Feed-Forward Neural Network (MuFFNN) models with TensorFlow and scikit-learn

Project description

muffnn

Build status Latest version on PyPI

scikit-learn-compatible neural network models implemented in TensorFlow

Installation

Installation with pip is recommended:

pip install muffnn

You can install the dependencies via:

pip install -r requirements.txt

If you have trouble installing TensorFlow, see this page for more details.

For development, a few additional dependencies are needed:

pip install -r dev-requirements.txt

Usage

Each estimator in the code follows the scikit-learn API. Thus usage follows the scikit-learn conventions:

from muffnn import MLPClassifier

X, y = load_some_data()

mlp = MLPClassifier()
mlp.fit(X, y)

X_new = load_some_unlabeled_data()
y_pred = mlp.predict(X_new)

Further, serialization of the TensorFlow graph and data is handled automatically when the object is pickled:

import pickle

with open('est.pkl', 'wb') as fp:
    pickle.dump(est, fp)

Contributing

See CONTIBUTING.md for information about contributing to this project.

License

BSD-3

See LICENSE.txt for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muffnn-2.3.0.tar.gz (44.4 kB view details)

Uploaded Source

File details

Details for the file muffnn-2.3.0.tar.gz.

File metadata

  • Download URL: muffnn-2.3.0.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

File hashes

Hashes for muffnn-2.3.0.tar.gz
Algorithm Hash digest
SHA256 6cbf3705f36290a7821799a7db19d35cb5cb3d87c754d18a9655e01fd016b085
MD5 0946725459383731d5ff5562873e7b3a
BLAKE2b-256 35eea2f024701057b804e6900871e0d301603e5ef6d903b744f1a410484f0844

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page