Feature extraction and PCA 4 – Predictions Don’t Grow on Trees, or Do They?

We have gathered 1,288 images of people’s faces, and each one has 1,850 features (pixels) that identify that person. Here’s the code we used – an example of one of our faces can be seen in Figure 11.22:plt.imshow(X[100].reshape((h, w)), cmap=plt.cm.gray) lfw_people.target_names[y[100]] ‘George W Bush’ Figure 11.22 – A face from our dataset: George W. Bush […]

Read More


          Terms of Use | About Whystephanie | Privacy Policy | Cookies | Accessibility Help | Contact whystephanie