features (1 sim , 0 não)
pelo longo?
perna longa?
faz au au ?
porco1 = [0,1,0] porco2 = [0,1,1] porco3 = [1,1,0]
cachorro1 = [0,1,1] cachorro2 = [1,0,1] cachorro3 = [1,1,1]
dados = [porco1,porco2,porco3,cachorro1,cachorro2,cachorro3] classes = [1,1,1,0,0,0] from sklearn.svm import Linear model = LineaR model.fit(dados,classes)
ImportError Traceback (most recent call last) in () 13 dados = [porco1,porco2,porco3,cachorro1,cachorro2,cachorro3] 14 classes = [1,1,1,0,0,0] ---> 15 from sklearn.svm import Linear 16 model = LineaR 17 model.fit(dados,classes)
ImportError: cannot import name 'Linear'
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the "Open Examples" button below.