An open API service providing repository metadata for many open source software ecosystems.

GitHub topics: weighted-samples

ori88c/weighted-random-item-sampler

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight. The sampling method utilizes a binary search optimization, making it suitable for performance-demanding applications where the set of items is large and the sampling frequency is high.

Language: TypeScript - Size: 93.8 KB - Last synced at: 16 days ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

ori88c/non-replacement-weighted-random-item-sampler

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, making it suitable for performance-demanding applications where the set of items is large.

Language: TypeScript - Size: 72.3 KB - Last synced at: 7 days ago - Pushed at: 7 months ago - Stars: 0 - Forks: 0

khiav223577/roulette-wheel-selection

Provide an algorithm allowing you to do weighted sampling.

Language: Ruby - Size: 43.9 KB - Last synced at: 17 days ago - Pushed at: 8 months ago - Stars: 1 - Forks: 1

HaoWeiHe/Sentiment-Classification

Sentiment classification using Yelp reviews

Language: Python - Size: 1.75 MB - Last synced at: 8 months ago - Pushed at: over 3 years ago - Stars: 2 - Forks: 0

helske/diagis

Auxiliary functions for importance sampling

Language: R - Size: 408 KB - Last synced at: 6 months ago - Pushed at: over 1 year ago - Stars: 1 - Forks: 0