Skip to main content

A python package of algorithms for sensitivity testing.

Project description

SenPy-Sensei

A python package of algorithms for sensitivity testing.
Authors: Alex Casey, David Arthur, Daniel Klinger

Currently implements the Neyer method which consists of:

  • Maximum likelihood estimators (MLEs) to estimate the parameters of an assumed latent distribution.
  • Provides a sequential design routine to suggest to the user new stimulus levels for efficent testing.

In addition to the functionality provided by the original Neyer software, this code can use an assumed log-logistic distribution and can use the perturbation (delta), parametric bootstrap, and non-parametric boostrap methods to estimate predictive condfidence intervals.

Basic documentation can be found here, however, the included manual is the best reference.

Installation

We are now on PyPi! In a command prompt type pip install --upgrade senpy-sensei to upgrade/install SenPy

DO NOT install "senpy"! That is a different and unrelated program.

You can import it as any other python module with import senpy.

Manual Installation

The subdirectory senpy is the python package. Download and add this directory to your current working directory, python site-packages, or to your python path. Then the package can be imported using import senpy.

Basic Usage

Right now all user methods are contained in the Neyer object. So, it is suggested that you use import senpy.neyer as neyer and then the Neyer object can be instantiated using estimator = neyer.Neyer().

For example:

Example code usage and output. Can be found at ./examples/composite.svg

To-do

Future versions will add the following functionality:

  • Implement the Dror-Steinberg method. (Bayesian approach)
  • Include a Gaussian process classifier with monitonicity constraint.
  • Add ability to evaluate multivariate systems.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

senpy_sensei-1.3.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file senpy_sensei-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: senpy_sensei-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for senpy_sensei-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46a1f7c9c3c3b1ca8cfef05de8b3f924bb8d7c21033071346d54d6f9e4714115
MD5 4a4a2e01cb990e6d82f54cf8512e0cb0
BLAKE2b-256 185966ca6ab02c06cb8e299860daad3458a93360d559b051f951f32b29503fb0

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