dreimac-0.1
توضیحات
Dimension reduction with Eilenberg-MacClane coordinates
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dreimac-0.1 |
| نام | dreimac |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chris Tralie, Jose Perea, Luis Scoccola |
| ایمیل نویسنده | ctralie@alumni.princeton.edu |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dreimac/ |
| مجوز | Apache2 |
# DREiMac
## Dimension Reduction with Eilenberg-MacLane Coordinates
### Chris Tralie, Tom Mease, Jose Perea
DREiMac is a library for topological data coordinatization, visualization and dimensionality reduction.
It leverages [Eilenberg-MacLane spaces](https://en.wikipedia.org/wiki/Eilenberg%E2%80%93MacLane_space#Bijection_between_homotopy_classes_of_maps_and_cohomology), and turns persistent cohomology computations
into topology-preserving coordinates for data.
TO USE: interactively select persistent cohomlogy classes, parameters, and DREiMac will compute maps from the data to appropriate (low-dimensional skeleta of Eilenberg-MacLane) spaces consistent with the underlying data topology.
# Python version
Code can be found in dreimac/. If you're using conda and would like to create a virtual environment first, type
~~~~~ bash
conda create -n dreimac python=3.9
conda activate dreimac
~~~~~
Then, to install, type
~~~~~ bash
git clone https://github.com/ctralie/DREiMac.git
cd DREiMac
pip install -e .
~~~~~
Then, you can import dreimac from any python file or notebook. For example, if you type the following from the root of the repository
~~~~~ bash
cd notebooks
jupyter notebook
~~~~~
then you will be able to interactively explore the notebooks we have setup
# Javascript version
Code can be found in dreimacjs/
CircluarCoords.html and ripser.html are the entry points
## Emscripten Compile options
~~~~~ bash
emcc --bind -s ALLOW_MEMORY_GROWTH=1 -O3 ripser.cpp
~~~~~
## MIME Types
* MIME Types for Javascript files should be text/javascript
* MIME Types for wasm files should be application/wasm
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dreimac-0.1:
pip install dreimac-0.1.whl
نصب پکیج tar.gz dreimac-0.1:
pip install dreimac-0.1.tar.gz