seldonian.utils.tutorial_utils.generate_clipped_data

generate_clipped_data(num_points, loc_X=0.0, loc_Y=0.0, sigma_X=1.0, sigma_Y=1.0, clip_min=-3, clip_max=3)

Generate 2D random normal data, with clipping

Parameters:
  • num_points (int) – The number of data points to generate

  • loc_X (float) – The mean of the normal distribution in the X dimension

  • loc_Y (float) – The mean of the normal distribution in the Y dimension

  • sigma_X (float) – The standard deviation of the normal distribution in the X dimension

  • sigma_Y (float) – The standard deviation of the normal distribution in the Y dimension

  • clip_min – Clip values to be >= this value