Skip to content

Commit 84e5076

Browse files
committed
fixed function definition
1 parent d6e7fc7 commit 84e5076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Stackoverflow_Survey_Analysis.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -15206,7 +15206,7 @@
1520615206
},
1520715207
{
1520815208
"cell_type": "code",
15209-
"execution_count": 810,
15209+
"execution_count": null,
1521015210
"metadata": {},
1521115211
"outputs": [
1521215212
{
@@ -15221,7 +15221,7 @@
1522115221
],
1522215222
"source": [
1522315223
"#Gradient Boosting Classifier\n",
15224-
"ef objective(trial):\n",
15224+
"def objective(trial):\n",
1522515225
" # Define the search space for hyperparameters\n",
1522615226
" n_estimators = trial.suggest_int('n_estimators', 100, 1000)\n",
1522715227
" learning_rate = trial.suggest_float('learning_rate', 0.01, 0.3, log=True)\n",

0 commit comments

Comments
 (0)