Skip to contents

Helper function to contribute to rows within the settings matrix. Number of columns removed follows a uniform or exponential probability distribution.

Usage

random_removal(
  columns,
  min_removed_inputs,
  max_removed_inputs,
  dropout_dist = "exponential"
)

Arguments

columns

Columns of the settings_matrix that are passed in

min_removed_inputs

The smallest number of input dataframes that may be randomly removed.

max_removed_inputs

The largest number of input dataframes that may be randomly removed.

dropout_dist

Indication of how input dataframes should be dropped. can be "none" (no dropout), "uniform" (uniformly draw number between min and max removed inputs), or "exponential" (like uniform, but using an exponential distribution; default).

Value

inclusions_df Dataframe that can be rbind'ed to the settings_matrix