Skip to content

graceavery/Eigenstyle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eigenstyle

Principal Component Analysis and Fashion

###To Use

  • Find a bunch of images (I used images of dresses from Amazon).
  • Put the ones that match your style in the "like" folder, and the others in the "dislike" folder
  • In terminal, run
python visuals.py

###Results

You'll see the principal components in the "eigendresses" folder (examples shown are from my dataset; yours will be different).

EigendressEigendress!

In the "history" folder, you'll see a known dress being rebuilt from its components.

Dress from one componentDress from four componentsDress from ten componentsDress from fifteen componentsDress from thirty componentsDress from seventy components

In the "recreatedDresses" folder, you can see just the end product of this process for different dresses.

OriginalRecreated

In the "notableDresses" folder, you'll see the prettiest dresses, the ugliest dresses, the most extreme dresses (those that had high scores on many components), etc.

Prettiest 1Ugliest 2

In the "createdDresses" folder, you'll find completely new dresses that were made from choosing random values for the principal components.

New DressNew Dress

More Info

Blog post

Joel Grus's blog post

About

Principal Component Analysis and Fashion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%