How to create and plotXOR data for a specific range in Python?

后端 未结 0 1274
悲哀的现实
悲哀的现实 2021-01-01 19:54

I want to create such data like in the image below

Desired image

To do this I used this code;

centers = [[-2,2],[-2,-2],[2,-2],[2,2]]
X, y = mak         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题