Support for alternative axis projection metrics in plots
See original GitHub issueConsider that emb
is an embedding set and we run emb.plot(x_axis='man', y_axis='woman')
. This would compute the normalized scalar projection (i.e. operator >
) of every embedding in emb
onto embeddings for 'man'
and 'woman'
so that they could be plotted in a 2D coordinate system.
Now the question is: why we should only stick to normalized scalar projection? For example, one might want to use another measure such as cosine similarity or euclidean distance to plot the embeddings.
- First of all, does this make sense? (to me, yes!)
- Secondly, is there currently an easy and built-in way to achieve this? (AFAIK, no!)
- Thirdly, is adding an argument to
plot
andplot_interactive
methods to support this a good way? e.g.emb.plot(x_axis='man', y_axis='woman', axis_metric='cosine')
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Essential Chart Types for Data Visualization | Tutorial by Chartio
The axis variables can be numeric or categorical; the grid is created by dividing each variable into ranges or levels like a histogram...
Read more >Add Axes for Multiple Measures in Views - Tableau Help
Create individual axes for each measure. Blend two measures to share an axis. Add dual axes where there are two independent axes layered...
Read more >The Art of Effective Visualization of Multi-dimensional Data
This is basically an alternative approach to visualizing the same plot which we plotted previously for five dimensions. While the additional ...
Read more >How to Select a Model For Your Time Series Prediction Task ...
Working with time series data? Here's a guide for you. In this article, you will learn how to compare and select time series...
Read more >Chapter 4. Visualization with Matplotlib - O'Reilly
Matplotlib was originally written as a Python alternative for MATLAB users, ... For all Matplotlib plots, we start by creating a figure and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@koaning Right! That’s why I mentioned “partially” in #192 😉
I’m opening this issue because technically the issue should also be added to the
plot_interactive
methods.