Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DDFG] Add randc function for random generation of categorical values #67

Open
mm-abogdan opened this issue Jul 10, 2019 · 0 comments
Open

Comments

@mm-abogdan
Copy link

Create a function named randc to generate a dataset of categorical variables with missingness. Follow the general form of randu & randn, witht he following arguments:

  • nlevels: Number of different categories
  • shape: Same as in randu & randn, including defaults
  • missingness: " "
  • thr: " "

The dtype arrgument is not necessary here. Create this function within impyute.dataset.base

Be sure that functions accept & return matrices.
Be sure to follow the 4 steps outlined in contributing.md

The below labels are for DDFG (Data Days for Good) participant reference:
Priority: Medium
Difficulty: Medium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant