mppy
The mppy is a multidimensional projection library that generates 2D representations of high dimensional data sets.
This code is part of my undergraduate final paper.
Student: Thiago Henrique Ferreira
Advisor: Tácito Trindade de Araújo Tiburtino Neves
Installation
Dependencies
The installation of mppy requires:
- Python (>=3.5)
- numpy (>=1.11.0)
- scipy (>=0.17.0)
- matplotlib (>=1.5.1)
- scikit-learn (>=0.17)
This project can be installed using pip
$ pip install mppy
Example
Here is an example of using the Force Scheme technique in the Iris dataset:
>>> import numpy as np, mppy
>>> data = np.loadtxt("datasets/iris.data", delimiter=",")
>>> clusters = data[:, data.shape[1]-1]
>>> matrix_2d = mppy.force_2d(data[:,0:3])
>>> mppy.simple_scatter_plot(matrix_2d,clusters)
Source code
You can check the latest sources with the command:
git clone https://github.com/thiagohenriquef/mppy.git
Techniques
- Force Scheme
- LAMP
- LSP
- PLMP
- Pekalska
- Sammon's Mapping
Contact
- "Thiago H. Ferreira" thiagohferreira10@gmail.com