Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sklearn.linear_model import LogisticRegression
- import pandas as pd
- x = pd.DataFrame({'A':[1,3,8,6,1],'B':[2,6,9,3,2]})
- y = pd.DataFrame({'C':[8,6,3,6,1]})
- LogisticRegression( ).fit(x, y)
- ValueError: Unknown label type: array([8,6,3,6,1]) #valores do y
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement