Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [2]:
- X_train = np.array([[1,1], [2,2.5], [3,1.2], [5.5,6.3], [6,9], [7,6]]) # Define numpy array of two-dim points
- Y_train = ['red', 'red', 'red', 'blue', 'blue', 'blue'] # Define a Python built-in list (i.e., array) of strings
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement