TransWikia.com

UserWarning: No contour levels were found within the data range

Data Science Asked on December 10, 2020

I am running the exact example give in this SVM example of Scikit learn without any modification.

I get the following warning.

<ipython-input-49-ba88740f796f>:14: UserWarning: No contour levels were found within the data range.
  ax.contour(XX, YY, Z, colors='k', levels=[-1, 0, 1], alpha=0.5,

Could anyone suggest how to resolve this? TIA

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP