FRODO for free rejection of out-of-distribution samples in deep learning
Project description
FRODO: Free rejection of Out-of-distribution samples
use FRODO simply by
import model
from tf_frodo import FRODO
model_with_frodo = FRODO(model).fit(x_validation)
results = model_with_frodo.predict(x_test)
assert results["model_outputs"] == model(x_test)
results["FRODO"] # Rejection scores for each sample in x_test
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
tf_frodo-0.0.2.tar.gz
(3.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tf_frodo-0.0.2.tar.gz.
File metadata
- Download URL: tf_frodo-0.0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f73bfd5f77effae1ae7e95064d15f9aa6238d2ca824b86d6b4594823999081e
|
|
| MD5 |
caa7c62e217205fcd697f5b026d0cb37
|
|
| BLAKE2b-256 |
688cf76ff71e7217a5bf216e315e5f55e9218f5efd61a65625333fb4830493cf
|
File details
Details for the file tf_frodo-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tf_frodo-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22b56357f528ffe40372df8f298b8f5632339dab9065bef5e20f03c5ac5c4186
|
|
| MD5 |
24664e5699df3bcdad87f3e99f4f635d
|
|
| BLAKE2b-256 |
9af8084dfcdde8db08665c178f9b130872937eec575bd423d6db41d7e88b609f
|