Skip to content

Commit c58688e

Browse files
author
Alexander März
committed
Updated example to new syntax
1 parent 044f34e commit c58688e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/boston_housing_example_Gamma.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@
8585
"# Specifies Gamma distribution with softplus response function and option to stabilize Gradient/Hessian. See ?Gamma for an overview.\n",
8686
"lgblss = LightGBMLSS(\n",
8787
" Gamma(stabilization=\"None\", # Options are \"None\", \"MAD\", \"L2\".\n",
88-
" response_fn=\"softplus\") # Function to transform the concentration and rate parameters, e.g., \"exp\" or \"softplus\".\n",
88+
" response_fn=\"softplus\", # Function to transform the concentration and rate parameters, e.g., \"exp\" or \"softplus\".\n",
89+
" loss_fn=\"nll\" # Loss function. Options are \"nll\" (negative log-likelihood) or \"crps\"(continuous ranked probability score).\n",
90+
" ) \n",
8991
")"
9092
]
9193
},

0 commit comments

Comments
 (0)