h2oai / h2oai/datatable

spearmanr

Offen
#1,663 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
1.9k
Forks
164
Ø Merge
7 Std. 31 Min.
Gemergte PRs (30 T.)
1

Beschreibung

I'd like to compute spearmanr in datatable for a given data frame, giving its self spearmanr (as opposed to one dataframe on another). I think it might already be possible. Here's codified way it could be done, using some other package, but that could be inherited by datatable:

https://deepgraph.readthedocs.io/en/latest/tutorials/pairwise_correlations.html

And some notes about parallel performance and avoiding the double argsort at:

https://stackoverflow.com/questions/52371329/fast-spearman-correlation-between-two-pandas-dataframes

The actual calculation is very simple, but wonder if you have thoughts.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reviewing the linked DeepGraph pairwise-correlations tutorial and the Stack Overflow notes on parallel performance and avoiding duplicate argsorts. The requested outcome is a self-Spearman correlation computation for a datatable data frame, with the API and performance approach established.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp, python
Bereich
data
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.