seldonian.utils.tutorial_utils.generate_data

generate_data(num_points, loc_X=0.0, loc_Y=0.0, sigma_X=1.0, sigma_Y=1.0)

Generate 2D random normal data

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