Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lmapper

This package implements the Mapper algorithm.

Example:

>>> import lmapper as lm
>>> mapper = lm.Mapper(data=x,
>>>                    filter='Projection',
>>>                    cluster='Linkage',
>>>                    cover='BalancedCover')
>>> mapper.fit()
>>> mapper.plot()

How to install on Mac OS High Sierra 10.13.6

The filterutils package uses OpenMP: to install it, run

$ brew install libomp

This should be enough. In case of problems, refer to the installation procedure in https://iscinumpy.gitlab.io/post/omp-on-high-sierra/

Once installed openmp as above, run the command

$ cd <path_to_this_directory> $ pip install .

this command will read the setup.py file in this directory and install both lmapper, and filterutils

Check your installation

Run the following tests:

$ python <path-to-this-folder>/lmapper/test/test_filterutils.py $ python <path-to-this-folder>/lmapper/test/test1.py

If no exeption is raised, the installation should be successful

About

Python/C++ implementation of the Mapper algorithm

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages