# we create 20 pointsnp.random.seed(0)X=np.r_[np.random.randn(10,2)+[1,1],np.random.randn(10,2)]y=[1]*10+[-1]*10sample_weight=20*np.abs(np.random.randn(20))# and assign a bigger weight to the last 10 samplessample_weight[:10]*=2data=[]