[
https://issues.apache.org/jira/browse/FLINK-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249721#comment-15249721
]
ASF GitHub Bot commented on FLINK-3783:
---------------------------------------
Github user gallenvara commented on the pull request:
https://github.com/apache/flink/pull/1909#issuecomment-212397350
@gaoyike A-ES algorithm is a weighted random sampling method with
reservoir. It can create a sampler with defined size. And the probability of
element distribution is the same as expected.
> Support weighted random sampling with reservoir
> -----------------------------------------------
>
> Key: FLINK-3783
> URL: https://issues.apache.org/jira/browse/FLINK-3783
> Project: Flink
> Issue Type: Improvement
> Components: Core
> Reporter: GaoLun
> Assignee: GaoLun
> Priority: Minor
>
> In default random sampling, all items have the same probability to be
> selected. But in weighted random sampling, the probability of each item to be
> selected is determined by its weight with respect to the weights of the other
> items.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)