Skip to content

Commit 52d3dd2

Browse files
authored
Merge pull request #450 from tanvi0909/fix/function-definition
fixed function definition
2 parents d6e7fc7 + 84e5076 commit 52d3dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Stackoverflow_Survey_Analysis.ipynb

Lines changed: 2 additions & 2 deletions
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)