jasmcaus / opencv-course

Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
https://youtu.be/oXlwWbU8l2o
MIT License
1.11k stars 955 forks source link

Update simpsons.ipynb #6

Closed procodemechanics closed 3 years ago

procodemechanics commented 3 years ago
  1. Update dataset split function to work with sklearn.model_selection.train_test_split() instead of now deprecated caer.train_val_split()
  2. Include the conversion of X_train and y_train to NumPy array as per pull request #5.

Kindly accept this pull request. Similar change might be required in simpsons.py

jasmcaus commented 3 years ago

That's great @procodemechanics! Could you add these changes to simpsons.py as well? I'll then merge the collective changes.

procodemechanics commented 3 years ago

@jasmcaus There you go! Made changes to simpsons.py as well

jasmcaus commented 3 years ago

That's great! Will merge the changes. Thanks for this patch :)