for ind in range(num_params):
color = param_colors[ind]
artists.append(plt.Line2D((0,1),(0,0), color=color,marker="o",linestyle=""))
plt.legend(artists,[str(x) for x in parameter_subset], loc=legend_loc)
def create_differential_evolution_learner_visualizations(filename,
file_type=None,
After Change
for ind in range(num_params):
color = param_colors[ind]
artists.append(plt.Line2D((0,1),(0,0), color=color,marker="o",linestyle=""))
legend_labels = mlu._generate_legend_labels(
parameter_subset,
self.param_names,
)
plt.legend(artists, legend_labels ,loc=legend_loc)
def create_differential_evolution_learner_visualizations(filename,
file_type=None,