cascade.utils.gp_regression_with_ci

cascade.utils.gp_regression_with_ci(data, x, y, alpha=0.95)[source]

Gaussian process regression with confidence interval

Parameters:
  • data (DataFrame) – Input data frame

  • x (str) – Input variable

  • y (str) – Output variable

  • alpha (float) – Confidence level

Return type:

tuple[DataFrame, float]

Returns:

  • Data frame with three additional columns of mean, lower and upper bounds

  • Cutoff of input variable that covers minimal output value in CI