Skip to main content

Stan Circular Inference

Author: Diogo Almeida - fc64854@alunos.ciencias.ulisboa.pt

Introduction

This work is motivated by the gap between circular statistical theory and its practical application in the context of probabilistic programming. The project focuses on the specification and estimation of circular models using Bayesian inference, and on building a modular and intuitive Python library.

The library will provide algorithms to describe various models based on circular distributions (including the following distributions: Von Mises, Cardioid, Wrapped Cauchy), and will use an existing probabilistic programming tool from the literature, Stan. This library is a public service, organized, tested, validated, and well-documented, making these models accessible to a wider audience.

The project is essentially divided into two modules: the Inference Pipeline and the Probabilistic Models.

Step by Step Setup

To obtain a stable environment for using the tool, the user is recommended to follow the steps below.

On Windows environments, execute the following commands:

wsl --install (requires to restart)
wsl -d Ubuntu

To obtain a stable version of Anaconda:

sudo wget https://repo.continuum.io/archive/Anaconda3-2022.10-Linux-x86_64.sh
bash Anaconda3-2022.10-Linux-x86_64.sh (requires to restart)
# Do you wish the installer to initialise Anaconda3? yes

Close the command line and open it again.

On Windows systems, to enter the Linux subsystem:

wsl -d Ubuntu

To install the Ubuntu dependencies:

sudo apt update
sudo apt install build-essential
sudo apt-get install manpages-dev

To create an environment in Anaconda:

conda create -n environment_name python=3.10

To activate that environment:

conda activate environment_name

To install the Anaconda dependencies:

conda install -c conda-forge gcc libstdcxx-ng

Finally, to install the tool's dependency:

pip install stan-circular-inference

Inference Pipeline

The specifics of the service module are documented separately in service.

Probabilistic Models

A comprehensive description of the xpto module is provided in xpto.

Metadata

Release files for stan-circular-inference 0.1.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 stan-circular-inference 0.1.2
File Size Uploaded
stan_circular_inference-0.1.2.tar.gz 57.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for stan-circular-inference 0.1.2
File Interpreter ABI Platform
stan_circular_inference-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 115.0 MB

Release files / stan_circular_inference-0.1.2.tar.gz

Download URL stan_circular_inference-0.1.2.tar.gz
Size 57.0 MB
Tags Source
SHA-256 checksum
How to use checksums
ed7c31959818fd950269a072be05bf63a7b4dbf0d420f05d3e8965e10d606b92
BLAKE2b-256 checksum
How to use checksums
2711f6cbb16c77df5121c687136f58613408888a4298eecf7b7302536399200a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / stan_circular_inference-0.1.2-py3-none-any.whl

Download URL stan_circular_inference-0.1.2-py3-none-any.whl
Size 58.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b278b3f723821c155b0613de3a629a251e8b81a8a07848262195cc1a3b448e8d
BLAKE2b-256 checksum
How to use checksums
077e24d0b65d103b4a58c3f83517ddb905bce9ddec66229f85a0c0ff120895f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19
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