Generation

generate functionTue, 14 Mar 2023

Change the code of the graph so that only whole numbers are displayed on the x scale plt.plot(ks, k_inertia) plt.plot(ks, k_inertia ,'ro') plt.xlabel('Количество кластеров') plt.ylabel('Инерция')

plt.xticks(ks)

Want to kickstart your project?Use the new AI Studio to create your code