반응형
Notice
Recent Posts
Recent Comments
Link
관리 메뉴

bro's coding

머신러닝.make_circles 사용하기 본문

[AI]/python.sklearn

머신러닝.make_circles 사용하기

givemebro 2020. 4. 16. 11:29
반응형
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

 

 

from sklearn.datasets import make_circles
X,y=make_circles(factor=0.5,noise=0.1) # factor = R2/R1, noise= std)
plt.scatter(X[:,0],X[:,1],c=y)
plt.colorbar()
                 
    

 

반응형
Comments