You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/06/15 22:57:00 UTC
[jira] [Created] (ARROW-9142) [C++]
random::RandomArrayGenerator::Boolean "probability" misdocumented /
incorrect
Wes McKinney created ARROW-9142:
-----------------------------------
Summary: [C++] random::RandomArrayGenerator::Boolean "probability" misdocumented / incorrect
Key: ARROW-9142
URL: https://issues.apache.org/jira/browse/ARROW-9142
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Wes McKinney
Assignee: Wes McKinney
Fix For: 1.0.0
I would expect {{rng.Boolean(length, 0.99)}} to generate an array that is 99% "true" on average.
The docs say "/// \param[in] probability the estimated number of active bits", but this is not what the function does (the opposite, actually).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)