Classifies images as either containing a cat or not using logistic regression. Allows users to upload their own files to test against the algorithm.
The catvsnoncat_full_analysis contains the full analysis of the algorithm. It uses different values of learning rate and compares the reduction in cost function that results from each of them by plotting a graph.
The code(log_reg).py file contains the code to classify images as cat or non-cat. Here specify the name of your image in line 104 of the code and path to the image in line 105.
sartkap/CatvsNoncat-predictor
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|