muffnn
scikit-learn-compatible neural network models implemented in TensorFlow
Installation
This package currently supports Python 3.6 and 3.7.
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.
Release files for muffnn 2.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| muffnn-2.3.2.tar.gz | 45.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muffnn-2.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.1 kB
Release files / muffnn-2.3.2.tar.gz
| Download URL | muffnn-2.3.2.tar.gz |
|---|---|
| Size | 45.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5448b9cdb148b9039be737584423491dd8fc128f6c1838d9b57b5d4702acfca
|
|
BLAKE2b-256 checksum How to use checksums |
4491000f734fb1f2b9738086e4773f4cfcb0bd2f60d73d19452cdb8f4b9bde27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0
|
Release files / muffnn-2.3.2-py3-none-any.whl
| Download URL | muffnn-2.3.2-py3-none-any.whl |
|---|---|
| Size | 59.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d21f1d466e6c0484bffa026fc8b8f63c65426b1e25c50f2cdb6e2b9718ed5378
|
|
BLAKE2b-256 checksum How to use checksums |
275ee741e8d235494b3212eea3f575103c4527e136e4be9540906f61146ae79a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.0
|