Seeing is important. `datatour` - allows you to see your data in it's native dimension. Currently implemented as a `plotly` scatter plot projected from it's original dimension in the 2D on the screen with timeline animation inspired by GrandTour and common sense.
Project description
DataTour
datatour
DataTour
Seeing is important. datatour
- allows you to see your data in its native dimension.
Currently implemented as a plotly
scatter plot projected from its original dimension in the 2D on the screen with timeline animation inspired by GrandTour and common sense.
Installation
Available via pip:
pip install datatour
Usage
If you have array of feature vectors f
: shape(shape)==(n_smpl, n_dim)
, you can create data tour object, and display it:
from datatour import DataTour as dt
ndv = dt(f)
ndv.display()
By default, selects randomly n_subsample=500
samples for efficiency reason.
To visualize vector field vf
of the same dimension (in the same feature space):
ndv = dt(f, vf)
ndv.display_quiver(color='z_scaled')
Also check examples:
dt().display()
ndv = dt(example='sphere', n_subsample=0)
ndv.display(color='z_scaled')
Installation
Available via pip:
pip install datatour
Usage
If you have array of feature vectors f
: shape(shape)==(n_smpl, n_dim)
, you can create data tour object, and display it:
from datatour import DataTour as dt
ndv = dt(f)
ndv.display()
By default, selects randomly n_subsample=500
samples for efficiency reason.
To visualize vector field vf
of the same dimension (in the same feature space):
ndv = dt(f, vf)
ndv.display_quiver(color='z_scaled')
Also check examples:
dt().display()
ndv = dt(example='sphere', n_subsample=0)
ndv.display(color='z_scaled')
Licence
Distributed under BSD 3 licence
=======
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datatour-0.2.8.tar.gz
.
File metadata
- Download URL: datatour-0.2.8.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d144ebde85100bb8771c076ddce7eb36e9d5f98d9f31294ef73ab85ed5dc0b6 |
|
MD5 | 898b2512edfe2510eb4673a5b337ab3f |
|
BLAKE2b-256 | 22106062b4939d2b84496d4e8e4c42de771ec33143618d828d3a2dff8a438090 |
File details
Details for the file datatour-0.2.8-py3-none-any.whl
.
File metadata
- Download URL: datatour-0.2.8-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0470516e983aea39ec285f07ba9190ce020313d4bed94b76512e0b2e7a4138af |
|
MD5 | b8b3aa5389b21a3c1f24a6315bc601e8 |
|
BLAKE2b-256 | 2446aef86039d8a70e8ab4a072e233952742166961f20c695ff5deb00ed679c3 |