Skip to content

Commit

Permalink
final modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
savalann committed Aug 20, 2024
1 parent c95dd8a commit 8e9bdf1
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1,313 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"metadata": {},
"outputs": [],
"source": [
"!pip install hydroeval xgboost"
"!pip install hydroeval"
]
},
{
Expand Down Expand Up @@ -563,7 +563,7 @@
" # Prompt the user if they want to continue tuning.\n",
" print('=====================================================================================')\n",
" change = \"n\" # to interact with this notebook using input(), comment out this line, and uncomment the line below\n",
" #change = input(\"Do you want to change any variable? (y/n): \")\n",
" # change = input(\"Do you want to change any variable? (y/n): \")\n",
" if change.lower() == 'y':\n",
" # Ask which parameter to change.\n",
" variable = input(\"Which variable number? (n_estimators(1)/max_depth(2)/eta(3)):\")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"n_subplots = 2\n",
"n_cols = int(math.ceil(math.sqrt(n_subplots))) # Calculate columns as the ceiling of the square root of number of subplots.\n",
"n_rows = int(math.ceil(n_subplots / n_cols)) # Calculate rows as the ceiling of the ratio of subplots to columns.\n",
"figsize = (18, 12) # Set the figure size for the plot.\n",
"figsize = (15, 7) # Set the figure size for the plot.\n",
"# Create a figure and a grid of subplots with the specified number of rows and columns.\n",
"fig, axes = plt.subplots(n_rows, n_cols, figsize=figsize)\n",
"axes = axes.flatten() # Flatten the axes array for easier iteration.\n",
Expand Down
Empty file.
Binary file modified book/tutorials/decision_trees/02.input/all_shapes.gpkg
Binary file not shown.
Binary file not shown.

0 comments on commit 8e9bdf1

Please sign in to comment.