Update app.py
Browse files71 unmodified lines727374757677787980818283848586878889909171 unmodified linesreturn fig, df_coveragetitle = "🤗 Prediction Intervals w/ Gradient Boosting Regression 🤗"with gr.Blocks() as demo:gr.Markdown(f"# {title}")gr.Markdown("""## This app shows how to use Gradient Boosting Regression to predict intervals. \The app uses the [Quantile Loss](https://en.wikipedia.org/wiki/Quantile_regression#Quantile_loss_function) \to predict the lower and upper quantiles with Gradient Boosting Regression. The data used in this example \is generated through the equation passed in the Formula textbox heteroscedasticity noise is introduced to \make the data more realistic. The app also shows the coverage of the intervals on the train and test data.## Write equations using x as the variable and Python notation. Other supported functions are sin, cos, tan, exp, log, sqrt, and abs.[Orignal Example](https://scikit-learn.org/stable/auto_examples/ensemble/plot_gradient_boosting_quantile.html#sphx-glr-auto-examples-ensemble-plot-gradient-boosting-quantile-py)""")with gr.Row():71 unmodified lines727374757677787980818283848586878889909171 unmodified linesreturn fig, df_coveragetitle = "Prediction Intervals with Gradient Boosting Regression"with gr.Blocks() as demo:gr.Markdown(f"# {title}")gr.Markdown("""This app shows how to use Gradient Boosting Regression to predict intervals. \The app uses the [Quantile Loss](https://en.wikipedia.org/wiki/Quantile_regression#Quantile_loss_function) \to predict the lower and upper quantiles with Gradient Boosting Regression. The data used in this example \is generated through the equation passed in the Formula textbox heteroscedasticity noise is introduced to \make the data more realistic. The app also shows the coverage of the intervals on the train and test data.Write equations using x as the variable and Python notation. Other supported functions are sin, cos, tan, exp, log, sqrt, and abs.See original sklearn example [here](https://scikit-learn.org/stable/auto_examples/ensemble/plot_gradient_boosting_quantile.html#sphx-glr-auto-examples-ensemble-plot-gradient-boosting-quantile-py).""")with gr.Row():
app.py+4-4