Skip to main content
# Bullseye!

"Bullseye!" is a new algorithm for computing the Gaussian Variational Approximation of a target distribution. Its strong point lies in the fact that it can easily be parallelized and distributed.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Installing

Bullseye! is now available as a [PyPI package](https://pypi.python.org/pypi/bullseye_method/):

```
pip install bullseye_method
```

or clone the repository :

```
git clone https://github.com/Whenti/bullseye
```

or [download and extract the zip](https://github.com/Whenti/bullseye/archive/master.zip) into your project folder.

## Running the tests

To see if everything is working properly, you can already run the algorithm on a multilogit model with artificially generated data.

```py
from Bullseye.Tests import simple_test
simple_test()
```

## Example

```py
import Bullseye
from Bullseye import generate_multilogit

theta_0, x_array, y_array = generate_multilogit(d = 10, n = 10**3, k = 5)

bull = Bullseye.Graph()
bull.feed_with(x_array,y_array)
bull.set_predefined_model("multilogit")
bull.set_predefined_prior("normal_iid")
bull.init_with(mu_0 = 0, cov_0 = 1)
bull.set_options(local_std_trick = True, s=5)
bull.build()

bull.run()
```

## Authors

* **Quentin Lévêque** [Whenti](https://github.com/Whenti)

See also the list of [contributors](https://github.com/Whenti/bullseye/contributors) who participated in this project. Hopefully, there will be more.

## License

This project licensed under the GPL3 License - see the [LICENSE.txt](LICENSE.txt) file for details.

Metadata

Release files for bullseye_method 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bullseye_method 1.0.2
File Size Uploaded
bullseye_method-1.0.2.tar.gz 33.7 kB Details

Release files / bullseye_method-1.0.2.tar.gz

Download URL bullseye_method-1.0.2.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
adc16bd11a593b82f914209dcced84c5db4869847f5f56b45f4f632087951e0c
BLAKE2b-256 checksum
How to use checksums
1c09cdf8f2166486315ddd9ce52678c7cf2cd84fb9d5c6073dbe1a15a40233f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.5

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.33

1 release file

0.0.32

1 release file

0.0.31

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page