项目作者: prateeksawhney97
项目描述 :
Logistic Regression Classifier to Recognize Cats.
高级语言: Python
项目地址: git://github.com/prateeksawhney97/cat-vs-noncat-classification-logistic.git
cat-vs-noncat-classification-logistic-regression
The model comprises of :
- A training set of m_train images labeled as cat (y=1) or non-cat (y=0)
- A test set of m_test images labeled as cat or non-cat
- Each image is of shape (num_px, num_px, 3) where 3 is for the 3 channels (RGB). Thus, each image is square (height = num_px) and (width = num_px).
- num_px = 64, m_train = 209 (Number of training examples) and m_test = 50 (Number of test examples).
Result :
Training accuracy is close to 100% and test accuracy is 74%.