Skip to content

Instantly share code, notes, and snippets.

@asit-pal
Created August 15, 2022 22:30
Show Gist options
  • Save asit-pal/4278e9752044c5f330246511eb08f963 to your computer and use it in GitHub Desktop.
Save asit-pal/4278e9752044c5f330246511eb08f963 to your computer and use it in GitHub Desktop.
plt.axhline(ana,lw=2,color='green',label='Analytical solution')
plt.plot(range(1000,100000,1000),mutual_information,label='With scikit-learn function')
plt.xlabel('No of samples')
plt.ylabel('Mutual information')
plt.legend()
plt.savefig('Mutual_information_convergence_test.png',dpi=300)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment