Min samples and leaf max features
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 74 KiB |
@@ -106,7 +106,7 @@ if __name__ == "__main__":
|
|||||||
"label": "Max features",
|
"label": "Max features",
|
||||||
"values": [
|
"values": [
|
||||||
round(value, 2)
|
round(value, 2)
|
||||||
for value in np.arange(0.2, 0.5, 0.05)
|
for value in np.arange(0.45, 1, 0.05)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
base_model_parameters = {
|
base_model_parameters = {
|
||||||
@@ -129,7 +129,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# Plot graph
|
# Plot graph
|
||||||
fig, ax = plt.subplots()
|
fig, ax = plt.subplots()
|
||||||
scatter = ax.scatter([], [], c=[], cmap="RdYlGn_r", vmin=0, vmax=2)
|
scatter = ax.scatter([], [], c=[], cmap="RdYlGn_r", vmin=1.3, vmax=1.6)
|
||||||
colorbar = fig.colorbar(scatter, ax=ax)
|
colorbar = fig.colorbar(scatter, ax=ax)
|
||||||
colorbar.set_label("Test MAE")
|
colorbar.set_label("Test MAE")
|
||||||
ax.set_xlabel(parameter_1["label"])
|
ax.set_xlabel(parameter_1["label"])
|
||||||
|
|||||||
Reference in New Issue
Block a user