question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

make_sparse_coded_signal returns data transposed

See original GitHub issue

make_sparse_coded_signal returns the data transposed by default, which is confusing and error prone. We could add a data_transposed argument defaulting to True temporarily, with a warning that it’s gonna be changed to False in the next release cycle.

Also, the documentation for DictionaryLearning uses X = make_sparse_coded_signal(...) even though it’s X.T really.

Thanks @marcocuturi for spotting.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
g4brielvscommented, Oct 23, 2021

Thank you so much for the opportunity of working on this issue! 🎉

I opened a #21425 with the temporary suggested API changes for 1.1. Should I open a new issue to change the new data_transposed argument default to False in the future (maybe 1.3) or we keep this issue open?

I’d be happy to work on this again. Thank you so much!

2reactions
amuellercommented, Oct 23, 2021

When saw @mlondel commenting I read the date as “April, 2014” lol.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TRANSPOSE function - Microsoft Support
The TRANSPOSE function returns a vertical range of cells as a horizontal range, or vice versa. The TRANSPOSE function must be entered as...
Read more >
How to Quickly Transpose Data in Excel (Step-by-Step Guide)
In this tutorial, you'll learn the techniques to transpose data in Excel. You can use the Paste Special option, Transpose Function or a...
Read more >
How (and why) to transpose a dataset - Datawrapper Academy
Transposing a dataset means swapping its rows and columns so that the rows become columns and the columns become rows Let's say we...
Read more >
3 Ways to Transpose Excel Data - Xelplus - Leila Gharani
Method #1 – Using Copy/Paste (static)​​ Step 1: Select the data (A3:B14) and press CTRL-C or the Copy button. Step 2: Select the...
Read more >
Excel TRANSPOSE function to change columns to rows
The tutorial explains the syntax of the TRANSPOSE function and shows how to use it correctly to transpose data in Excel.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found