Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
3594f369
Unverified
Commit
3594f369
authored
Jul 04, 2021
by
Nikita Titov
Committed by
GitHub
Jul 03, 2021
Browse files
[python] migrate to f-strings in interactive_plot_example.ipynb (#4430)
parent
184aaa00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/python-guide/notebooks/interactive_plot_example.ipynb
...les/python-guide/notebooks/interactive_plot_example.ipynb
+1
-1
No files found.
examples/python-guide/notebooks/interactive_plot_example.ipynb
View file @
3594f369
...
...
@@ -143,7 +143,7 @@
" lgb_train,\n",
" num_boost_round=100,\n",
" valid_sets=[lgb_train, lgb_test],\n",
" feature_name=['f
' + str(
i + 1
)
for i in range(X_train.shape[-1])],\n",
" feature_name=[
f
'f
{
i + 1
}'
for i in range(X_train.shape[-1])],\n",
" categorical_feature=[21],\n",
" evals_result=evals_result,\n",
" verbose_eval=10)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment