Skip to main content

A Package for Selective Inference in Deep Neural Networks

Project description

si4onnx

PyPI version License: MIT

si4onnx is a Python package that facilitates statistical validation of Region of Interest (ROI) generated by deep learning models. The package provides a selective inference framework to quantify the statistical reliability of generated ROIs through rigorous p-value computation. The computed p-values maintain statistical validity and enable precise control of the Type I error rate at any desired significance level. This package provides comprehensive support for deep learning models, including those developed in PyTorch and TensorFlow, through conversion to the ONNX (Open Neural Network Exchange) format.

Requirements

Python version:

  • Python 3.10 or later

Required packages:

  • numpy 1.26.4 or later
  • torch 2.2.0 or later
  • onnx 1.16.0 or later
  • sicore 2.3.0 or later

Installation

This package can be installed using pip:

$ pip install si4onnx

Usage

We provide several Jupyter notebooks demonstrating how to use the si4onnx package in our examples directory.

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

si4onnx-0.1.13.tar.gz (63.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

si4onnx-0.1.13-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file si4onnx-0.1.13.tar.gz.

File metadata

  • Download URL: si4onnx-0.1.13.tar.gz
  • Upload date:
  • Size: 63.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for si4onnx-0.1.13.tar.gz
Algorithm Hash digest
SHA256 622b579546c67bb548ddb5c3964dd52f86c5a511151ebe85771021ff5264fd6a
MD5 e43f61206eb552b8634bdddfea087c7d
BLAKE2b-256 1483659f7b92a89d833b1c6ff058b0295e854694fd27709c718db2ac5ab4924d

See more details on using hashes here.

File details

Details for the file si4onnx-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: si4onnx-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.10

File hashes

Hashes for si4onnx-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 66a05f0fc6b8f158df10ea7529d3930388582be1f4dcc762566e30b33568a7ba
MD5 dd7a9661e0fff205433deae70f7df2f9
BLAKE2b-256 09b18187053db6434d3a016ef7bff0f9cd635b4960d679148e9a875318ba7c82

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