Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.18 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.18 KB

Extracting Minerals with Unsupervised Learning

Two friends, Manon Bickert and Marine Paquet have exhibited, in the Insitut de Physique du Globe de Paris, a collection of pictures of minerals through the lens of a microscope. I have seen that machine learning algorithms can be applied to a lot of different images to create clusters and classify the pixels.

I have found two way to separate them so far:

  • the k-means algorithm
  • the agglomerative-clustering algorithm

These two approaches come from the scikit-learn package, so make sure you have it installed before starting.

I've been using the following example but these codes should work with any kind of pictures: mineral_picture1

The k-means will cluster minerals of similar color wherever they are in the figure (here for n_cluster = 6): k-means

The agglomerative-clustering will cluster minerals of similar color only if they are close to each other (here for n_cluster = 10): agglo