Unverified Commit 3594f369 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[python] migrate to f-strings in interactive_plot_example.ipynb (#4430)

parent 184aaa00
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
" lgb_train,\n", " lgb_train,\n",
" num_boost_round=100,\n", " num_boost_round=100,\n",
" valid_sets=[lgb_train, lgb_test],\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", " categorical_feature=[21],\n",
" evals_result=evals_result,\n", " evals_result=evals_result,\n",
" verbose_eval=10)" " verbose_eval=10)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment