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

Error in Capstone Project Code #30

Open akshitagupta20 opened 2 years ago

akshitagupta20 commented 2 years ago

There is an error in the Capstone Project Code ('Section #4 - Capstone/simpsons.ipynb').

x_train, x_val, y_train, y_val = caer.train_test_split(featureSet, labels, val_ratio=.2)

This should be x_train, x_val, y_train, y_val = caer.train_val_split(featureSet, labels, val_ratio=.2)