Hypertools

A Python toolbox for gaining geometric insights into high-dimensional data
Alternatives To Hypertools
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
D3105,538
a day ago3iscJavaScript
Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
Echarts55,3666,5544,0832 days ago112September 13, 20222,293apache-2.0TypeScript
Apache ECharts is a powerful, interactive charting and data visualization library for browser
Superset52,284212 hours ago3April 29, 20221,338apache-2.0TypeScript
Apache Superset is a Data Visualization and Data Exploration Platform
Metabase32,611
10 hours ago1June 08, 20223,023otherClojure
The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum:
Bokeh17,6272,9366172 days ago136July 05, 2022738bsd-3-clausePython
Interactive Data Visualization in the browser, from Python
Visx17,2112026521 days ago47September 09, 2020127mitTypeScript
🐯 visx | visualization components
Plotly.js15,713718197a day ago213August 10, 20221,454mitJavaScript
Open-source JavaScript charting library behind Plotly and Dash
Apexcharts.js12,5743772606 days ago188August 22, 2022278mitJavaScript
📊 Interactive JavaScript Charts built on SVG
Deck.gl10,9212801313 days ago553September 16, 2022217mitJavaScript
WebGL2 powered visualization framework
Seaborn10,7516,3933,0178 days ago30June 27, 2022128bsd-3-clausePython
Statistical data visualization in Python
Alternatives To Hypertools
Select To Compare


Alternative Project Comparisons
Readme

Hypertools logo

"To deal with hyper-planes in a 14 dimensional space, visualize a 3D space and say 'fourteen' very loudly. Everyone does it." - Geoff Hinton

Hypertools example

Overview

HyperTools is designed to facilitate dimensionality reduction-based visual explorations of high-dimensional data. The basic pipeline is to feed in a high-dimensional dataset (or a series of high-dimensional datasets) and, in a single function call, reduce the dimensionality of the dataset(s) and create a plot. The package is built atop many familiar friends, including matplotlib, scikit-learn and seaborn. Our package was recently featured on Kaggle's No Free Hunch blog. For a general overview, you may find this talk useful (given as part of the MIND Summer School at Dartmouth).

Try it!

Click the badge to launch a binder instance with example uses:

Binder

or

Check the repo of Jupyter notebooks from the HyperTools paper.

Installation

To install the latest stable version run:

pip install hypertools

To install the latest unstable version directly from GitHub, run:

pip install -U git+https://github.com/ContextLab/hypertools.git

Or alternatively, clone the repository to your local machine:

git clone https://github.com/ContextLab/hypertools.git

Then, navigate to the folder and type:

pip install -e .

(These instructions assume that you have pip installed on your system)

NOTE: If you have been using the development version of 0.5.0, please clear your data cache (/Users/yourusername/hypertools_data).

Requirements

  • python>=3.6
  • PPCA>=0.0.2
  • scikit-learn>=0.24.0
  • pandas>=0.18.0
  • seaborn>=0.8.1
  • matplotlib>=1.5.1
  • scipy>=1.0.0
  • numpy>=1.10.4
  • umap-learn>=0.4.6
  • requests
  • pytest (for development)
  • ffmpeg (for saving animations)

Documentation

Check out our readthedocs page for further documentation, complete API details, and additional examples.

Citing

We wrote a short JMLR paper about HyperTools, which you can read here, or you can check out a (longer) preprint here. We also have a repository with example notebooks from the paper here.

Please cite as:

Heusser AC, Ziman K, Owen LLW, Manning JR (2018) HyperTools: A Python toolbox for gaining geometric insights into high-dimensional data. Journal of Machine Learning Research, 18(152): 1--6.

Here is a bibtex formatted reference:

@ARTICLE {,
    author  = {Andrew C. Heusser and Kirsten Ziman and Lucy L. W. Owen and Jeremy R. Manning},    
    title   = {HyperTools: a Python Toolbox for Gaining Geometric Insights into High-Dimensional Data},    
    journal = {Journal of Machine Learning Research},
    year    = {2018},
    volume  = {18},	
    number  = {152},	
    pages   = {1-6},	
    url     = {http://jmlr.org/papers/v18/17-434.html}	
}

Contributing

Join the chat at https://gitter.im/hypertools/Lobby

If you'd like to contribute, please first read our Code of Conduct.

For specific information on how to contribute to the project, please see our Contributing page.

Testing

Build Status

To test HyperTools, install pytest (pip install pytest) and run pytest in the HyperTools folder

Examples

See here for more examples.

Plot

import hypertools as hyp
hyp.plot(list_of_arrays, '.', group=list_of_labels)

Plot example

Align

import hypertools as hyp
hyp.plot(list_of_arrays, align='hyper')

BEFORE

Align before example

AFTER

Align after example

Cluster

import hypertools as hyp
hyp.plot(array, '.', n_clusters=10)

Cluster Example

Describe

import hypertools as hyp
hyp.tools.describe(list_of_arrays, reduce='PCA', max_dims=14)

Describe Example

Popular Data Visualization Projects
Popular Visualization Projects
Popular User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Visualization
Data Visualization
Time Series
Topic Modeling