simsam

Simplex sampling algorithms

https://github.com/pseudomanifold/simsam

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 3 committers (33.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.5%) to scientific vocabulary

Keywords

python3 simplex-sampling
Last synced: 6 months ago · JSON representation

Repository

Simplex sampling algorithms

Basic Info
  • Host: GitHub
  • Owner: Pseudomanifold
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 8.79 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
python3 simplex-sampling
Created almost 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

Simsam: Simplex Sampling Methods

PyPI - License PyPI

This small package implements methods for sampling from a unit simplex, a problem that often crops up in a data analysis context.

Usage

There is only a single sampling strategy that results in uniform samples from the unit simplex:

```python from simsam import kraemer_sampling

Sample 1,000 points from the 10-dimensional unit simplex.

dim = 10 N = 1000 samples = kraemer_sampling(dim, N) ```

For comparison purposes, there is also a naive sampling procedure, which does not result in uniform samples.

```python from simsam import naive_sampling

Sample 1,000 points from the 10-dimensional unit simplex. Notice that

the samples will be biased.

dim = 10 N = 1000 samples = naive_sampling(dim, N) ```

Owner

  • Name: Bastian Rieck
  • Login: Pseudomanifold
  • Kind: user
  • Location: Munich, Germany
  • Company: @aidos-lab

Topological machine learning researcher. Principal Investigator of the AIDOS Lab (Institute of AI for Health, Helmholtz Munich). Persistence is key.

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 19
  • Total Committers: 3
  • Avg Commits per committer: 6.333
  • Development Distribution Score (DDS): 0.263
Top Committers
Name Email Commits
Bastian Rieck b****n@r****u 14
Ethan Rooke e****n@r****e 3
Bastian Rieck b****k@b****h 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 13 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • erooke (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 15 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 4
  • Total maintainers: 1
pypi.org: simsam

Simplex sampling algorithm

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 15 Last month
Rankings
Dependent packages count: 10.0%
Dependent repos count: 21.7%
Forks count: 22.6%
Stargazers count: 23.1%
Average: 32.7%
Downloads: 86.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

pyproject.toml pypi
  • pytest ^5.2 develop
  • numpy ^1.19.4
  • python ^3.9