Skip to content
/ ReNA Public

This is the implementation of the Recursive Nearest (Neighbor) Agglomeration

License

Notifications You must be signed in to change notification settings

ahoyosid/ReNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recursive nearest agglomeration (ReNA)

Nilearn contains the latest version of ReNA:

https://nilearn.github.io/modules/generated/nilearn.regions.Parcellations.html#nilearn.regions.Parcellations

XXX: This example is not currently working, please use the Nilearn implementation

ReNA is a fast clustering algorithm, mainly usef for the approximation of structured signals.

Dependencies

  • Python >= 2.6
  • scikit-learn >=0.15
  • nilearn >= 0.2.4
  • nibabel >= 1.1.0
  • numpy >= 1.7.1
  • scipy >= 0.15
  • matplotlib (examples)

Running the examples

Clustering images of faces

Compression of face images from the Olivetti Faces Dataset using 250 clusters.

python example_faces.py


Clustering brain images

Compression of a brain image (MRI) from the Haxby2001 dataset using 2000 clusters.

python examples_neuroimaging.py

About

This is the implementation of the Recursive Nearest (Neighbor) Agglomeration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published